Provides image recognition for agents without native vision. Analyzes local images, URLs, or base64 via OpenAI-compatible vision API; --coords returns pixel coordinates for UI inspection.
Ships in hairyf-skills-4. 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.
The underlying model has no native image understanding. When an image arrives, do not use the Read tool — run scripts/vision.js to get a text description back.
Requires Node.js 18+ (native fetch) and network access to an OpenAI-compatible vision API.
node scripts/vision.js "<image path>" "[question]"
node scripts/vision.js --url "<image url>" "[question]"
node scripts/vision.js "<image path>" "find the search button" --coords
node scripts/vision.js --base64 "<base64 or data:image/...;base64,... URL>" "[question]"
node scripts/vision.js --base64 - < shot.b64 "[question]" --coords center
node scripts/vision.js "<image path>" "[question]" --session ui # multi-turn conversation
node scripts/vision.js "<image 2>" "compare with the previous image" --session ui
node scripts/vision.js --clear ui # remove the session cache when done
Run node scripts/vision.js --help for the full flag list.
Pass the same --session <name> to several calls to keep the conversation
history — previous images and replies are replayed alongside the current
question on every call. State is stored in .vision/<name>.json (cwd), or
VISION_SESSION_DIR/<name>.json when that env var is set. When the
conversation is finished, remove the cache with
node scripts/vision.js --clear <name>. See core-usage.
The reply is injected into the caller's context, so keep it compact:
--coords [bbox|center], caller decides) appends a ## Coordinates section — one JSON line per element: bbox {"name","text","bbox":{"x","y","w","h"}} by default, or center point {"name","text","center":{"x","y"}} with --coords center. Coordinates are pixels in the ORIGINAL image; views are resampled and remapped automatically.--coords.scripts/vision.js.--base64 accepts raw base64 or a full data URL; use --base64 - (stdin) for
large payloads that exceed the Windows command-line limit, e.g. screenshots.--coords call downloads one dependency (sharp, one-time); non-debug calls are zero-dependency.--detail [n] and --rounds N are optional; defaults are compact and coarse-to-fine (2 rounds).| When | Reference |
|---|---|
Unsure of flags or output contract, or using --coords / --detail for the first time | core-usage |
| First run with no API key configured | core-setup |
| Debugging the pipeline or editing the scripts | core-script |
AGENTS.md (opens in a new tab)agents/openai.yaml (opens in a new tab)references/core-script.md (opens in a new tab)references/core-setup.md (opens in a new tab)references/core-usage.md (opens in a new tab)scripts/lib/api.js (opens in a new tab)scripts/lib/coords.js (opens in a new tab)scripts/lib/env.js (opens in a new tab)scripts/lib/image.js (opens in a new tab)scripts/lib/install.js (opens in a new tab)scripts/lib/preprocess.js (opens in a new tab)scripts/lib/prompts.js (opens in a new tab)scripts/lib/session.js (opens in a new tab)scripts/vision.js (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
vision, image-recognition, openai-vision, ui-debugging, coordinates
80 skills in this plugin
/animeAnime.js v4 - A fast, multipurpose and lightweight JavaScript animation library. Use when creating animations, timelines, draggable interactions, SVG animations, text effects, or working with CSS properties, DOM attributes and JavaScript objects./antfuAnthony Fu's opinionated tooling and conventions for JavaScript/TypeScript projects. Use when setting up new projects, configuring ESLint/Prettier alternatives, monorepos, library publishing, or when the user mentions Anthony Fu's preferences./arch-nuxtVitesse-style Nuxt 4 starter with Vite, UnoCSS, Pinia, VueUse, PWA. Use when scaffolding or maintaining a Nuxt app with this stack./hairyf-skills-4:visionfrom hairyf-skills-4
hairyf-skills-4@cascade-code-languages-misc-1 is listed by joshuarweaver/cascade-code-languages-misc-1 — review the source before installing
npx claudepluginhub joshuarweaver/cascade-code-languages-misc-1 --plugin hairyf-skills-4Other plugins' skills for the same job