picode: Skill for Claude Code

.pi/skills/visual-review/SKILL.md

visual-review is a skill for Claude Code, Codex from cfpperche/picode. It costs 48 tokens per session (862 once invoked), scanned A, original, Apache-2.0.

A visual quality gate for checking a user interface with screenshots. It requires checking empty, blocked, and error states as well as the normal successful state, and requires the screenshot itself to be read.

In plain words
What is it for?
Use it to capture and inspect UI screenshots, including empty, blocked, error, and successful states, and to check for clipped content.
Why use it?
It prevents visual checks from passing based only on machine-generated results or a single happy-path screen. Skipping the review causes the wider quality gate to fail.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions AGENTS.md.

This is cfpperche/picode's own configuration. It tells Claude Code and Codex how to work on picode itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything picode configures →

Reuse

Borrowing it

Nothing to install: this file belongs to cfpperche/picode. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/cfpperche/picode/main/.pi/skills/visual-review/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/cfpperche/picode

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for visual-review

README.md
[![agentmods](https://agentmods.dev/badge/skills/cfpperche/picode/visual-review/github.svg)](https://agentmods.dev/skills/cfpperche/picode/visual-review)
Your own site
<a href="https://agentmods.dev/skills/cfpperche/picode/visual-review"><img src="https://agentmods.dev/badge/skills/cfpperche/picode/visual-review/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for visual-review

Your own site · 80×15
<a href="https://agentmods.dev/skills/cfpperche/picode/visual-review"><img src="https://agentmods.dev/badge/skills/cfpperche/picode/visual-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 862 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00048 $0.00862
Opus 5.5 $0.00019 $0.00345
Sonnet 5.5 $0.00010 $0.00172
Haiku 4.5 $0.00005 $0.00086

Measured 1mo ago against content hash 6d1d76958bd4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

visual-review 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 1mo ago.

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.

.pi/skills/visual-review/SKILL.md · 94 lines

How it starts

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

Visual review

Code review cannot see pixels. eval JSON cannot see pixels. This skill is the only valid visual verdict.

Instant FAIL (do not commit)

Any one of these on a captured screenshot or geometry audit:

  1. Clipped overlay — menu, popover, toast, slash list cut by the viewport
  2. Unreadable items — labels truncated to meaninglessness, date wrapping into sludge
  3. Occlusion — a control covered so it cannot be used
  4. Double scrollbar on one surface
  5. Dead hover — primary action paints the same color as its parent
  6. Geometry clip — overlayAudit reports ok: false
  7. Uneven row — [data-align-row] children differ in height or top by more than 1px (toolbar/filter lines). Untagged rows are invisible to the auditor — mark them.

If you noticed a defect in reasoning and still said done, that is a contract violation (AGENTS.md honesty). Fix it or emit FAIL. Never ship it.

States (list / manager pages)

Happy-path-only is FAIL. Capture and read at least:

  • empty (zero items)
  • blocked (missing dependency / cannot act)
  • one overlay if the flow has one

Where the evidence lives (ADR-0086)

Screenshots you read stay in var/screenshots/ (gitignored). They are not committed: docs/screenshots/ is frozen history. The audit trail is the visual-review: line in your reply and in docs/handoff/<date>-<branch>.md.

The loop

  1. Serve a scratch instance of the rebuilt binary (scripts/qa-scratch.sh start <name>), never production.
  2. Act with agent-browser (open the surface, click the control).
  3. Measure after every overlay opens:
agent-browser eval 'JSON.stringify(window.__picodeOverlayAudit())'

ok: false → FAIL. Do not proceed to a verbal PASS.

  1. Capture a full-viewport PNG (agent-browser screenshot).
  2. Read the PNG with the read tool. Zoom mentally: edges, overflow, contrast, hierarchy.
  3. Answer the card (required in the reply, before "done"):

Read the full file on GitHub · 94 lines

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. 1mo ago First seen · 94 lines · 48 tokens per session scan A 6d1d76958bd4

Subscribe to this mod's changes

visual-review is a skill published in the GitHub repository cfpperche/picode (13 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 48 tokens to every session and 862 once invoked, about $0.0002 per session on Opus 5.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-09-12.

Related

Other skills, from other repositories

verify

Exercise the real app/API/CLI and collect observable evidence; tests alone do not count as end-to-end verification.

Hmbown/CodeWhale · 25 tokens

webapp-testing

Start/reuse a local app, wait for readiness, inspect rendered state/console/network, act from observed selectors, and verify with evidence.

Hmbown/CodeWhale · 32 tokens

site-preship-review

Use before publishing or relaunching any website — six parallel single-dimension reviewers (design, mobile, states, user flows, launch prep, security & infra) that render and look at every page, then one or two fix passes. Includes launch-readiness and rendered-page checks.

mtarcure/claude-vibe-squad · 62 tokens

design-review-workflow

Enforces one structured end-of-build design/QA pass — never per-task — on the release build: a screenshot sweep matrix (every screen × light/dark × LTR+RTL × largest text scale × reduce-motion) plus an on-device pass on real cheap target hardware, findings graded BLOCKER/FIX/NOTE with every accessibility-floor…

zakariaf/Flutter-Skills · 0 tokens

ux-grill

Use when a running web app's UX has to be audited reproducibly rather than by feel — a deterministic mechanical pass over routes and viewports (axe, target size, horizontal overflow, page title, scripted journeys) followed by a screenshot-grounded interrogation of the operator, journey by journey, with two persona…

Kanevry/session-orchestrator · 125 tokens

factory-render-verify

Render-and-measure receipts for any HTML page your factory builds — the render half of the design quality gate. Engineer runs it to screenshot every screen size and MEASURE what a source read or a single screenshot only guesses at: horizontal overflow, computed type sizes, tap-target sizes, safe-area presence, mono…

squidbay/factory · 133 tokens