AI Skill MartBrowse skillsPromptsProgramsLearnWhat is a Skill?
← Back to list

ModLens — Vision Bridge

Gives text-only models plug-in vision by routing any image path or placeholder through the modlens CLI into structured JSON evidence.

UtilitiesIntermediate★ 5,074⑂ 156AI score 9/10Last updated: Nov 24, 2026

What it does

  • Fires automatically whenever an image path/URL (.png, .jpg, .webp, .gif, .heic…) or a placeholder like [Image #1] / [Unsupported Image] shows up in the conversation.
  • Forbids home-grown OCR (no PIL, no tesseract) and instead calls the modlens CLI to return full text transcription, layout regions, semantics and visual clues as JSON.
  • Runs modlens guard on the first read of a session so models that already have native vision don't waste a call.
  • Ships a launcher plus an explicit runtime fallback chain (PATH modlens → npx → bunx) and clear retry rules for schema mismatches and timeouts.
  • Also handles install/configuration questions for providers: Gemini API key, OpenAI-compatible endpoints, Claude API, Claude Code CLI.

Who it's for

  • Anyone driving a text-only model or a CLI harness that can't render images.
  • Developers who need exact log lines, error text or tables pulled out of screenshots.
  • Operations and back-office users digitising receipts, scanned docs or whiteboard photos.

Examples

  1. "Check the error in ~/Desktop/error.png" → the skill runs modlens -i ~/Desktop/error.png and quotes the stack trace from result.ocr.full_text.
  2. A pasted screenshot that only renders as [Image #1] → it follows references/find-image.md to resolve the real path, then analyses it.
  3. "How do I point modlens at my Gemini key?" → it runs modlens doctor and config show, then applies the recipe from references/configure.md.

· · · Install guide · · ·

Try it now, no install

Paste this into Claude to use the skill without installing anything.

Read the instructions in this file and follow them to help me:
https://raw.githubusercontent.com/liustack/modlens/HEAD/skills/modlens/SKILL.md

What I want: (describe your task here)

If Claude can't open the link, open it yourself and paste the contents instead.

↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.

Install in the Claude app (no terminal)
  1. Download the ZIP with the button below.
  2. In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
  3. Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
↓ Download ZIP
Install in Claude Code

Let Claude do it — paste this into Claude Code

Install the skill I found on AI Skill Mart.
Copy the skills/modlens folder from the GitHub repo liustack/modlens into my ~/.claude/skills/modlens/.
When it's done, tell me in one line what this skill can do.

Install with a command instead

git clone https://github.com/liustack/modlens.git /tmp/modlens && mkdir -p ~/.claude/skills && cp -r /tmp/modlens/skills/modlens ~/.claude/skills/modlens

⚠ This is a third-party skill. Check the source repository before installing.

  1. Open a terminal and confirm you have Node.js 22.19+ (node -v, https://nodejs.org) or Bun (https://bun.sh).
  2. Clone the repository: git clone https://github.com/liustack/modlens.git /tmp/modlens
  3. Create the skills folder and copy it in: mkdir -p ~/.claude/skills && cp -r /tmp/modlens/skills/modlens ~/.claude/skills/modlens
  4. Restart Claude Code and verify modlens appears in your skill list.
  5. Run npx --yes --package @liustack/modlens@3.27.6 modlens doctor to see which providers are available on this machine.
  6. If no key is configured, run modlens config show and follow the prompts to add a Gemini API key, an OpenAI-compatible endpoint, or Claude credentials.
  7. Test it by sending an image path, e.g. "read the text in screenshot.png".