Vistools — AI skill for Claude Code
Visual tools for AI agents — inspect, navigate, and crop images with structured JSON.
How to install Vistools
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open ZeroZ-lab/vistools and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Vistools does
Visual tools for AI agents — inspect, navigate, and crop images with structured JSON.
Alternatives in AI
- AI Research SKILLs — Visual Skills Pack for Obsidian: generate Canvas, Excalidraw, and Mermaid diagrams from text with Claude Code 5.7k ★
- Peekaboo — Peekaboo is a macOS CLI & optional MCP server that enables AI agents to capture screenshots of applications, o 3.2k ★
- Matlab MCP Server — Run MATLAB® using AI applications with the official MATLAB MCP Server from MathWorks® 1.4k ★
README
vistools
**A coordinate-grounded visual inspection protocol for AI coding agents.**
[中文文档](README.zh-CN.md) | **English**
A programmable visual toolkit for AI agents. Inspect, navigate, crop, and sample large images — every command returns structured JSON, and generated views include coordinate mappings back to the source image.
$ vistools inspect screenshot.png
{
"ok": true,
"data": {
"source": { "width": 3200, "height": 2400, "format": "png", "size_bytes": 808243 },
"suggestion": {
"needs_overview": true,
"max_tile_rows": 2,
"max_tile_cols": 3,
"recommended_next": "overview",
"reason": "long side 3200 exceeds 1568 visual threshold",
"suggested_max_side": 1568
}
}
}
Before vs After
**Without vistools:**
Agent reads a 3200×2400 screenshot → details lost in compression
→ claims "the button looks correct" → no way to verify
**With vistools:**
1. inspect → 3200×2400, needs overview
2. overview --max-side 1200 → scaled preview, scale_factor = 0.375
3. Spot anomaly at overview (800, 600) → map to source: (2133, 1600)
4. viewport rect → exact crop of the region
5. sample --x 2133 --y 1600 → color is #e74c3c, not expected #2563eb
6. Report: "Button at source (2133, 1600) has incorrect background color"
Why
When an AI agent (Claude Code, Cursor, Codex, a browser agent) is handed a large screenshot or design file, it usually sees the whole thing at once — compressed, zoomed out, and too expensive to process at full resolution. `vistools` gives agents the same tools a human uses: look at the overview, pick a region of interest, zoom in, read the details.
Three design choices drive everything:
- JSON-first. Every command outputs a
CommandResultenvelope — success or failure — so agents can parse the same shape every time. - Coordinate mapping. Every generated view includes a
coordinate_mappingthat describes how to translate output coordinates back to the source.
Related Skills
RocketSim Agent Skill
Add RocketSim Simulator automation to your AI coding tool (Agent Skills open format): inspect visible UI eleme
SkillDocker
The Visual Dock & Live Steering Hub for AI Agent Skills. A local-first, lightweight desktop HUD to discover, i
Design Buddy
Design Buddy: visual production Agent Skills for brand design systems, GPT-image-2 images, diagrams, infograph
Gemini MCP
Google Gemini MCP - Use Google's visual, video and chat capabilities in your AI Assistant. Uses MCP Apps to pr
Nocturne Memory
A lightweight, rollbackable, and visual Long-Term Memory Server for MCP Agents. Say goodbye to Vector RAG and
Agent Crop
给 AI 编程助手一根马鞭:本地 trace 记录时间去向,推它反思、自证优化。Local tracing for AI coding agents — where the time actually goes. DSH
Related Agents
Visual Checker
Looks at page screenshots so the main session does not have to. Give it a URL, what changed, crop paths from c
Creative Eye
Visual creative inspection subagent. Analyzes ad images and video assets, catalogs hook elements, formats, cop
Frontend Visual Review
Compare 3-panel comparison images (Before / After / Diff highlight) and enumerate visual gaps as structured JS