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 toverux/cantrips --skill ca-compoundgit clone --depth 1 https://github.com/toverux/cantripsWrote 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/toverux/cantrips/ca-compound)<a href="https://agentmods.dev/skills/toverux/cantrips/ca-compound"><img src="https://agentmods.dev/badge/skills/toverux/cantrips/ca-compound/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/toverux/cantrips/ca-compound"><img src="https://agentmods.dev/badge/skills/toverux/cantrips/ca-compound.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.00101 | $0.01640 |
| Opus 5.5 | $0.00040 | $0.00656 |
| Sonnet 5.5 | $0.00020 | $0.00328 |
| Haiku 4.5 | $0.00010 | $0.00164 |
Grade A, and why
ca-compound 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 — 69 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Harvest what this session learned so future sessions inherit it. Only knowledge that compounds gets written; every write is approved first, by the user or by a deputy engaged in their place.
Choosing the job
This skill does one of two jobs.
Refresh audits the stores already written against the current code, and runs only where the user's own request asks for it — /ca-compound refresh, or asking to audit, clean up or garbage-collect the stores: read refresh.md and follow it instead of the rest of this file.
Anything else is a capture, the rest of this file — a caller's invocation included, and a request whose context merely mentions refreshing.
1. Scan the session
Sweep the whole session for candidates: corrections the user made and preferences they stated, conventions that emerged, durable decisions settled or reversed, gotchas and root causes uncovered, approaches that failed and why, domain terms coined or clarified ("we call this X, not Y"), and workflow friction a procedure could remove.
2. Apply the quality bar
For each candidate, two questions: would this change a future agent's behavior in a different session, and is it non-obvious and stable? Any "no" → discard.
This bar is the defence against the eager-auto-memory failure mode: session-specific trivia — in-flight task state, one-off values, things any agent would infer anyway — must die here.
Read the repo's loop config, docs/agents/cantrips-loop.md, if present: where it keeps the roadmap in GitHub issues, or where this session parked a roadmap candidate in another repo, the round also drains the roadmap inbox as /ca-roadmap's REFERENCE.md says for this round; its hits are /ca-roadmap's own writes, made without asking, and only its proposals join step 4's gate.
If neither the bar nor the drain leaves anything, say so in one line and stop.
3. Route each survivor
- Project
AGENTS.md— durable shared preferences and conventions, cheap enough to always load. Domain terms go in its glossary section; when the glossary outgrowsAGENTS.md, propose graduating it to aCONCEPTS.mdfile. docs/adr/(opt-in store) — durable decisions: a project-shaping choice settled among live alternatives — whereAGENTS.mdholds preferences anddocs/solutions/holds problem-shaped learnings. One record per decision, peradr-format.md. Reversing a standing decision routes as a pair — a new ADR plus the status flip on the superseded record.docs/solutions/(opt-in store) — problem-shaped learnings: root cause, gotcha, what didn't work. One small file per solved problem, persolutions-format.md. Expensive knowledge, loaded on demand.- Project-local rules — path-scoped project conventions, when the project uses rules files.
- Skills — project-specific procedures → the project's skills directory (
.claude/skills/on Claude Code, or the harness's equivalent); generic workflow improvements → the user's personal skills collection, if configured. - User-global memory file (
~/.claude/CLAUDE.mdon Claude Code,~/.codex/AGENTS.mdon Codex CLI, or the harness's equivalent) — personal-only preferences, and the staging area to trial a candidate durable preference before graduating it to a shared file.
What ships with it
4 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.
- 2d ago First seen · 69 lines · 0 tokens per session scan A ec03b69cd15f
ca-compound is a skill published in the GitHub repository toverux/cantrips (3 stars, last pushed 3d ago), licensed MIT. It adds 101 tokens to every session and 1,640 once invoked, about $0.0004 per session on Opus 5.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-12-02.
ca-compound compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| ca-compoundtoverux/cantrips | Skill | 3 | 3d ago | MIT | A | 101 | Claude Code, Codex |
| memory-doctorMagnifico4625/locus | Skill | 15 | 8d ago | MIT | A | 45 | Claude Code |
| tools-codebase-memoryalexei-led/architect | Skill | 2 | 13d ago | MIT | A | 152 | Claude Code, Codex |
| context-engineeringOutlineDriven/odin-claude-plugin | Skill | 40 | 2mo ago | Apache-2.0 | A | 37 | Claude Code, Codex |
| vibe-debugging-journalmracal/vibe-engineering | Skill | 3 | 1mo ago | MIT | A | 33 | Claude Code |
| browserwing-adminMemTensor/MemOS | Skill | 13k | yesterday | Apache-2.0 | B | 47 | Claude Code, Codex |
| memory-recallzilliztech/memsearch | Skill | 3.0k | yesterday | MIT | A | 38 | Claude Code, Codex |