Borrowing it
Nothing to install: this file belongs to b1rdmania/ghostclaw. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/b1rdmania/ghostclaw/main/.claude/skills/design/commands/audit.mdgit clone --depth 1 https://github.com/b1rdmania/ghostclawWrote 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/commands/b1rdmania/ghostclaw/audit)<a href="https://agentmods.dev/commands/b1rdmania/ghostclaw/audit"><img src="https://agentmods.dev/badge/commands/b1rdmania/ghostclaw/audit/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/commands/b1rdmania/ghostclaw/audit"><img src="https://agentmods.dev/badge/commands/b1rdmania/ghostclaw/audit.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.00000 | $0.05692 |
| Opus 5.5 | $0.00000 | $0.02277 |
| Sonnet 5.5 | $0.00000 | $0.01138 |
| Haiku 4.5 | $0.00000 | $0.00569 |
Grade A, and why
audit 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.
How it starts
The opening of the file, as written. The whole thing — 723 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Design Audit Command
Trigger: /design audit [file]
Purpose: Two-layer audit - first checks config violations against .design.json, then evaluates technical design quality against Impeccable principles.
Two-Layer Audit Approach
Layer 1: Config Compliance
Check against project's .design.json rules - are you following your own design system?
Layer 2: Technical Quality Check against Impeccable design principles (reference docs) - is your design system itself good?
Key Insight: You can be compliant with your config but still have poor design quality. Both layers matter.
Usage
/design audit src/components/Button.tsx # Audit single file
/design audit src/pages/HomePage.tsx # Audit page component
/design audit # Audit recent changes (interactive)
Detailed Process
Layer 1: Config Compliance Check
-
Load Project Config
# Read .design.json from project root # If missing, offer to run `/design init` first -
Parse Target File
- Extract all design-related code (CSS, Tailwind classes, inline styles, design tokens)
- Build list of all design values used
-
Check Each Category
Typography Compliance
- Font families: Must be from
typography.fontFamily - Font sizes: Must be from
typography.fontSize - Font weights: Must be from
typography.fontWeight - Flag: Any arbitrary values like
text-[17px]or custom font names
Color Compliance
- All colors: Must be from
colorsarray - Check: hex values, rgb/rgba, Tailwind classes
- Flag: Any hardcoded colors like
#3B82F6orrgb(255,0,0)
Spacing Compliance
- Margins, padding, gaps: Must be from
spacingscale - Flag: Arbitrary values like
mt-[13px]orpadding: 15px
Border Radius Compliance
- All radius values: Must be from
borderRadius - Flag: Custom values like
rounded-[12px]
Shadow Compliance
- All box-shadow usage: Must be from
shadows - Flag: Inline shadow definitions
- Font families: Must be from
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.
- 1mo ago First seen · 723 lines · 0 tokens per session scan A ec8825b2d625
audit is a command published in the GitHub repository b1rdmania/ghostclaw (84 stars, last pushed 5mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 5,692 tokens. 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 commands, from other repositories
find
Quick gallery search. Use when user runs /meigen:find with keywords to browse inspiration.
checklist
Generate a custom checklist for the current feature based on user requirements.
clarify
Identify underspecified areas in the current feature spec by asking up to 5 highly targeted clarification questions and encoding answers back into the spec.
specify
Create or update the feature specification from a natural language feature description.
converge
Assess the current codebase against the feature's spec, plan, and tasks, then append any remaining unbuilt work as new tasks to tasks.md so implement can complete it.
implement
Execute the implementation plan by processing and executing all tasks defined in tasks.md.