design-verify

design-verify is a skill for Claude Code from atretyak1985/swarmery. It costs 73 tokens per session (1,987 once invoked), scanned A, original, Apache-2.0.

A verification procedure that renders an implemented screen and compares its pixels with a reference design image.

In plain words
What is it for?
It helps check a local web screen at the design’s target viewport using an automated screenshot comparison.
Why use it?
It replaces visual guesswork with a report showing the difference count, affected regions, and side-by-side images.

Skill for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the design-pack plugin — 3 skills, 1 command, 1 agent shipped together

Good fit It helps check a local web screen at the design’s target viewport using an automated screenshot comparison.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add atretyak1985/swarmery
Claude Code
/plugin install design-pack

Made for: Claude Code.

Or install design-pack, the plugin that ships this one along with the rest of its 3 skills, 1 command, 1 agent.

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 design-verify

README.md
[![agentmods](https://agentmods.dev/badge/skills/atretyak1985/swarmery/design-verify/github.svg)](https://agentmods.dev/skills/atretyak1985/swarmery/design-verify)
Your own site
<a href="https://agentmods.dev/skills/atretyak1985/swarmery/design-verify"><img src="https://agentmods.dev/badge/skills/atretyak1985/swarmery/design-verify/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 design-verify

Your own site · 80×15
<a href="https://agentmods.dev/skills/atretyak1985/swarmery/design-verify"><img src="https://agentmods.dev/badge/skills/atretyak1985/swarmery/design-verify.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 73 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,987 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.00073 $0.01987
Opus 5.5 $0.00029 $0.00795
Sonnet 5.5 $0.00015 $0.00397
Haiku 4.5 $0.00007 $0.00199

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

Security

Grade A, and why

design-verify 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 2mo 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.

plugins/design-pack/skills/design-verify/SKILL.md · 167 lines

How it starts

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

Purpose

Phase 6 of design-build, and the only place the measurement procedure is written down. Mechanical on purpose: six steps, run in order, every one of them producing something the operator can see.

1. Get a live target

Check that the app answers on design.devUrl. If it does not, start design.devCommand in the background, wait until the URL answers, and record that this process has to be stopped when verification finishes — a dev server left running outlives the task and confuses the next one.

Never point verification at a production origin. The target is the local dev URL from design.devUrl plus the route under test.

2. Run the diff

$SCRIPTS_DIR is the one resolved in design-build Step 0.3 (${CLAUDE_PLUGIN_ROOT}/scripts inside the pack, the skill's own scripts/ directory inside a standalone bundle).

node "$SCRIPTS_DIR/screenshot-diff.mjs" \
  --design <design path> \
  --url <design.devUrl + route> \
  --viewport <authoring viewport> \
  --threshold <design.diff.threshold> \
  --pixel-tolerance <design.diff.pixelTolerance> \
  --out .design-verify/report/<slug>

The viewport is the authoring breakpoint carried over from Phase 2, not a convenient one. Add --full-page when the screen is taller than the viewport and the part below the fold is in scope.

Exit codes: 0 ok, 1 bad arguments or unreadable input, 2 runtime failure (the render failed, or the URL was unreachable — check step 1 before blaming the diff), 3 the render runtime is not prepared: run ensure-runtime.mjs once while online, see design-build Step 0.3.

Artefacts written to the output directory: design.png, impl.png, diff.png, side-by-side.png, report.json.

3. Read report.json — regions before verdict

pass is a global percentage, and a global percentage cannot see small geometric drift. Measured on this pack's own runtime: a real 2px element shift scored diffPercent 0.02 against a threshold of 0.5 — that is pass: true on a screen that is visibly wrong.

Read the full file on GitHub · 167 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. 2mo ago Changed · -1 tokens per session 667a2231bbe5
  2. 3mo ago First seen · 167 lines · 74 tokens per session scan A eb331ba5178a

Subscribe to this mod's changes

design-verify is a skill published in the GitHub repository atretyak1985/swarmery (9 stars, last pushed today), licensed Apache-2.0. It adds 73 tokens to every session and 1,987 once invoked, about $0.0003 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-03.

Related

design-verify compared with skills from other repositories

design-verify next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
design-verifyatretyak1985/swarmerySkill9todayApache-2.0A73Claude Code
web-animation-designvercel-labs/open-agentsSkill5.9k3d agoMITA177Claude Code, Codex
frontend-ui-dark-tsmicrosoft/skillsSkill3.3ktodayMITA48Claude Code
living-ui-blockskirodotdev/KiroCrewSkill5.2ktodayApache-2.0A41Claude Code, Codex
anywhere-uianywhere-labs/Agents-AnywhereSkill4.0ktodayApache-2.0A46Claude Code, Codex
baseline-uivercel-labs/open-agentsSkill5.9k3d agoMITA48Claude Code, Codex
design-context-extractyonatangross/orchestkitSkill315todayMITA40Claude Code