Logo: Vision Bridge

Vision Bridge

Communautéit
dujonwalker
vision-bridge

Liest a versteet Biller iwwer de vision-bridge-MCP-Server (Tools analyze_image an ocr_image, mat Gemini als Basis), wann de Modell vum Agent selwer keng Biller gesi kann. Benotzt dëse Skill ëmmer, wann Dir e Bilddatei (.png .jpg .jpeg .webp .gif .heic .heif) ernimmt oder bäifüügt, zum Beispill e Screenshot, eng Fehlermeldung, eng Terminalopnam, e UI-Mock-up, en Diagramm, eng Foto vun engem Whiteboard, eng Grafik oder eng gescannt Notiz, oder Saache seet wéi „kuckt dëse Screenshot“, „wat steet an der Fehlermeldung?“, „liest den Text op dësem Bild“ oder „baut dat nom Mock-up no“ — och wann Dir OCR oder Bildversteesdemech net ernimmt. Net fir Biller ze generéieren oder z'änneren.

Iwwersiicht

Editeurdujonwalker
Repositoryproject-nova
Skill-Nummvision-bridge
Stären
271
Forks
33
Matgeliwwert Dateien
2
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 2 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    dujonwalker huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Vision Bridge an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/dujonwalker/project-nova/tree/main/mcp-skills/vision-bridge
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/dujonwalker/project-nova.git /tmp/project-nova
mkdir -p .claude/skills
cp -r /tmp/project-nova/mcp-skills/vision-bridge .claude/skills/vision-bridge
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Vision Bridge an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Vision Bridge automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Vision Bridge net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

Vision Bridge

A text-only model cannot see images. The vision-bridge MCP server fixes that by sending a local image to Gemini and returning text. What the tools return is your only view of the image, and it is a description written by a different model, so treat it as good but secondhand evidence.

Step 0: decide whether you need it

  • If your own model can already see the image (it is in your context), just look at it. Do not make a round trip for nothing.
  • If you only have a file path, or you cannot see the image, use the tools below.
  • The tools may be exposed with the server name as a prefix (for example vision-bridge_analyze_image), depending on the client.
  • If neither tool is available, the server is not connected. Read references/setup.md, tell the user what is missing, and stop. Do not guess at image contents.

Step 1: pick the tool

NeedTool
Exact text: error messages, stack traces, terminal output, code, config, serial numbersocr_image (takes only image_path; returns just the text, no commentary)
Anything else: what a UI looks like, diagram structure, chart data, what is wrong in a screenshotanalyze_image (takes image_path and an optional prompt)

When an image has both verbatim text that matters and visual structure that matters (a screenshot of a failing page, say), call both. Use ocr_image for the precise strings and analyze_image with a targeted prompt for layout and context.

Step 2: call it well

Paths. Prefer absolute paths. Relative paths resolve against the directory the MCP server was started in, which is usually where the agent was launched but not always. If you get FILE_NOT_FOUND, the error message shows the absolute path it tried, so use that to see what went wrong and retry with an absolute path.

Local files only. The tools cannot take URLs, clipboard contents, base64, SVG, BMP, TIFF, or PDFs. Format is detected from the file extension only. Convert first, then call:

  • URL: download it to a temp file (curl -L -o /tmp/img.png <url>)
  • Unsupported format: convert to PNG (ImageMagick magick in.bmp out.png, macOS sips -s format png in.bmp --out out.png, or Pillow)
  • PDF page: render it (pdftoppm -png -r 150 -f 1 -l 1 in.pdf /tmp/page)

One image per call. For several images, call once per image, then combine the results yourself.

Size. Files over 20MB are rejected by default. Downscale the image rather than asking the user to raise the limit.

Write a specific prompt for analyze_image. The built-in default is a generic "describe this for a developer" prompt. It works, but a prompt tied to the user's actual goal gets you the detail you need in one call instead of two. Say what you need to know and what shape you want it in. Each call is a network round trip against a rate-limited free quota, so ask for everything you need at once.

  • Debugging: "Transcribe the error message and stack trace exactly. Then describe what the app was doing and which UI state is visible."
  • Mockup to code: "List every UI element top to bottom with its label, position in the layout, and any visible state. Estimate colors as hex values."
  • Diagram: "List every node and every connection as 'A -> B (label)'. Note anything that looks like a decision point."

More recipes by image type are in references/prompt-recipes.md. Read it when the image is a chart, a table, a mockup, or a photo of handwriting.

Step 3: treat the result as evidence, not ground truth

  • Verify what you can. If the output contains an error string, grep the codebase for it. If it contains code, run or lint it. Vision models confuse l/1/I and O/0 and sometimes drop a line.
  • Do not state measurements as fact. Colors, pixel sizes, and spacing are estimates. Say "approximately" or ask the user for the real values from the design file.
  • Ask a follow-up when something critical is unclear. If the whole task hinges on one number, path, or label, run a second narrow analyze_image or ocr_image call on it instead of building on a guess.
  • Be honest about gaps. If the description seems incomplete or contradicts itself, say so. Do not fill the gaps with plausible details.
  • Say where the information came from. Note in your answer that you read the image through the vision tool, so the user knows to double-check anything surprising.

Privacy

The image is uploaded to Google's Gemini API. If the user says the image is sensitive (credentials, customer data, private documents) or the filename suggests it, confirm they are comfortable with that before calling. If secrets show up in the output (API keys, tokens, passwords), do not copy them into files, commits, or logs, and flag them to the user.

When a call fails

Failures come back as isError: true with a message shaped like [CODE] explanation. Fix the cause and retry at most once. Do not loop.

CodeMeaningWhat to do
MISSING_API_KEYGEMINI_API_KEY is not set for the serverTell the user to set it (see references/setup.md). Never ask them to paste the key into chat. This check runs before path validation, so it can mask other errors.
FILE_NOT_FOUNDPath does not existCheck the absolute path shown in the message; retry with the correct absolute path
NOT_A_FILEPath is a directoryLocate the actual image file inside it
UNSUPPORTED_TYPEExtension not in the supported listConvert to PNG, then retry
FILE_TOO_LARGEOver the size limitDownscale or compress, then retry
READ_ERRORUnreadable or empty fileConfirm the file is not empty or corrupted and that permissions allow reading
API_ERRORGemini rejected the request (bad key, quota, retired model, network)Read the message; see references/setup.md for key, quota, and GEMINI_MODEL issues
EMPTY_RESPONSEGemini returned nothing, often a safety filterRetry with a different prompt or a cropped image; if it persists, tell the user

Matgeliwwert Dateien

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Vision Bridge?

Liest a versteet Biller iwwer de vision-bridge-MCP-Server (Tools analyze_image an ocr_image, mat Gemini als Basis), wann de Modell vum Agent selwer keng Biller gesi kann. Benotzt dëse Skill ëmmer, wann Dir e Bilddatei (.png .jpg .jpeg .webp .gif .heic .heif) ernimmt oder bäifüügt, zum Beispill e Screenshot, eng Fehlermeldung, eng Terminalopnam, e UI-Mock-up, en Diagramm, eng Foto vun engem Whiteboard, eng Grafik oder eng gescannt Notiz, oder Saache seet wéi „kuckt dëse Screenshot“, „wat steet an der Fehlermeldung?“, „liest den Text op dësem Bild“ oder „baut dat nom Mock-up no“ — och wann Di...

Firwat Vision Bridge op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Vision Bridge besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Vision Bridge an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/dujonwalker/project-nova/tree/main/mcp-skills/vision-bridge an. TypingMind liest d'Datei SKILL.md, bëndelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Vision Bridge benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Vision Bridge benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Vision Bridge domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Vision Bridge gratis?

dujonwalker huet de Skill op GitHub publizéiert. Kuckt am Repository no de Lizenzbedéngungen. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇