annotating-screenshots

A browser-screenshot skill that captures page elements, measures their positions, and adds labels, arrows, or redactions before sharing the image.

In plain words
What is it for?
It helps highlight changed values, point to controls, label steps, and blur personally identifiable information in browser captures.
Why use it?
It avoids guessing where annotations should go and helps prevent personal or sensitive information from appearing in screenshots.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/m4ttstack/fast-browser/annotating-screenshots
Any agent
npx skills add m4ttstack/fast-browser --skill annotating-screenshots
Clone the repo
git clone --depth 1 https://github.com/m4ttstack/fast-browser

Made for: Claude Code, Codex.

Per session 47 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,794 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found 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 $0.00047 $0.03794
Opus 5 $0.00023 $0.01897
Sonnet 5 $0.00009 $0.00759
Haiku 4.5 $0.00005 $0.00379

Measured yesterday against content hash 39095db1b688, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

annotating-screenshots 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 yesterday.

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.

skills/annotating-screenshots/SKILL.md · 278 lines

How it starts

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

Annotating Screenshots

One capture-annotated.js call produces the PNG and the boxes together. Every number in the config comes from that one call. Nothing is estimated by reading the image, and nothing is typed by hand.

The pipeline

  1. Capture and measure in one call. browser_run_code_unsafe with the macro's installed path as filename, never a bare name: a relative filename is resolved against the browser server's own working directory and then checked for containment, so a bare name fails before the macro runs. Pass the Script: path from ~/.fast-browser/macros/MACROS.md, ~/.fast-browser/macros/capture-annotated.js, with ~ written out as your own absolute home directory path. Then args: { targets: { <key>: '<selector>' }, out: '<name>', home: '<your $HOME>' }. The macro cannot read $HOME itself, so pass your own absolute home directory path there too. targets is for elements: the values you mark and anything an arrow points at. The empty space a label sits in is usually not an element, so the macro measures that for you: the return's space map gives each resolved key up to four verified-empty bands ({ side, box }, sides above/below/left/right, a side omitted wherever no empty room of useful size exists). What that verification covers, and the blind spots it cannot, is stated under Composition. You cannot add a key after the call. Under the default safe profile this prompts for approval every time. Expect the prompt; it is not a failure.
  2. Write the config from that call's return value.
  3. Draw: fast-browser annotate <config-path>.
  4. Read the output PNG yourself before reporting: nothing clipped at an edge, nothing covering content it should not, blurred text genuinely illegible. Then report the output name and every missed key.

If ~/.fast-browser/macros/capture-annotated.js is absent, run fast-browser setup to install it. Do not write a substitute script.

Read the full file on GitHub · 278 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. yesterday First seen · 278 lines · 47 tokens per session scan A 39095db1b688

Subscribe to this mod's changes

annotating-screenshots is a skill published in the GitHub repository m4ttstack/fast-browser (0 stars, last pushed 7d ago), licensed MIT. It adds 47 tokens to every session and 3,794 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

webcmd-adapter-author

Use when writing a Webcmd adapter for a new site or adding a new command to an existing site. Guides end-to-end from first recon through field decoding, adapter coding, and verify. Replaces webcmd-oneshot / webcmd-explorer. For ad-hoc browser driving without an adapter, use webcmd-browser instead; for top-level…

agentrhq/webcmd · 84 tokens

webcmd-browser

Use when no deterministic Webcmd adapter command covers a live browser task requiring Playwright interaction, authenticated handoff, visible UI verification, or ad-hoc page inspection.

agentrhq/webcmd · 37 tokens

webcmd-usage

Use at the start of any Webcmd session. This is the top-level map of what webcmd can do, how to discover adapters, what flags and output formats are universal, and which specialized skill to load next. Point here when an agent asks "what can webcmd do?" or "how do I find the right command?".

agentrhq/webcmd · 74 tokens

webcmd-autofix

Automatically fix broken Webcmd adapters when commands fail. Load this skill when a webcmd command fails; it guides you through collecting a trace artifact, patching the adapter, retrying, and safely reporting reproducible upstream defects. Works with any AI agent.

agentrhq/webcmd · 57 tokens

smart-search

Use when a request needs search, research, source discovery, direct URL fetch, the first-choice Webcmd fetch path, evidence fetching, or search-capable Webcmd adapter discovery.

agentrhq/webcmd · 39 tokens

webcmd-sitemap-author

Use when creating or maintaining Webcmd site sitemaps: agent-facing navigation, page-state, action, workflow, API-reference, pitfall, and fallback knowledge for a website. Use after browser exploration discovers durable site context, when a sitemap is stale, or when promoting local site knowledge into the repo.

agentrhq/webcmd · 67 tokens