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 ChianW/C31 --skill c31-compound-refreshgit clone --depth 1 https://github.com/ChianW/C31Wrote 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/chianw/c31/c31-compound-refresh)<a href="https://agentmods.dev/skills/chianw/c31/c31-compound-refresh"><img src="https://agentmods.dev/badge/skills/chianw/c31/c31-compound-refresh.svg" alt="Measured on agentmods" 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.00036 | $0.01992 |
| Opus 5 | $0.00018 | $0.00996 |
| Sonnet 5 | $0.00007 | $0.00398 |
| Haiku 4.5 | $0.00004 | $0.00199 |
Grade A, and why
C31-compound-refresh 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 6d 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 — 217 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Multilingual Triggers
| Language | Trigger phrases |
|---|---|
| EN | compound refresh, 清理知识库, 双周维护 |
| ZH | 更新知识库, 刷新文档 |
| JA | ドキュメント更新, 知識更新 |
Output language: Respond automatically in the user's conversation language.
C31-compound-refresh — Bi-weekly Knowledge Base Maintenance + Evolution Assessment
Headless health check for the C31 knowledge base. Runs automatically or on-demand to keep memory/ and skills/ fresh, and evaluates whether any skill needs evolution.
Trigger
- Headless: Cron — every 2 weeks, day 9 and 23, 02:00 Asia/Tokyo
- Manual: User says "compound refresh" / "清理知识库" / "双周维护"
What It Does
Scans five zones and emits a single report. No user interaction unless threshold breached.
Zone A: memory/solutions/
Stale signals:
- Confidence decay — compound_score ≥ 5 but last referenced > 90 days ago
- Obsolescence — solution references code paths, APIs, or files that no longer exist
Action: Mark status: review in frontmatter. If confirmed obsolete, redirect to newer solution or archive.
Zone B: memory/YYYY-MM-DD.md
Stale signal: File age > 90 days.
Action:
- Extract long-term value (decisions, solutions, patterns)
- Migrate worthy fragments to
memory/solutions/ormemory/moc/ - Mark file
status: archivedin a one-line header - Never delete — only redirect
Zone C: skills/*/SKILL.md
Stale signal: References files or paths that no longer exist (broken links).
Action:
- List broken references with skill name and missing path
- Do not auto-fix — user decides whether skill is obsolete or path changed
Zone D: .planning/STATE.md
Stale signals:
- Phantom DONE — task marked DONE but residual file exists in
memory/.planning/todos/residual-*.md - Ghost task — task exists but no parent plan file found
Action:
- Phantom DONE → downgrade status to
PENDING, link to residual file - Ghost task → flag for user review
What ships with it
1 file 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.
- 6d ago First seen · 217 lines · 36 tokens per session scan A 13e8fb446bbb
C31-compound-refresh is a skill published in the GitHub repository ChianW/C31 (1 stars, last pushed 11d ago), licensed MIT. It adds 36 tokens to every session and 1,992 once invoked, about $0.0002 per session on Opus 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-08-31.
Other skills, from other repositories
agent-v3-memory-specialist
Agent skill for v3-memory-specialist - invoke with $agent-v3-memory-specialist.
agent-collective-intelligence-coordinator
Agent skill for collective-intelligence-coordinator - invoke with $agent-collective-intelligence-coordinator.
agent-memory-coordinator
Agent skill for memory-coordinator - invoke with $agent-memory-coordinator.
agent-swarm-memory-manager
Agent skill for swarm-memory-manager - invoke with $agent-swarm-memory-manager.
memory-management
AgentDB memory system with HNSW vector search. Provides 150x-12,500x faster pattern retrieval, persistent storage, and semantic search capabilities for learning and knowledge management. Use when: need to store successful patterns, searching for similar solutions, semantic lookup of past work, learning from previous…
compare-harnesses
Diff two scaffolded harnesses (ADR-031). Reports manifest meta drift + host list + per-file fingerprint changes (added/removed/changed). Exits 0 IDENTICAL, 1 DRIFT, 2 missing manifest. Use --bundle for the ADR-031 schema-1 JSON envelope.