measure

measure is a command for Claude Code from dork-labs/dorkos. It costs 22 tokens per session (594 once invoked), scanned A, original, MIT.

A command for measuring a rendered web page against defined design-review standards. It can inspect routes, pull-request changes, playground pages, screenshots, viewports, themes, and interface states without modifying the project.

In plain words
What is it for?
Use it to measure changed web interfaces across specified routes and display sizes, including light and dark modes, and to review screenshot-only changes.
Why use it?
It creates a repeatable way to find visual or layout problems and to report missing screenshots or runnable targets.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths.

Part of the flow plugin — 44 skills, 45 commands, 5 agents, 4 hooks, 1 plugin shipped together

Good fit Use it to measure changed web interfaces across specified routes and display sizes, including light and dark modes, and to review screenshot-only changes.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/dork-labs/dorkos/measure
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.

Clone the repo
git clone --depth 1 https://github.com/dork-labs/dorkos

Made for: Claude Code.

Or install flow, the plugin that ships this one along with the rest of its 44 skills, 45 commands, 5 agents, 4 hooks, 1 plugin.

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 measure

README.md
[![agentmods](https://agentmods.dev/badge/commands/dork-labs/dorkos/measure/github.svg)](https://agentmods.dev/commands/dork-labs/dorkos/measure)
Your own site
<a href="https://agentmods.dev/commands/dork-labs/dorkos/measure"><img src="https://agentmods.dev/badge/commands/dork-labs/dorkos/measure/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 measure

Your own site · 80×15
<a href="https://agentmods.dev/commands/dork-labs/dorkos/measure"><img src="https://agentmods.dev/badge/commands/dork-labs/dorkos/measure.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 22 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 594 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.00022 $0.00594
Opus 5.5 $0.00009 $0.00238
Sonnet 5.5 $0.00004 $0.00119
Haiku 4.5 $0.00002 $0.00059

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

Security

Grade A, and why

measure 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.

.claude/commands/ui-audit/measure.md · 44 lines

How it starts

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

Measure the rendered page

Target: $ARGUMENTS

Read .claude/skills/auditing-ui/SKILL.md §3 ("Measure the rendered page") and §8 (design review of one change), and contributing/design-review.md, then follow them. This command adds only what is specific to one measured pass.

Contract

  1. Look, don't touch. The browser-leg rules in skill §3 bind here unchanged: your own port (never :6242 or :6241, and never :4242, the operator's own app), a standalone script, no mutating clicks, and an explicit degrade when nothing is runnable.

  2. Resolve the target. A URL plus routes is measured as given. pr:<number> means: read the PR's diff, name the routes and dev playground pages its changed components render on, and measure those. When the PR only carries screenshots, review those and list the viewports, themes and states it is missing; a missing phone capture is itself a finding (design-review §8.1).

  3. Run the script with the full capture matrix (its defaults) into the session scratchpad, never into the repo: node .agents/skills/auditing-ui/assets/measure/measure.mjs --url <url> --routes <routes> --out <scratchpad>/measure --modes base,contrast-more,forced-colors,reduced-motion --focus-walk 12

  4. Confirm before filing. Open summary.md, then the screenshot behind every Blocker and a sample of the rest. Trace each confirmed flag to the file:line that sets the value. Drop what the picture contradicts, and say why.

  5. Judge the unmeasured rules by eye from the same screenshots: hierarchy, states, motion (the reduced-motion captures), copy and system fit (design-review §1, §5, §6, §9 and §10).

  6. Report in the sign-off format at the end of contributing/design-review.md, Blockers first. Each item gives the issue, the rule (§), the measured value against its floor, the file:line, and the fix. State the capture matrix that ran and anything skipped. On a PR, post it in the PR thread only when asked to; otherwise return it. This command writes no code and files nothing.

Read the full file on GitHub · 44 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 · 44 lines · 22 tokens per session scan A 9a08f5ca033b

Subscribe to this mod's changes

measure is a command published in the GitHub repository dork-labs/dorkos (11 stars, last pushed today), licensed MIT. It adds 22 tokens to every session and 594 once invoked, about $0.0001 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-10-25.

Related

measure compared with commands from other repositories

measure next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
measuredork-labs/dorkosCommand11todayMITA22Claude Code
rulesjohn-broadway/maude-for-claudeCommand33d agoAGPL-3.0A60Claude Code
p3-ux-wireframesjonase47/ccprCommand12mo agoMITA0Claude Code
p6-a11yjonase47/ccprCommand12mo agoMITA0Claude Code
pwnedmukul975/ThreatswarmCommand1037mo agoMITC18Claude Code
diagram-from-urlmanutej/luxor-claude-marketplaceCommand645mo agononeA12Claude Code
designerjazz-max/ruflo-hubCommand43mo agononeA0Claude Code