Logo van Vision Bridge

Vision Bridge

Community
dujonwalker
vision-bridge

Read and understand images through the vision-bridge MCP server (analyze_image and ocr_image tools, backed by Gemini) when the agent's own model cannot see images. Use this skill whenever the user mentions or attaches an image file (.png .jpg .jpeg .webp .gif .heic .heif) such as a screenshot, error dialog, terminal capture, UI mockup, diagram, whiteboard photo, chart, or scanned note, or says things like "look at this screenshot", "what does the error say", "read the text in this image", or "build this from the mockup", even if they never mention OCR or vision. Not for generating or editing images.

Overzicht

Uitgeverdujonwalker
Repositoryproject-nova
Skillnaamvision-bridge
Sterren
271
Forks
33
Meegeleverde bestanden
2
Links
  • Instructies in Markdown

    Het model laadt het bestand SKILL.md alleen als dat nodig is. Dat kost dus alleen tokens als een verzoek daadwerkelijk bij de skill past.

  • Werkt met elk LLM

    AI-skills bestaan uit instructies in gewone Markdown, niet uit aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • Meegeleverde bestanden: 2

    Scripts, sjablonen en referentiemateriaal die het model tijdens het werken kan lezen. De bestanden kunnen alleen worden gelezen en worden nooit uitgevoerd.

  • Open source

    Gepubliceerd door dujonwalker op GitHub. Bekijk de bronbestanden voordat je de skill installeert.

Installatie

Installeer de AI-skill Vision Bridge in TypingMind om deze met elk LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map. De app leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/dujonwalker/project-nova/tree/main/mcp-skills/vision-bridge
  4. Schakel de skill in voor elke chat waarin je de skill wilt kunnen gebruiken.
Plug-ins → Skills → Skill toevoegen → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die 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 na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Vision Bridge in voor een chat naar keuze in TypingMind en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek bij de skill past, laadt het model zelf de volledige instructies. Je hoeft de skill nooit handmatig aan te roepen. Pas als het model de skill daadwerkelijk gebruikt, kost dat tokens.

Het model laadt Vision Bridge automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Vision Bridge niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

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

Meegeleverde bestanden

Zolang de skill geladen is, leest het model deze bestanden als dat nodig is. Het model kan ze alleen lezen; ze worden nooit uitgevoerd.

Veelgestelde vragen

Wat doet de AI-skill Vision Bridge?

Read and understand images through the vision-bridge MCP server (analyze_image and ocr_image tools, backed by Gemini) when the agent's own model cannot see images. Use this skill whenever the user mentions or attaches an image file (.png .jpg .jpeg .webp .gif .heic .heif) such as a screenshot, error dialog, terminal capture, UI mockup, diagram, whiteboard photo, chart, or scanned note, or says things like "look at this screenshot", "what does the error say", "read the text in this image", or "build this from the mockup", even if they never mention OCR or vision. Not for generating or editin...

Waarom Vision Bridge gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Vision Bridge bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model. Ook als je midden in een chat van model wisselt, blijft de skill werken. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek af te sluiten. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Vision Bridge in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/dujonwalker/project-nova/tree/main/mcp-skills/vision-bridge. TypingMind leest het bestand SKILL.md, bundelt de bijbehorende bestanden en installeert het geheel als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Vision Bridge gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Vision Bridge gebruiken?

Zoveel als je wilt. Je kunt Vision Bridge gebruiken met elk model dat skills ondersteunt, zoals GPT, Claude, Gemini, Grok, DeepSeek, Mistral of Llama. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Vision Bridge gratis?

Deze skill is door dujonwalker op GitHub gepubliceerd. Bekijk de repository voor de licentievoorwaarden. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. De skill volgt het open Agent Skills-formaat: het bestand SKILL.md bevat de naam en beschrijving van de skill. Daarnaast kan de skill scripts, sjablonen of referentiebestanden bevatten die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Bekijk alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇