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/alwkala/tidyfactor-design/clonegit clone --depth 1 https://github.com/alwkala/tidyfactor-designWhat 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.00347 |
| Opus 5 | $0.00000 | $0.00173 |
| Sonnet 5 | $0.00000 | $0.00069 |
| Haiku 4.5 | $0.00000 | $0.00035 |
Grade A, and why
clone 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
Command: clone — Reverse-Engineering & Design System Extraction
Runtime entry point for reverse-engineering an external website reference into a clean, code-native prototype design system.
Computed-Style Extraction Protocol
When reverse-engineering an existing brand reference:
- Computed Styles: Sample actual rendered hex values from
getComputedStyle()on key DOM elements (buttons, headers, body text) rather than visual guesses from screenshots. - Typography Declarations: Read exact font family names from
<link>tags and@font-facedeclarations. - Draft Confirmation: Always present extracted
brand.jsonv2 drafts back to the user for explicit confirmation before writing as final. - Token Isolation: Extract design system tokens ONLY — do not carry over source layout structure or literal copy text.
Dispatch Steps
- Load
references/memory/architecture.md— locked file tree layout and consistency rules. - Load
memory/03-narrative-conversion.md— token derivation rules. - Load
references/workflows/clone-prototype.md— execution sequence, multi-state diffing, and validation checklist. - Enforce 150-Line Complexity Budget Rule: split sections exceeding 150-line specs into sub-component tasks.
- Execute workflow steps per
clone-prototype.md.
Checklist
- Interaction models (
scroll-driven,click-driven,hover-driven) documented before building - Multi-state CSS transition diffs mapped to
tokens.css - Component specs written to
docs/research/components/ -
references/workflows/clone-prototype.mdvalidation checklist fully satisfied
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 · 27 lines · 0 tokens per session scan A 857435547414
clone is a command published in the GitHub repository alwkala/tidyfactor-design (5 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 347 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-31.
Other commands, from other repositories
github-issue
Create a GitHub issue from a natural language description.
test
Hello world test command.
discover
Run a full user research cycle — persona creation, empathy mapping, and journey mapping for a product or feature.
coograph-verify
Verify that the described work is complete and correct. Provide evidence for every claim. You verify — you do not implement or fix style.
api-gen
Generate REST API endpoints with routes, validation, error handling, and tests.
component-gen
Generate React or Vue components with prop types, styling, accessibility, and tests.