
AInotate
io.github.dontpayfullv0.1.7更新于 Oct 9, 2026
Annotated screenshots for AI agents: steps, Skitch-style arrows, boxes, labels, solid redaction.
概览
让助手截取屏幕或网页,并返回带编号步骤、箭头、方框和遮盖处理的标注截图。
- 功能
- AInotate 可以截取网页、窗口、屏幕或已有图片,定位助手所指的元素,并在其上绘制编号步骤、箭头、方框、标签、高亮和放大镜。它还能在分享前把邮箱、令牌等敏感文本涂黑,并在发送前检查结果。输出包括单张标注图、Markdown、HTML 或 PDF 步骤指南、前后对比图以及动画。它以本地 stdio MCP 服务器方式运行,也可通过命令行或 Python 库使用。
- 适用场景
- 当回答取决于屏幕上某个东西的位置时使用:设置、菜单、藏在图标后的按钮、权限或支付界面、缺陷报告、工单、文档和更新日志。它适合用来指出控件位置而不是用文字描述,也适合制作分步图示指南。
- 运行要求
- 作为本地 Python 包运行(Python 3.10+),通过 uvx 或 pipx 安装,也可通过 Claude 插件或桌面扩展使用。网页截图需要 Playwright 浏览器(如 Chromium),可用诊断命令安装。macOS 已验证;Windows 和 Linux 为实验性。未声明账号、API 密钥或环境变量。
安装
在 SourceWeft 中
- 打开 控制台中的 AInotate,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
[AInotate]
Annotated screenshots for AI agents: the agent shows you the button instead of describing where it is.
[Tests] [PyPI] [Python] [License: AGPL-3.0-or-later] [MCP server]
Ask an agent how to post a link on Hacker News and you usually get directions: the orange bar at the top, the last link after jobs. With AInotate it sends the picture above instead and says "click submit, where the blue arrow points".
It captures a web page, a window or a screenshot you already have, finds the elements you mean, draws numbered steps, arrows, boxes and labels where they hide the least, blacks out emails and tokens, and looks at the result before sending it. It works in Claude Code, Cowork, Claude Desktop, Codex, Gemini CLI, Cursor and any other MCP client, and from the command line or Python.
We built it at DontPayFull because our own agents kept answering "where is it?" with a paragraph. A picture with a number on the right button settles the question in a second, in a chat, a ticket or a guide.
What it is for
- "Where is it?" Settings, menus, buttons that hide behind icons. The agent answers with the screen itself, the control boxed and numbered.
- "Walk me through it." One image per step, in the order to follow;
ainotate guideturns them into a Markdown, HTML or PDF guide. - "Your turn." A permission switch, a 2FA code, a payment or consent screen: the agent does not click for you. It shows exactly what to press and says what the click does.
- Bug reports and tickets. What is wrong, outlined in red, what is right in green, emails and tokens blacked out before anyone sees them.
- Docs and changelogs. Screenshots that point at the thing the text talks about, re-shot from the same spec when the UI changes; before and after plates for a change.
Set it up in your agent
1. Install, one of:
Then ainotate doctor checks the machine and prints the exact fix for
anything missing, including the one command that downloads Chromium for
web capture. To update later: brew upgrade ainotate, pipx upgrade ainotate or uv tool upgrade ainotate; the plugin with /plugin marketplace update ainotate; the Desktop extension by opening the newer
.mcpb from Releases.
2. Connect it to the agent you use:
AInotate runs on your own computer: Cowork reaches it through the Claude
desktop app, so keep the app open while a task uses it. The plugin starts
the installed ainotate, or runs it with uvx when it is not installed.
The skill teaches an agent when and how to annotate: pick a source, find exact positions, annotate, read the image to verify, deliver. The plugin brings it along; without the plugin it ships with the package:
Config paths for every OS, permissions and the tool list: skills/ainotate/references/mcp.md.
3. Ask. "Show me where to switch Wikipedia to dark mode." The agent captures the page, annotates it, checks it and sends the image. With the skill it also does this on its own whenever an answer depends on where something is on the screen: a "how do I" question, a visual bug, a before/after of a change.
Gallery
Every image below was made in one shoot call against a public site:
open the page, find the elements, place the labels, draw, frame. The specs
are in docs/images/specs.
[The same two arrows drawn in the four arrow styles: skitch, curved, straight and line]
Four arrow styles: skitch (default: straight when the way is clear, a gentle bend when it is long and diagonal, a curve around text), curved, straight, line
[Wikipedia on a phone-sized viewport with the menu and search buttons numbered]
Phone preset: mobile viewport, touch and user agent
Labels that stay off the content
A label dropped at a fixed spot next to its target usually lands on the text the reader needs. AInotate places every label itself:
- It maps the page content first (text, icons, lines, images) and tries hundreds of spots per label. Empty space near the target wins; a spot over text is used only when the frame has no free room.
- Arrows are priced too: a long arrow, or one that crosses text, another label or another mark, loses to a shorter, cleaner one. When the straight path crosses text, the arrow curves around it.
- All labels are planned together, so the first one cannot take the only clean spot a later one needs.
- Step badges sit on the corner of their box that covers the least.
The image is never enlarged to make room. If a label still has to cover
something, AInotate says so in a warning, and label_at pins a label
exactly where you want it.
From the command line
Save this as hn.json:
The output path is printed on stdout. Images are saved to
~/Pictures/AInotate unless you configure another folder. ainotate --help
lists every command (capture, annotate, locate by OCR, grid, zoom, window
capture with UI element targets, elements, guide, compare, animate, copy,
install-skill); the full spec is in
skills/ainotate/references/spec.md. Exit codes: 0 ok,
1 cannot save, 2 invalid spec, 3 cannot draw, 4 capture failed or an
optional dependency is missing, 5 ambiguous text target, 6 target not
found.
Python. The same pipeline is importable:
Features
- Marks: numbered
step,box,arrow,clickripple,keys(keycaps),magnify(loupe),highlight,spotlight,text, solidredact, and decorativeblur/pixelate. - Placement that reads well: labels go to free space near their target and are planned together; arrows are tapered Skitch-style shapes with a soft shadow that curve around text (see Labels that stay off the content). Warnings for overlapping labels, crossing arrows, more than 6 marks or labels over 4 words.
- Web capture in one call:
ainotate shootopens a page (laptop, wide or phone preset), runs actions (click, fill, wait, scroll), measures each target, redacts, annotates and saves. - Any browser: its own Playwright Chromium, Firefox or WebKit, or attach over CDP to a Chromium you already use and are logged into (Chrome, Edge, Brave, Arc, BrowserOS). The preset is applied to that one tab and restored afterwards.
- Any image:
locatefinds text by OCR (Apple Vision, Windows OCR or Tesseract);gridandzoomlocate icons at full resolution. Screen, window and clipboard capture are built in. - Desktop apps on macOS:
ainotate window ID --targetmeasures buttons, switches and fields through the Accessibility API, so marks sit exactly on the control, icons included;ainotate elements --app NAMElists what it can find. - Frames: gradient backgrounds (auto from the screenshot, or presets), rounded corners, shadow, browser or window chrome, social aspect ratios.
- Sharing: guides in Markdown, HTML and PDF; before/after plates; APNG and GIF animations; copy to the clipboard.
- Strict specs: a typo stops the run with a list of every problem instead of saving a wrong or unredacted image. Clear exit codes.
- Diacritics: bundled Inter font, so Romanian, German, French and other Latin-script labels render correctly everywhere.
Privacy
- Redaction is solid.
redactpaints an opaque block. AInotate never uses blur to hide data: blur and pixelation can be reversed.blurandpixelateexist only to de-emphasize clutter, and a mark flagged"sensitive": trueis refused for them. - Automatic redaction is on for web shots.
shootscans the live page (text and input values) for emails, phone numbers, card numbers, IBANs, API keys, tokens, JWTs, password and personal-data fields, and blacks them out. On images it runs on OCR when you pass--privacy auto. You can allow-list your own addresses or add regexes. - It is best-effort. Detection misses things: text drawn in images or canvas, unusual formats, data split across elements, embedded frames from other sites (reported, not redacted). Always look at the image before you share it. The skill makes this check mandatory for agents.
- Local. Capture, OCR and rendering run on your machine. AInotate makes no network requests of its own beyond loading the pages you ask it to capture.
Platform support
Experimental means implemented and unit-tested with mocks, not yet verified on real Windows or Linux machines. Reports are welcome.
License
Copyright © 2026 DontPayFull. AInotate is free software under the GNU Affero General Public License v3.0 or later. If you run a modified AInotate as a network service, the AGPL requires you to offer its source to the users of that service.
Bundled and derived third-party work (the Inter font, arrow proportions from Arrowshot, a label-placement idea from github/awesome-copilot) and dependency licenses are listed in NOTICE.
Made with ❤️ by the DontPayFull team
Coupons & discount codes for 20,000+ stores
来源:README.md,提交 a922a23
工具
0版本历史
1- v0.1.7最新Oct 9, 2026


