vision

vision is a skill for Claude Code from lawyerllsx-dotcom/Legal-Workflow-Chain. It costs 66 tokens per session (1,479 once invoked), scanned A, a copy of vision, MIT.

A visual understanding tool for identifying people, objects, scenes, charts, and interface layouts in images. It is not intended for reading text from documents or screenshots.

In plain words
What is it for?
Use it to describe non-text image content, such as objects, scenes, charts, or the layout of a user interface.
Why use it?
It helps route image tasks correctly when the important information is visual rather than written.

Skill for Claude Code

Written for Claude Code: SessionStart hook event.

Good fit Use it to describe non-text image content, such as objects, scenes, charts, or the layout of a user interface.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/lawyerllsx-dotcom/legal-workflow-chain/vision
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add lawyerllsx-dotcom/Legal-Workflow-Chain --skill vision
Clone the repo
git clone --depth 1 https://github.com/lawyerllsx-dotcom/Legal-Workflow-Chain

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for vision

README.md
[![agentmods](https://agentmods.dev/badge/skills/lawyerllsx-dotcom/legal-workflow-chain/vision/github.svg)](https://agentmods.dev/skills/lawyerllsx-dotcom/legal-workflow-chain/vision)
Your own site
<a href="https://agentmods.dev/skills/lawyerllsx-dotcom/legal-workflow-chain/vision"><img src="https://agentmods.dev/badge/skills/lawyerllsx-dotcom/legal-workflow-chain/vision/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for vision

Your own site · 80×15
<a href="https://agentmods.dev/skills/lawyerllsx-dotcom/legal-workflow-chain/vision"><img src="https://agentmods.dev/badge/skills/lawyerllsx-dotcom/legal-workflow-chain/vision.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 66 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,479 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 89% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00066 $0.01479
Opus 5 $0.00033 $0.00740
Sonnet 5 $0.00013 $0.00296
Haiku 4.5 $0.00007 $0.00148

Measured 12d ago against content hash 8f49379ad928, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

vision scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (vision.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

89% identical to vision — 25 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/vision/SKILL.md · 133 lines

How it starts

The opening of the file, as written. The whole thing — 133 lines — stays where its author put it; the contents beside it link to each section on GitHub.

vision

Multi-provider vision tool. Call various vision models to describe images. Feed it a prompt + image path, get back a text description.

⚠️ 使用边界:文字内容一律走 OCR,不要用本工具

本工具是视觉理解(识人、识物、识场景、看图说话),不是 OCR

  • 文字内容(文档、证据、票据、合同页、截图里的文字等)→ 用 OCR 提取文字,不要调用本工具
    • 本地 OCR(默认优先,不联网):你本机的本地 OCR 工具(路径按部署替换,如 ocr.bat / ocr_run.py
    • 线上 OCR(须经用户明确同意):mcp__paddleocr__*
  • 非文字内容(识别人物/物体/场景/图表/UI 布局等)→ 用本工具。
  • 触发条件:仅在用户明确要求视觉识别("识别这是谁""看看这张图""用视觉识别")或内容明显为非文字时调用。用户未指明时,默认按文字内容处理、走 OCR。

聊天中粘贴的图片:先提取到临时文件,按上述规则路由——文字内容 → 本地 OCR;非文字/用户指明 → 本工具(见 pasted_image_flow.py)。

When to use this tool

If you can already see and understand the image yourself (native multimodal model), skip this tool — analyze it directly.

A SessionStart hook normally announces this session's routing status up front. If that context isn't visible (e.g. compacted out of a long conversation, or the hook isn't installed), check before calling this tool:

python vision.py --check-routing
  • native → you already have native image understanding this session; don't call this tool.
  • external (default) → proceed with the quick start below.

Quick start

python vision.py [--provider <name>] <image_path> <prompt>

When --provider is omitted, the provider is resolved by: --provider flag > VISION_PROVIDER env > first API key found.

Providers

doubao (Volcengine Ark)

  • API key: DOUBAO_API_KEY
  • Default model: doubao-seed-2-0-pro-260215
  • Custom endpoint: DOUBAO_BASE_URL

qwen (DashScope)

  • API key: DASHSCOPE_API_KEY
  • Default model: qwen-vl-max
  • Custom endpoint: DASHSCOPE_BASE_URL
  • Available models: qwen-vl-max, qwen-vl-plus, qvq-max

openai (GPT-4o)

  • API key: OPENAI_API_KEY
  • Default model: gpt-4o
  • Custom endpoint: OPENAI_BASE_URL
  • Also works with any OpenAI-compatible endpoint.

anthropic (Claude)

  • API key: ANTHROPIC_API_KEY
  • Default model: claude-sonnet-5
  • Custom endpoint: ANTHROPIC_BASE_URL
  • Requires the anthropic package (pip install anthropic); it's imported lazily so other providers work without it.

Read the full file on GitHub · 133 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 133 lines · 66 tokens per session scan A 8f49379ad928

Subscribe to this mod's changes

vision is a skill published in the GitHub repository lawyerllsx-dotcom/Legal-Workflow-Chain (5 stars, last pushed yesterday), licensed MIT. It adds 66 tokens to every session and 1,479 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. It is 89% identical to vision, differing in 25 lines, and is treated as a copy.

Related

Other skills, from other repositories