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/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/chianw/c31/c31-compound-refresh"><img src="https://agentmods.dev/badge/skills/chianw/c31/c31-compound-refresh.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.00036 | $0.01992 |
| Opus 5.5 | $0.00014 | $0.00797 |
| Sonnet 5.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 1mo 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.
- 1mo 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 2mo ago), licensed MIT. It adds 36 tokens to every session and 1,992 once invoked, about $0.0001 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-08-31.
Other skills, from other repositories
wiki-ingest
Use when an operation issue asks to ingest a captured raw/ source into the LLM Wiki, or the user says "ingest ". Create durable source, entity, concept, synthesis, index, and log pages; use paperclip-distill for Paperclip bundles.
wiki-lint
Use when an LLM Wiki operation issue is a lint or health check. Audit for contradictions, orphans, weak provenance, broken links, missing concept pages, and index/log drift; return triage findings without auto-fixing.
para-memory-files
Use a file-based PARA memory system to store, retrieve, and organize durable knowledge across sessions. Trigger on saving facts, daily notes, entity records, weekly synthesis, recall, tacit user patterns, or plan memory.
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.
create-harness
Scaffold your own focused AI agent harness — pick host (Claude Code, Codex, pi.dev, Hermes), template, agents, skills, and ship a npm-publishable harness with its own npx CLI. Use when a user asks to "create my own agent harness", "scaffold a harness", "make a custom Claude Code plugin like ruflo", or "build a…
diag-harness
Kernel-version skew check (ADR-027). Reports manifest surface + manifest kernel + installed kernel + verdict (match/patch-diff/minor-diff/major-diff). Exits 1 on minor/major skew with a copy-pasteable npm install @metaharness/[email protected] next step. Exits 2 if no .harness/manifest.json at path.