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.
npx agentmods add commands/b1rdmania/ghostclaw/applygit clone --depth 1 https://github.com/b1rdmania/ghostclawWhat 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 | $0.00000 | $0.02012 |
| Opus 5 | $0.00000 | $0.01006 |
| Sonnet 5 | $0.00000 | $0.00402 |
| Haiku 4.5 | $0.00000 | $0.00201 |
Grade A, and why
apply 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 2d 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 — 294 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Design Apply
Generate new components using your design system configuration and best practices from Impeccable.
Purpose
Create new UI components that:
- Follow your design system rules (.design.json)
- Apply Impeccable principles (typography, color, spatial design, etc.)
- Avoid common anti-patterns
- Are production-ready with proper accessibility
When to Use
- Creating new components from scratch
- Scaffolding component variants (primary/secondary buttons, card types, etc.)
- Generating boilerplate that follows your design rules
- Prototyping new UI elements
How It Works
- Load Design System: Read
.design.json(or use minimal defaults) - Load Best Practices: Read relevant Impeccable references
- Generate Component: Create code following both layers
- Anti-Pattern Check: Verify no anti-patterns were introduced
- Return Code: Provide ready-to-use component code
Usage
/design-apply <component-type> [variant]
Examples:
/design-apply button
/design-apply button primary
/design-apply card
/design-apply modal
/design-apply form
What You Get
The command generates:
- Component Code: React/TypeScript component (or your framework)
- Design Notes: Why specific choices were made
- Accessibility: ARIA labels, keyboard nav, focus management
- Variants: Common variants (size, style, state)
- Usage Example: How to use the component
Design System Integration
The component will use:
- Your color palette from
.design.json - Your typography scale
- Your spacing system
- Your motion tokens (if defined)
- Your component-specific overrides
If no .design.json exists, uses sensible defaults from examples/minimal.json.
Best Practices Applied
Typography
- Proper font family from your design system
- Correct type scale for hierarchy
- Optimal line-height and letter-spacing
- Accessible font sizes (min 16px for body)
Color & Contrast
- WCAG AA contrast ratios (4.5:1 text, 3:1 UI)
- Semantic color usage (error = red, success = green)
- OKLCH for consistent perceived brightness
- Avoids anti-patterns (gray on colored backgrounds)
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.
- 2d ago First seen · 294 lines · 0 tokens per session scan A 4c63b083ce13
apply is a command published in the GitHub repository b1rdmania/ghostclaw (91 stars, last pushed 4mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,012 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
screenshot
Create a design based on screenshot.
kim-ui2code
Kim截图转代码命令 - Gemini看图分析 + Claude技术方案 + Codex代码生成 + Gemini代码审查.
bolder
Amplify personality — raises layout variance and motion, strengthens typography and one signature detail, without slop. Use when the UI works but feels safe, flat, or "template-y", or when the user says "bolder", "more personality", "more creative", or "make it pop" (still professional).
polish
Final quality pass: alignment, spacing, consistency, design system adherence, typography, interaction states, and code cleanup. Replaces polish + normalize + distill.
color-palette
Generate an accessible colour palette from a hex value.
ux-recommend
The v2 flagship. Runs the 5-parallel-search Python engine across 11 data manifests (75+ styles, 170+ palettes, 65+ type pairs, 120+ components, 170+ industries, 110+ UX laws, 50+ motion presets, 120+ anti-patterns, 92 brand specs) and returns a complete recommended design system for your project — with always-on…