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 skills add marcusrbrown/systematic --skill compound-docsgit clone --depth 1 https://github.com/marcusrbrown/systematicWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/marcusrbrown/systematic/compound-docs)<a href="https://agentmods.dev/skills/marcusrbrown/systematic/compound-docs"><img src="https://agentmods.dev/badge/skills/marcusrbrown/systematic/compound-docs/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/marcusrbrown/systematic/compound-docs"><img src="https://agentmods.dev/badge/skills/marcusrbrown/systematic/compound-docs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What 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.1 | $0.00017 | $0.03446 |
| Opus 5.5 | $0.00007 | $0.01378 |
| Sonnet 5.5 | $0.00003 | $0.00689 |
| Haiku 4.5 | $0.00002 | $0.00345 |
Grade A, and why
compound-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 yesterday.
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.
This is a copy
97% identical to compound-docs — 228 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 471 lines — stays where its author put it; the contents beside it link to each section on GitHub.
compound-docs Skill
Purpose: Automatically document solved problems to build searchable institutional knowledge with category-based organization (enum-validated problem types).
Overview
This skill captures problem solutions immediately after confirmation, creating structured documentation that serves as a searchable knowledge base for future sessions.
Organization: Single-file architecture - each learning documented as one markdown file in the category directory its problem_type maps to (e.g., docs/solutions/performance-issues/n-plus-one-report-queries.md). Files use YAML frontmatter for metadata and searchability.
Two tracks: The problem_type decides the track. The bug track documents a defect that was diagnosed and fixed, and requires symptoms, root_cause and resolution_type. The knowledge track documents a practice, pattern, convention or workflow decision, and needs none of those. The track lists live in references/schema.yaml.
Prerequisites: The problem has been solved and the solution has been verified working, or the guidance has been confirmed. Do not document in-progress investigations as finalized solutions.
<critical_sequence name="documentation-capture" enforce_order="strict">
7-Step Process
Auto-invoke after phrases:
- "that worked"
- "it's fixed"
- "working now"
- "problem solved"
- "that did it"
OR manual: Invoke the ce:compound skill directly
Non-trivial problems only:
- Multiple investigation attempts needed
- Tricky debugging that took time
- Non-obvious solution
- Future sessions would benefit
Skip documentation for:
- Simple typos
- Obvious syntax errors
- Trivial fixes immediately corrected
Decide the track first: a fixed defect is the bug track, and a practice or decision worth keeping is the knowledge track. Then extract from conversation history:
What ships with it
3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- yesterday Changed · +1 lines e4bd4343d10c
- 11d ago Changed · -49 lines df21ac14c9ab
- 17d ago Changed · +8 lines 19e42c36eaf3
- 2mo ago First seen · 511 lines · 17 tokens per session scan A afcebfce055d
compound-docs is a skill published in the GitHub repository marcusrbrown/systematic (28 stars, last pushed today), licensed MIT. It adds 17 tokens to every session and 3,446 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 97% identical to compound-docs, differing in 228 lines, and is treated as a copy.
compound-docs compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| compound-docsmarcusrbrown/systematic | Skill | 28 | today | MIT | A | 17 | Claude Code |
| plan-protocolkdcokenny/ocx | Skill | 981 | 1mo ago | MIT | A | 14 | Claude Code, Codex |
| plan-reviewkdcokenny/ocx | Skill | 981 | 1mo ago | MIT | A | 11 | Claude Code, Codex |
| opencode-ensemblehueyexe/opencode-ensemble | Skill | 253 | 19d ago | MIT | A | 42 | Claude Code, Codex |
| code-reviewkdcokenny/ocx | Skill | 981 | 1mo ago | MIT | A | 14 | Claude Code, Codex |
| code-philosophykdcokenny/ocx | Skill | 981 | 1mo ago | MIT | A | 32 | Claude Code, Codex |
| frontend-philosophykdcokenny/ocx | Skill | 981 | 1mo ago | MIT | A | 36 | Claude Code, Codex |