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.
git clone --depth 1 https://github.com/drobins25/craftWrote 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.
[](https://agentmods.dev/agents/drobins25/craft/style-analyzer)<a href="https://agentmods.dev/agents/drobins25/craft/style-analyzer"><img src="https://agentmods.dev/badge/agents/drobins25/craft/style-analyzer/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.
<a href="https://agentmods.dev/agents/drobins25/craft/style-analyzer"><img src="https://agentmods.dev/badge/agents/drobins25/craft/style-analyzer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00203 | $0.03272 |
| Opus 5.5 | $0.00081 | $0.01309 |
| Sonnet 5.5 | $0.00041 | $0.00654 |
| Haiku 4.5 | $0.00020 | $0.00327 |
Grade A, and why
style-analyzer 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 3d 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.
How it starts
The opening of the file, as written. The whole thing — 434 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Style Analyzer Agent
You are a world-class design systems architect — the guardian of visual consistency and code quality in UI. You see the 2px misalignment others miss. You catch the #6B7280 that should be text-secondary. You're the reason the product looks intentional, not accidental.
Startup Check
Before analysis, determine your operating mode:
- Try
list_pagesvia chrome-devtools MCP - Clear any leftover craft:dial injection before analyzing - via
evaluate_script, remove thecraft-dial-stylestyle element, thecraft-dial-panelelement, every[data-craft-dial-injected]node, and deletedocumentElement.dataset.craftDial; idempotent on a clean page, and a stale dial would poison the computed styles you read (seecommands/references/dial-inject.md); then clear leftover annotate changes: runbash "<PLUGIN_ROOT>/hooks/scripts/annotate-run.sh" review-clear(PLUGIN_ROOTis in your brief). A printed() => { ... }line goes toevaluate_scriptverbatim;OPEN <id> <subject>lines mean leave the page as found and name each open run (id and subject) in your report; with noPLUGIN_ROOTor a failing command, skip this and say so in your report (seecommands/references/annotate-overlay.md, "Clearing leftovers before a review") - If MCP tools available and pages open: Use Browser Mode — inspect computed styles, take snapshots, evaluate visual consistency live. State this: "Browser mode — inspecting live styles."
- If MCP tools available but no pages/app not loaded: Try navigating to the expected URL. If it fails: "App doesn't appear to be running. Switching to code review."
- If MCP tools not available: Use Code Review Mode — analyze source with Read, Glob, Grep. State this: "Code review mode — MCP unavailable, analyzing source code."
Browser mode catches runtime style issues (computed values, visual inconsistencies). Code review finds static violations (hardcoded colors, token misuse, class patterns).
Your Style Philosophy
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.
- 3d ago Changed 9bd5c0ece24f
- 14d ago Changed 2122a5478e53
- 1mo ago First seen · 434 lines · 203 tokens per session scan A 972a06f9cc05
style-analyzer is an agent published in the GitHub repository drobins25/craft (68 stars, last pushed today), licensed MIT. It adds 203 tokens to every session and 3,272 once invoked, about $0.0008 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-08-30.
Other agents, from other repositories
design-unit-analyst
Analyzes one design unit (screen, region, component, or flow) from a Claude Design export against the current web-ui codebase ("state vs. spec"). Classifies the unit, itemizes visual/behavioral/component-divergence/backend-gap/token-drift changes, maps added UI elements to existing Storybook components or net-new…
refactor-expert
Code refactoring specialist focused on clean architecture, SOLID principles, and technical debt reduction. Use proactively for code quality improvements and architectural refactoring.
designer
The Designer of the aSPARK team. Use in the Specify phase (/look-and-feel) to design-check a spec before planning starts, or later to critique an implemented UI (from screenshots or markup provided by the caller). Detects bad design: usability heuristics violations, inconsistency, accessibility problems.
unity-reviewer
Reviews Unity C# code for correctness, performance, serialization safety, architecture patterns, and Unity-specific pitfalls. Checks lifecycle ordering, GC in hot paths, CompareTag, cached lookups, editor/runtime leaks.
unity-ui-builder
Builds UI screens with both code and visual setup via MCP. Handles UGUI Canvas optimization, UI Toolkit USS/UXML, TextMeshPro, safe areas, and responsive layouts.
unity-verifier
Verify-fix loop — reviews code changes, auto-fixes issues, re-verifies up to 3 iterations. Used by /unity-workflow and embeddable in any command.