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 agents/caspian-sun/claude-code-workflow/readmegit clone --depth 1 https://github.com/Caspian-Sun/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.00000 | $0.00901 |
| Opus 5 | $0.00000 | $0.00451 |
| Sonnet 5 | $0.00000 | $0.00180 |
| Haiku 4.5 | $0.00000 | $0.00090 |
Grade A, and why
README 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 — 73 lines — stays where its author put it; the contents beside it link to each section on GitHub.
agents/ — Sub-Agent Definitions
Specialized agents spawned by main commands via the
Agenttool, each running in an independent context, supporting parallelism without polluting the main session.
File Manifest
| Agent | Responsibility | Spawned By |
|---|---|---|
| test-writer.md | Generate tests for specified source files (reads @rules → writes it() per rule) |
After /code completes / /test for multi-module parallelism |
| code-reviewer.md | Read-only review of a file/directory, outputs issue list | /review splitting large directories / pre-PR self-check |
| bug-fixer.md | Fix a single bug (from bug-report) | /fix for parallel handling of multiple bug reports |
| meta-auditor.md | God-mode meta-audit, scans the entire codebase for inconsistencies/drift/dead links, outputs report to docs/retrospectives/ |
Triggered by /meta-audit command |
Sub-Agents vs. Slash Commands
| Slash Commands (commands/) | Sub-Agents (agents/) | |
|---|---|---|
| Runs in | Main context | Independent context (created at spawn time) |
| Parallel | No, serial execution | Yes, multiple agents can run concurrently |
| Memory | Full main session visible | Only sees the passed-in prompt |
| Output | Written directly to main session | Returns a summary to main agent |
| Best for | User-triggered workflows | Independent sub-tasks spawned inside main commands |
Why sub-agents:
- Parallel acceleration — 5 independent bugs reported in tests → spawn 5
bug-fixeragents in parallel, 5× faster than serial - Protect main context — reviewing a large directory reads many files; stuffing that into main context quickly overflows; let sub-agents run and return summaries
- Responsibility isolation — sub-agents only see the passed-in prompt, free from main session pollution, producing more focused output
Agent MD File Format
---
name: <agent-name> # Unique identifier, matches filename
description: <one sentence> — when to spawn # Main agent uses this to decide whether to use it
tools: [Read, Edit, Write, Bash, Grep, Glob] # Optional, inherits by default
---
# <agent-name>
<Complete system prompt: role / input / execution steps / output format / boundaries>
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 · 73 lines · 0 tokens per session scan A 2191b5302607
README is an agent published in the GitHub repository Caspian-Sun/claude-code-workflow (10 stars, last pushed 5d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 901 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 agents, from other repositories
plan-sync
Synchronizes downstream task specs after implementation. Spawned by flow-next-work once per resolved wave. Do not invoke directly.
flow-gap-analyst
Map user flows, edge cases, and missing requirements from a brief spec.
observability-scout
Used by /flow-next:prime to scan for observability setup including logging, tracing, metrics, and health endpoints. Do not invoke directly.
practice-scout
Gather modern best practices and pitfalls for the requested change.
check
Code quality auditor for the Trellis channel runtime. Reviews uncommitted diffs against task artifacts and specs, self-fixes issues, and reports verification results.
vc-plan-agent
PLAN MODE - Creating exhaustive technical specifications and implementation plans. Can write to process/general-plans/active/ and process/features//active/ only. Use after approach is decided.