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/catlog22/claude-code-workflow/codify-stylegit clone --depth 1 https://github.com/catlog22/Claude-Code-WorkflowWhat 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.00030 | $0.06574 |
| Opus 5 | $0.00015 | $0.03287 |
| Sonnet 5 | $0.00006 | $0.01315 |
| Haiku 4.5 | $0.00003 | $0.00657 |
Grade C, and why
workflow:ui-design:codify-style scanned grade C with 1 finding 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.
Recursive force deletehighDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
Bash(rm -rf .workflow/${temp_id}) How it starts
The opening of the file, as written. The whole thing — 653 lines — stays where its author put it; the contents beside it link to each section on GitHub.
UI Design: Codify Style (Orchestrator)
Overview & Execution Model
Fully autonomous orchestrator: Coordinates style extraction from codebase and generates shareable reference packages.
Pure Orchestrator Pattern: Does NOT directly execute agent tasks. Delegates to specialized commands:
/workflow:ui-design:import-from-code- Extract styles from source code/workflow:ui-design:reference-page-generator- Generate versioned reference package with interactive preview
Output: Shareable, versioned style reference package at .workflow/reference_style/{package-name}/
Autonomous Flow (⚠️ CONTINUOUS EXECUTION - DO NOT STOP):
- User triggers:
/workflow:ui-design:codify-style <path> --package-name <name> - Phase 0: Parameter validation & preparation → IMMEDIATELY triggers Phase 1
- Phase 1 (import-from-code) → Attach 4 tasks → Execute tasks → Collapse → Auto-continues to Phase 2
- Phase 2 (reference-page-generator) → Attach 4 tasks → Execute tasks → Collapse → Auto-continues to Phase 3
- Phase 3 (cleanup & verification) → Execute orchestrator task → Reports completion
Phase Transition Mechanism:
- Phase 0 (Validation): Validate parameters, prepare workspace → IMMEDIATELY triggers Phase 1
- Phase 1-2 (Task Attachment):
Skillinvocation ATTACHES tasks to current workflow. Orchestrator EXECUTES these tasks itself. - Task Execution: Orchestrator runs attached tasks sequentially, updating TodoWrite as each completes
- Task Collapse: After all attached tasks complete, collapse them into phase summary
- Phase Transition: Automatically execute next phase after collapsing completed tasks
- No user interaction required after initial command
Auto-Continue Mechanism: TodoWrite tracks phase status with dynamic task attachment/collapse. After executing all attached tasks, you MUST immediately collapse them, restore phase summary, and execute the next phase. No user intervention required. The workflow is NOT complete until reaching Phase 3.
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 · 653 lines · 30 tokens per session scan C 9c9426077d44
workflow:ui-design:codify-style is a command published in the GitHub repository catlog22/Claude-Code-Workflow (2,135 stars, last pushed 2mo ago), licensed MIT. It adds 30 tokens to every session and 6,574 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other commands, from other repositories
verify-claim
Walk a claim through the SIFT method (Stop, Investigate, Find better coverage, Trace).
beat-brief
Draft a daily beat briefing from the files in sample-docs/.
cross-review
Run GitHub Copilot CLI and OpenAI Codex against the current git diff for cross-model review.
step-research
Always research before proposing a fix. The Untether bug you're chasing is often a known upstream engine quirk, a previously-fixed regression, or a documented config gotcha.
whats-next
Show current project status and suggest next steps.
ox-session-pause
belongs in the ox CLI JSON output (guidance field), not here. Skills are agent-specific wrappers; ox serves all agents (Codex, etc.). --> Suspend the current session recording. Local cache continues to receive entries, but the upload at stop time will exclude the suspended range.