No slash command · from workflows
Analyzes media files (PDFs, images, diagrams, screenshots, charts) using a multi-backend vision router. Extracts structured data, tables, and text without loading full content into context.
Ships in workflows. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
What this skill carries. The names and headings are the index; for a subject none of them
carries, grep -il <term> over this skill's own references/ directory.
!d=${CLAUDE_SKILL_DIR}; command -v skill-toc >/dev/null 2>&1 && exec skill-toc "$d"; s=$HOME/.claude/skills/plugin-utils/bin/skill-toc; [ -x "$s" ] && exec "$s" "$d"; echo "(skill-toc unavailable: references and scripts are NOT listed here — install the plugin-utils plugin, or start a new session so its bin/ reaches PATH)"
Multi-backend vision router for images, PDFs, video, diagrams and other media. Defaults to agy -p on the vision kind in ${CLAUDE_PLUGIN_ROOT}/scripts/lib/routing.json (resolved by route.ts) — Gemini via Antigravity OAuth, unmetered — which reads images, PDFs and video natively. Audio auto-routes to the metered api backend, the only one that handles it. Three further unmetered CLI backends (claude-code -p, codex exec, Copilot on GPT-5.4) give independent second opinions.
claude backend spawns a child claude-code -p. look_at.sh sets LOOK_AT_NESTED=1 so image-read-guard.ts stands down inside that child — without it the guard denies the child's Read and points it back at look_at.sh, which spawns another child. That is unbounded recursion, not a slow call.| Scenario | Read Tool | look_at Tool |
|---|---|---|
| PDF with table | Extracts raw text (~1000 tokens), loses table structure | Extracts table as structured data (~100 tokens) |
| Screenshot | Loads entire image (~500 tokens), requires interpretation | Describes content (~50 tokens) |
| Diagram | Shows image (~800 tokens), requires analysis | Explains architecture (~100 tokens) |
| Multi-page PDF | All pages loaded (~5000 tokens) | Extracts specific sections (~200 tokens) |
look_at saves 80-95% of context tokens by extracting only relevant information.
Use look_at when you need:
Never use look_at when:
look_at.sh routes to the selected backend (agy by default)CRITICAL - Display Requirement:
Always set the Bash tool description parameter to show a clean invocation:
description: "look-at: [goal text]"
# Default (agy — Gemini via Antigravity OAuth, unmetered)
"${CLAUDE_SKILL_DIR}/scripts/look_at.sh" \
--file "/path/to/file.pdf" \
--goal "Extract the title and date from this document"
# A different model family (agy, codex, copilot all work the same way)
"${CLAUDE_SKILL_DIR}/scripts/look_at.sh" \
--file "/path/to/diagram.png" \
--goal "Describe the architecture" \
--backend codex
# Four independent looks at once (claude, agy, codex, copilot)
"${CLAUDE_SKILL_DIR}/scripts/look_at.sh" \
--file "/path/to/diagram.png" \
--goal "Score this diagram 0-10" \
--consensus
# PDFs and video need no flags — agy reads both natively
"${CLAUDE_SKILL_DIR}/scripts/look_at.sh" \
--file "/path/to/file.pdf" \
--goal "Extract the table data"
# Agentic mode — adds code execution for harder visual reasoning (api backend only)
"${CLAUDE_SKILL_DIR}/scripts/look_at.sh" \
--file "/path/to/file.pdf" \
--goal "Extract the table data" \
--agentic
${CLAUDE_SKILL_DIR} is substituted at skill load time, so the full path is already resolved — no per-call discovery needed.
IMPORTANT:
description to "look-at: [goal]" for clean UX| Backend | CLI | Model | Cost | Best For |
|---|---|---|---|---|
claude | claude-code -p | claude-opus-5[1m] unless --model | Pooled OAuth via CLIProxyAPI | Unmetered second opinion from a different family |
agy (default) | agy -p | route.ts kind vision unless --model | Antigravity OAuth — unmetered | Images, PDFs and video, all read natively. No audio |
codex | codex exec | Codex default | Subscription | Attaches the image with -i, so it needs no read tool at all |
copilot | copilot -p | GPT-5.4 | Copilot subscription | Fourth opinion. PDFs rasterized first |
api | look_at.py | role vision, thinking_level=high | Metered — your GOOGLE_API_KEY | Audio auto-routes here — no unmetered backend handles it. Not in --consensus |
claude, not claude-code, is the backend name; claude-code is the binary it runs. Plain
claude would bill this session's own account — claude-code routes through CLIProxyAPI to the
pooled OAuth accounts, which is the cost this backend exists to avoid.
Only claude ingests PDFs directly. agy and copilot get page PNGs from pdftoppm; codex
gets every page attached as a separate -i.
The old gemini backend is gone; the consumer gemini binary was sunset 2026-06-18. Unmetered Gemini now comes from agy (Antigravity OAuth), which is the default. gemini-code is NOT usable here: on Claude Code 2.1.238 it exits 0 having produced no output, rejecting its own default model as unrecognized_model even though the proxy serves it.
--consensus runs a comma-separated list of backends in parallel and outputs each result under a labeled header (=== CLAUDE (claude-code) ===, === AGY (Antigravity) ===, …). The list is optional and defaults to all four CLI backends:
--consensus # claude,agy,codex,copilot
--consensus claude,codex # narrow it to two
Wall-clock is the slowest backend, not the sum — they run concurrently.
A failed backend prints [ERROR] <name> backend failed followed by its output; the others still report, and the exit status stays 0.
When to use: Visual verification of diagrams where a single model may miss or underscore defects. Trust the stricter score — if any backend flags BLOCKING, treat it as BLOCKING.
When using look_at, the response includes:
Use this extracted information directly in continued work without loading the full file into context.
| Type | Extensions | MIME Types |
|---|---|---|
| Images | .jpg, .jpeg, .png, .webp, .heic, .heif | image/* |
| Videos | .mp4, .mpeg, .mov, .avi, .webm | video/* |
| Audio | .wav, .mp3, .aiff, .aac, .ogg, .flac | audio/* |
| Documents | .pdf, .txt, .csv, .md, .html | application/pdf, text/* |
api backend only)These apply to --backend api, which is metered. The claude backend takes --model as a Claude model alias; copilot is pinned to GPT-5.4.
| Model | Use Case | Speed | Cost |
|---|---|---|---|
gemini-4-hydrogen | Default - Google's upgrade for 3.8 Flash, thinking_level=high | Fast | $1.50/1M |
gemini-3.5-flash-lite | High-throughput / document parsing when cost matters | Fastest | $0.30/1M |
gemini-3.1-pro-preview | Maximum vision capability, hardest extractions | Slower | $2.00/1M |
gemini-3-pro-preview | Highest accuracy required | Medium | Medium |
The default is the vision role in ${CLAUDE_PLUGIN_ROOT}/scripts/lib/gemini-models.json, at thinking_level=high;
the agy backend instead resolves bun ${CLAUDE_PLUGIN_ROOT}/scripts/lib/route.ts --row '{"kind":"vision","provider":"gemini"}',
whose ids carry a reasoning suffix and are not interchangeable with the API ids above.
python3 ${CLAUDE_PLUGIN_ROOT}/scripts/lib/gemini_models.py vision prints the API one.
api backend only)For complex visual reasoning tasks, use the --agentic flag to enable code execution. This allows Gemini to:
When to use --agentic:
Usage:
"${CLAUDE_SKILL_DIR}/scripts/look_at.sh" \
--file "photo.jpg" \
--goal "Count the number of people in this image" \
--agentic
Note: Agentic mode adds code execution to whichever model is selected; gemini-4-hydrogen supports it, so it no longer forces a different model.
REMEMBER: Always use description: "look-at: [goal]" in the Bash tool call.
# Bash tool call with:
# description: "look-at: Extract the executive summary section"
"${CLAUDE_SKILL_DIR}/scripts/look_at.sh" \
--file "report.pdf" \
--goal "Extract the executive summary section"
# Bash tool call with:
# description: "look-at: List all UI elements and their layout"
"${CLAUDE_SKILL_DIR}/scripts/look_at.sh" \
--file "screenshot.png" \
--goal "List all UI elements and their layout"
# Bash tool call with:
# description: "look-at: Explain the data flow and component relationships"
"${CLAUDE_SKILL_DIR}/scripts/look_at.sh" \
--file "architecture.png" \
--goal "Explain the data flow and component relationships"
# Bash tool call with:
# description: "look-at: Extract the table data as JSON"
"${CLAUDE_SKILL_DIR}/scripts/look_at.sh" \
--file "table.pdf" \
--goal "Extract the table data as JSON with columns: name, value, date"
# Bash tool call with:
# description: "look-at: Count the number of people in the photo"
"${CLAUDE_SKILL_DIR}/scripts/look_at.sh" \
--file "crowd.jpg" \
--goal "Count the number of people visible in this image" \
--agentic
# Bash tool call with:
# description: "look-at: Extract specific data points from the chart"
"${CLAUDE_SKILL_DIR}/scripts/look_at.sh" \
--file "quarterly_chart.png" \
--goal "Extract the exact values for each quarter and calculate the year-over-year change" \
--agentic
The four CLI backends need nothing beyond their own binaries being installed and signed in
(claude-code, agy, codex, copilot). No API key, no Python environment. agy, codex and
copilot additionally need pdftoppm (poppler-utils) to accept a PDF.
Only --backend api needs setup, and only because it is metered:
export GOOGLE_API_KEY="your-api-key-here" # or GEMINI_API_KEY
look_at.sh launches it with uv run --script, which honours look_at.py's inline PEP 723
metadata and provisions google-genai itself — uv run python3 does not, and fails at the import
with a message that reads like an auth problem.
claude, agy, codex and copilot are subscription backends — none bills per call. api
is the only metered path; reach for it only when you need agentic mode.| Issue | Solution |
|---|---|
| A CLI backend fails | Check that binary is installed and signed in: claude-code, agy, codex, copilot |
codex blocks on stdin | The prompt must follow --; -i/--image is variadic and otherwise swallows it |
| Backend hangs or recurses | Confirm look_at.sh is the entry point — it sets LOOK_AT_NESTED=1; calling claude-code -p by hand does not, and image-read-guard.ts will then deny the child's Read |
API key not set (api backend) | Set GOOGLE_API_KEY or GEMINI_API_KEY |
| File not found | Use absolute paths, verify file exists |
| Large file timeout | Break into smaller files or use lower-quality images |
| Rate limit errors | Add retry logic or use batch processing |
| Empty response | Check that goal is clear and specific |
See examples/ directory for:
analyze_pdf.sh - PDF document extractiondescribe_image.sh - Image analysisextract_table.sh - Structured data extraction/gemini-vertex - For batch processing of many filesRead tool - For text files needing exact contentsREADME.md (opens in a new tab)examples/analyze_pdf.sh (opens in a new tab)examples/describe_image.sh (opens in a new tab)examples/extract_table.sh (opens in a new tab)references/api-details.md (opens in a new tab)references/use-cases.md (opens in a new tab)requirements.txt (opens in a new tab)scripts/look_at.py (opens in a new tab)scripts/look_at.sh (opens in a new tab)scripts/look_at_test.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
vision, media-analysis, pdf-extraction, image-analysis, context-economy
86 skills in this plugin
/afkUse when the user says '/afk', 'afk', 'going to bed', 'I'm going to sleep', 'work autonomously', 'work on this overnight', 'don't ask me questions', 'while I'm away', or 'do whatever you think is best'. NOT for questions about overnight returns, rates or anything financial; NOT for asking how the mode works./ai-anti-patternsALWAYS load before finalizing ANY written prose, and whenever text is suspected of being machine-written - "does this sound like AI", "make this sound human", "clean up the AI-isms", "did a bot write this", "check this draft before I send it", "review this for AI tells", "this reads like ChatGPT", "review this for mannered prose", "is this too writerly", "is this student paper AI-generated", or before handing back any draft, memo, email, or article you wrote. Use proactively even if the user never mentions AI writing./batch-routerUse when the user says 'bulk LLM job', 'batch job', 'submit a batch job', 'run this prompt over all the documents', 'process thousands of PDFs', 'extract fields from every filing', 'code each filing', 'label / annotate these documents', 'hand-code these', 'have agents read each document', 'which batch provider', 'cheapest way to run this over N rows', 'spend my API credits', 'Claude or OpenAI or Gemini for this batch', or needs any per-row LLM extraction, classification or enrichment over many inputs./bib-manageALWAYS use when a manuscript's BIBLIOGRAPHY is the thing being fixed, or when a cite's PDF turns out to be wrong — 'link my bib entries to the PDFs', 'which sources am I missing a PDF for', 'audit my sources.bib', 'my bib entry has no file field', 'fetch the Federal Register PDFs', 'why can't pincite find this source'. WRONG FILE: 'is this PDF the published version or the preprint', 'this PDF is a book review, not the book', 'the file field points at the wrong paper', 'the PDF doesn't match the citation'. METADATA: 'reconcile my bib against Paperpile', 'these entries were extracted by a model, check them', 'fix the metadata in sources.bib', 'my bib has no DOIs and the fields look wrong', 'pull the real author/journal/volume from my library', 'where did this bib entry's metadata come from'. PAGE RANGES: 'does my bib have page ranges', 'my bib only has start pages', 'backfill the page ranges', 'pull the pages from the DOI', 'add DOIs to my bibliography'. Use proactively before any pincite run — pincite resolves footnotes through `file = {...}` and silently skips entries that lack one. NEGATIVE ROUTING: the page number inside a footnote is pincite, but whether that footnote's PDF is the version of record or the wrong document is THIS skill, mid-pincite-run included; whether a cited source says what the footnote claims is source-verify; Bluebook FORM is bluebook or bluebook-audit; finding or downloading a paper is fetch-paper or paperpile./blaw-edgar-searchUse when the user wants to search SEC filings or exhibits on Bloomberg Law — 'search EDGAR on Bloomberg Law', 'BLAW EDGAR search', 'find exhibits with this clause', 'which 8-Ks attach a consulting agreement', 'pull the Bloomberg Law results list', 'capture the BLAW results' — or needs exhibit-level phrase search with proximity operators that the SEC and WRDS full-text routes handle badly./bluebookALWAYS use for ANY legal citation question, even if the user never says 'Bluebook' - 'cite this case', 'how do I cite a statute', 'is this footnote formatted right', 'id. or supra here', 'cite a law review article', 'what signal goes here', 'format these footnotes', 'short form for this cite', 'block quote this', 'where does the ellipsis go', 'is this quote altered right', or writing or checking any citation or quotation in a legal manuscript. NOT for auditing a whole manuscript's footnotes (use bluebook-audit) and NOT for rendering these rules in Typst (use docx-typst).Claude Code refuses to install this plugin
As a github or url source: Failed to clone repository: fatal: clone of '[email protected]:edwinhu/bmll-skill.git' into submodule path 'skills/bmll' failed
Checked against Claude Code 2.1.332's install rules. The listing below is what the repository ships; Claude Code cannot install it as published.
Other plugins' skills for the same job