Vision Bridge logo

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.

Overview

Publisherdujonwalker
Repositoryproject-nova
Skill namevision-bridge
Stars
271
Forks
33
Bundled files
2
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 2 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by dujonwalker on GitHub. Read the source before you install it.

Installation

Install the Vision Bridge AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/dujonwalker/project-nova/tree/main/mcp-skills/vision-bridge
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

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
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Vision Bridge in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Vision Bridge on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Vision Bridge is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

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

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Vision Bridge AI skill do?

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...

Why use Vision Bridge on TypingMind?

Because you install it once and use it with any model. Vision Bridge is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Vision Bridge in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/dujonwalker/project-nova/tree/main/mcp-skills/vision-bridge. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Vision Bridge?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Vision Bridge?

As many as you like. As long as a model supports skills, you can use Vision Bridge with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Vision Bridge AI skill free?

It is published on GitHub by dujonwalker. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇