Loading...
Loading...
Plug-in vision for text-only models. Use whenever the user shares an image (local path, screenshot, photo, chart, document scan, or image URL) and the active model cannot see images or has no vision tool. Runs the modlens CLI to convert the image into structured JSON evidence: OCR text, layout, semantics, visual clues. Also use when the user asks how to install, configure, or switch modlens providers (Gemini API key, OpenAI-compatible endpoints, Claude API or Claude Code CLI).
npx skill4agent add liustack/modlens modlensreferences/configure.mdmodsearchmodlens --versionmodlensnpx @liustack/modlensmodlens config showagyagy --versioncurl -fsSL https://antigravity.google/cli/install.sh | bashagyGEMINI_API_KEYmodlens config set gemini-api.apiKey <key>OPENAI_BASE_URLOPENAI_API_KEYmodlens config set openai.<field> <value>ANTHROPIC_API_KEYclaudemodlens config init~/.modlens/config.jsonreferences/configure.mdmodlens -i <image-path-or-url>
# pick a provider explicitly
modlens -i <image> -p gemini-api
# or without a global install
npx @liustack/modlens -i <image-path-or-url>modlens -i <image> -o <output.json> -m <model> --prompt "<extra focus>" --timeout <ms>gemini-apiantigravity-cliclaude-cliopenaianthropic-m gemini-3.1-pro-high<image name=[Image #1] path="/tmp/xxxx.png">pathrecover-paste[Unsupported Image][Image #1]~/.claude/projects/~/.pi/agent/sessions/~/.local/share/opencode/opencode.dbmodlens recover-paste--count <n>--session <id>filenamerecover-pastemodlens -i <path>detectedharnessfilename--harness <claude-code|pi|opencode>recover-pastemodlensresultresult.summaryresult.ocr.full_textresult.layout.regionsresult.semanticsresult.uncertainty{ image, provider, result, meta }resultsummaryocr.full_textocr.lines[]layout.regions[]titleparagraphtablechartcodesemanticsvisualuncertainty[]--json-schemaresponseJsonSchemaProvider CLI not found-p gemini-apiconfig setdoes not match the vision schema-p gemini-api-p anthropic--timeout 300000