SkillsReviewed · liustack

ModLens Vision Bridge Skill

ModLens is an image-reading skill for people using AI assistants without working vision, but it needs a separate vision provider and may consume paid or subscription quota. It wraps a local command-line tool that returns transcribed text, layout regions and image descriptions as structured JSON.

Researched 15 Nov 2026

In short.

ModLens is an image-reading skill for developers and other users whose AI assistant cannot see images, but it depends on another model service and that service's usage terms. It includes provider configuration, pasted-image recovery guidance and launchers that pin npm downloads to version 3.27.5 while accepting compatible newer 3.x installations. Automatic fallback and reuse of signed-in assistants can change whose quota is spent. Nothing was executed; image accuracy, latency, provider availability and per-image cost are unknown.

Researched and written by an AI model and checked by a second AI model. How it works

Covers all eight supplied files under skills/modlens: SKILL.md; references/configure.md, configure.zh-CN.md, find-image.md, onboard.md and runtime.md; and scripts/run.sh and run.ps1. Includes the related repository-root LICENSE at revision e42fc495c7366def4e3cb70040355d20c9c003c0. Excludes the CLI core, dependencies, provider implementations, package manifest, referenced tests and external service terms. No commands, installation, image recovery, provider calls or cross-platform behavior were executed or tested.

The overview

Identity

The resource is the skills/modlens folder in liustack/modlens [https://github.com/liustack/modlens/tree/main/skills/modlens]. SKILL.md supplies instructions for an assistant, while references explain configuration, onboarding, image recovery and runtime requirements.

The folder depends on the separate @liustack/modlens CLI package. Its shell and PowerShell launchers locate a compatible installation or invoke the pinned package through npx or bunx.

Assessment

ModLens addresses a specific gap: an assistant receives an image path or attachment placeholder but cannot inspect the image. A separate vision model supplies text and visual descriptions that the assistant can then use. This can also apply when a gateway strips image input from an otherwise multimodal model.

It is a plausible fit when structured transcription and layout descriptions justify an additional service call. Its own instructions direct assistants with working native vision to read images directly. The supplied material establishes the intended interface, but provides no independently assessed image outputs or accuracy evaluation.

Users

The main audience is people using text-only coding or general assistants who need help with screenshots, diagrams or other image attachments. Beginners need an assistant host that loads the skill and permits command execution, plus access to a supported vision service.

Developers gain control over provider routes, endpoint settings, structured output and result metadata. The recovery guide covers Codex image-path tags and session-storage recovery for Claude Code, Pi and OpenCode. A complete compatibility matrix for skill installation across hosts is not supplied.

Capabilities

The documented output includes result.summary, result.ocr.full_text, result.layout.regions, result.semantics and result.uncertainty. These fields are intended to expose transcribed words, spatial organization, visual meaning and unresolved details. Additional prompt text can focus a read on a particular question.

The guides describe local-file and remote-URL input, provider fallback, model-based invocation guards and recovery of pasted images. Metadata identifies attempted providers, warnings, duration and usage. Supported routes include Gemini API, Anthropic API, OpenAI-compatible multimodal endpoints and several authenticated assistant CLIs; capabilities vary by route.

Using it

Requirements

The supplied launchers use a modlens installation with major version 3 and version at least 3.27.5, otherwise npx with Node 22.19 or newer, otherwise bunx. No native executable artifact is available in this snapshot. The source includes a POSIX shell launcher for macOS/Linux and a PowerShell 5.1-compatible Windows launcher.

Image analysis requires network access and a configured vision provider or suitable authenticated CLI. The OpenAI-compatible route requires an explicit base URL and a model accepting image input. The documented Claude Code route accepts local image files only. OpenCode paste recovery requires real Node even when Bun launches the main CLI, because recovery uses node:sqlite.

Mechanism

The documented sequence checks whether the active model should use the bridge, locates the image, invokes the CLI and answers from the returned JSON. Execution starts locally, but image interpretation uses the selected external model service or authenticated assistant CLI.

Provider fallback generally tries configured API routes before agent CLIs, subject to route restrictions. Choosing a default provider changes ordering; -p pins one provider and disables fallback. The result's meta.attempts and meta.warnings expose provider attempts and reused-account quota notices.

Output enforcement differs by route. Anthropic uses a forced tool call, while OpenAI-compatible server-side schema enforcement is optional and disabled by default. Required-field validation can reject malformed output, but cannot establish that a transcription or interpretation is correct.

Setup

Keep SKILL.md, references and scripts together so their relative paths resolve. A universal host-install command is not supplied. On macOS/Linux, the documented diagnostic entry point is bash <skill-dir>/scripts/run.sh doctor --json, replacing <skill-dir> with the skill directory.

Doctor is described as local diagnosis without a model call or quota spending. However, invoking it through npx or bunx can download the pinned package on first use. A detected CLI installation can still have an unverified sign-in.

Configuration lives in ~/.modlens/config.json. The guide offers modlens config set gemini-api.apiKey with no value to open a hidden key-entry prompt, and documents file permissions of 0600. Provider configuration comes wholly from the file when that provider is mentioned there; otherwise its bound environment variables apply. Unknown configuration names can be silently ignored, making effective-setting inspection useful.

Example

For an error-dialog screenshot, an illustrative command is bash <skill-dir>/scripts/run.sh -i ./screenshot.png -p gemini-api --prompt "Focus on the error message and its position." This requires a configured Gemini route and an image at that path. Pinning the provider prevents fallback for this read.

An assistant could use result.ocr.full_text to quote the error, result.layout.regions to describe its location and result.uncertainty to explain unreadable characters. No example image or returned JSON is supplied, and this command was not executed.

Assessment & evidence

Limitations

The skill broadly triggers on image paths, URLs and placeholders when the assistant cannot see their contents. Local execution therefore does not imply local-only image processing. The guide warns that Gemini free-tier data may be used for product improvement; current provider retention, training and residency terms are not supplied.

Quota consent has a documented exception: onboarding requires explicit permission for each reused harness, but the configuration reference treats an absent reuse.claude setting as granted. It says reuse.claude false removes Claude Code from automatic fallback, although explicitly pinning claude-cli still selects it.

By default, an unidentified model is not blocked because denyWhenUnknown is false. SKILL.md's stop-on-unknown branch applies when denial of unknown models is enabled. SKILL.md also says a guard error (exit 2) fails open and the assistant proceeds. The guard should not be assumed to prevent every unintended call.

The recover-paste route reads Claude Code and Pi session files and an OpenCode SQLite database; these storage formats can change. Separately, the guide describes Claude Code's injected [Image: source: <path>] line and image-cache directory as undocumented internal behavior observed on versions 2.1.201 through 2.1.231. It treats the image-source line as a shortcut whose availability is not guaranteed. OpenAI-compatible endpoints may reject structured-output settings or return incomplete results. The supplied material does not establish image accuracy, reliable cross-platform operation or protection against instructions embedded in images.

Reasoning

The useful design choice is a consistent text representation of an image across several providers. A text-only assistant can refer to transcribed words, regions and uncertainty instead of inferring content from an attachment placeholder.

That benefit comes with an additional model call, provider-specific configuration and more failure paths. The strongest fit is a user who needs this bridge and wants structured evidence. Schema enforcement helps downstream software consume results, while visual correctness still requires assessment against the original image.

Alternatives

Working native image input in the current assistant is the first alternative identified by the skill itself. Its instructions explicitly avoid invoking ModLens when the assistant can already see the image.

Within ModLens, the guides offer API-key routes, compatible multimodal gateways and existing assistant logins. These offer different credential and quota arrangements. No independent comparison establishes which route is most accurate, cheapest or fastest, and no external competing skill is evaluated in the supplied material.

Evidence

The source snapshot contains SKILL.md, five reference documents and two launcher scripts, together with the repository-root MIT notice. The immutable skill-folder address is [https://github.com/liustack/modlens/tree/e42fc495c7366def4e3cb70040355d20c9c003c0/skills/modlens].

The CLI implementation, provider clients, actual validation schema, package manifest and referenced release tests are outside this material. Descriptions of those components remain documentation claims. Nothing was executed, and no provider response, image transcription, benchmark output or billing receipt is supplied.

Access & freshness

Costs

The supplied files do not specify a purchase price for the CLI. Image reads can consume API charges, service quotas or an existing assistant subscription's allowance. Reusing a signed-in account spends that account's quota.

The configuration guides describe some routes as free and give illustrative quotas and timings, but current provider prices, eligibility and limits are not established by provider terms in this material. Exact per-image cost is unknown. Fallback can involve multiple attempts, and usage metadata alone does not establish a monetary total.

Rights

The supplied repository-root LICENSE is MIT, copyright 2026 Leon Liu (liustack). It permits use, copying, modification, redistribution, sublicensing and sale of the covered software and documentation, provided the copyright and permission notices accompany copies or substantial portions.

The software is supplied without warranty. These permissions do not establish rights to submitted images or replace third-party provider terms. A redistributed copy of the skill should retain the supplied MIT notice.

Freshness

This description applies to revision e42fc495c7366def4e3cb70040355d20c9c003c0, captured on 2026-11-15 at 18:31:58.539 UTC. The runtime reference and both launchers specify npm version 3.27.5. A compatible newer 3.x installation on PATH takes precedence, so the launcher does not always run exactly that version.

The provider thinking-parameter table identifies itself as current to August 2026. Later repository changes, currently available provider models, service prices, quotas and host-storage compatibility are unknown.

Actions

First establish whether the current assistant can already see images. If a bridge is needed, obtain the complete skill folder, confirm runtime availability and choose the provider whose image-processing terms and quota arrangement fit the work.

Inspect effective settings with doctor, explicitly decide which signed-in accounts may be reused and review the documented Claude default. Use -p when a read must stay with one provider. For an OpenAI-compatible route, supply the intended endpoint explicitly.

Begin with a non-sensitive image whose contents you can check. Compare the returned transcription and layout against the original, inspect uncertainty, and review provider attempts, quota warnings and usage metadata. Successful setup alone does not establish accuracy or cost for a workload.

Evidence for this report

LICENSEnotice · checked 2026-11-15
skills/modlens/SKILL.mdselected · checked 2026-11-15
skills/modlens/references/configure.mdselected · checked 2026-11-15
skills/modlens/references/configure.zh-CN.mdselected · checked 2026-11-15
skills/modlens/references/find-image.mdselected · checked 2026-11-15
skills/modlens/references/onboard.mdselected · checked 2026-11-15
skills/modlens/references/runtime.mdselected · checked 2026-11-15
skills/modlens/scripts/run.ps1selected · checked 2026-11-15
skills/modlens/scripts/run.shselected · checked 2026-11-15