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/chakra-ui/ark/sync-docsgit clone --depth 1 https://github.com/chakra-ui/arkWhat 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.00014 | $0.00339 |
| Opus 5 | $0.00007 | $0.00169 |
| Sonnet 5 | $0.00003 | $0.00068 |
| Haiku 4.5 | $0.00001 | $0.00034 |
Grade A, and why
sync-docs 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.
What it actually says
Review the conversation history and identify patterns, best practices, and learnings from recent component development work. Then update the following files as needed:
Files to Update
-
@.claude/docs/component_patterns.md- Add new component patterns discovered
- Document common pitfalls and solutions
- Add best practices for component API usage
- Include documentation writing guidelines
-
@.claude/agents/component-example-creator.md- Update code quality standards based on learnings
- Add new documentation guidelines
- Include patterns for better example creation
-
@CLAUDE.md(if needed)- Update project-level guidance
- Add new principles or conventions
What to Include
Focus on generic, reusable patterns that will help with future component development:
- Component API access patterns (Context vs hooks)
- Common styling requirements
- Documentation writing best practices
- State management patterns
- Accessibility considerations
- Cross-framework consistency guidelines
What to Exclude
Skip component-specific implementations unless they represent a broader pattern that applies to multiple components.
Process
- Review recent work and identify patterns
- Read current documentation files to avoid duplication
- Add new sections or update existing ones with clear examples
- Use ✅ CORRECT / ❌ WRONG patterns for clarity
- Include rationale for why patterns are important
- Keep updates concise and actionable
After updating, provide a summary of what was added and why it will help future development work.
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 · 50 lines · 14 tokens per session scan A c78c8f9a4c85
sync-docs is a command published in the GitHub repository chakra-ui/ark (5,367 stars, last pushed 4d ago), licensed MIT. It adds 14 tokens to every session and 339 once invoked, about $0.0001 per session on Opus 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 commands, from other repositories
init
Initialize a project for on-brand Marmo UI generation — detect or interview for brand basics (layout, primary color, fonts, radius, spacing) and write a DESIGN.md if one doesn't exist.
override
Override an @marmoui/ui component or create a new custom component in the app's local ui/ folder — sets up the wrapper convention (src/ui/ re-exporting @marmoui/ui) on first run, then shadows or adds components without forking the package.
prototype
Scaffold a shareable Marmo prototype with the comments + AI-edit overlay pre-wired. Deploys to Netlify and returns a public URL reviewers can sign into with Claude.
design-md
Generate a portable DESIGN.md (brand color, type, tokens, component inventory) at the project root so any AI agent can generate on-brand UI.
marmo-build
Build UI with @marmoui/ui following the full MCP-backed workflow. Use for explicit "build this Marmo way" requests.
gt-workflow
Use Graphite (gt) instead of git for ALL branch and commit operations in this repository.