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 Snowflake-Labs/cocoplus --skill wisdom-distillgit clone --depth 1 https://github.com/Snowflake-Labs/cocoplusWrote 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/snowflake-labs/cocoplus/wisdom-distill)<a href="https://agentmods.dev/skills/snowflake-labs/cocoplus/wisdom-distill"><img src="https://agentmods.dev/badge/skills/snowflake-labs/cocoplus/wisdom-distill/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/snowflake-labs/cocoplus/wisdom-distill"><img src="https://agentmods.dev/badge/skills/snowflake-labs/cocoplus/wisdom-distill.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.00033 | $0.00771 |
| Opus 5.5 | $0.00013 | $0.00308 |
| Sonnet 5.5 | $0.00007 | $0.00154 |
| Haiku 4.5 | $0.00003 | $0.00077 |
Grade A, and why
wisdom-distill 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 2mo 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 — 65 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CocoWisdom Distill
Use this skill when $wisdom distill is invoked directly or when the Stop hook queues a background distillation request.
Objective
Extract durable, reusable lessons from a completed, exited, or failed session and route them into CocoWisdom without blocking the developer's next turn.
Inputs
- Optional session or run id from
$wisdom distill <id>. .cocoplus/wisdom/SCHEMA.mdwhen present..cocoplus/session/PROGRESS.md,.cocoplus/session/CONTEXT.md,.cocoplus/session/steps.jsonl, and relevant lifecycle artifacts..cocoplus/wisdom/review-queue.mdfor unresolved contradictions.
Procedure
- Check
.cocoplus/wisdom/SCHEMA.md. If it does not exist, create a minimal schema with topic categories, source session id, outcome status, evidence pointer, confidence, contradiction handling fields, and an optional## Stage Mappingstable for routing stage role patterns to positive wisdom topics. - Read only the terminal-session artifacts needed to identify lessons, rejections, corrections, governance decisions, and repeated failure modes.
- Classify each candidate into a schema-declared category file. Do not invent standing-context text outside the schema.
- If a candidate contradicts existing wisdom, follow
[wisdom].contradiction_action:queue: add it to.cocoplus/wisdom/review-queue.md.skip: record the skipped contradiction in the report.overwrite: replace only when the evidence pointer and rationale are explicit.
- Write accepted entries to the matching topic file under
.cocoplus/wisdom/. - Write a distillation report to
.cocoplus/lifecycle/cocoflow/<run-id>/distillation-<timestamp>.jsonwhen a run id exists, otherwise.cocoplus/wisdom/distillation-<timestamp>.json.
Rules
- Distillation is asynchronous maintenance. It must never block Stop hook completion.
- Failed sessions are valid sources when
[wisdom].distill_on_failure = true. - Store evidence pointers, not transcript dumps.
- Preserve reviewability: every accepted or queued lesson needs source id, timestamp, category, and rationale.
- Prefer explicit curation for permanent memory. Automatic distillation may queue candidates, but durable project constraints, rejected approaches, and branch-scoped decisions need evidence pointers and reviewable rationale.
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.
- 2mo ago First seen · 65 lines · 33 tokens per session scan A 98906ecd2e8e
wisdom-distill is a skill published in the GitHub repository Snowflake-Labs/cocoplus (729 stars, last pushed 23d ago), licensed MIT. It adds 33 tokens to every session and 771 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-09-03.
wisdom-distill compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| wisdom-distillSnowflake-Labs/cocoplus | Skill | 729 | 23d ago | MIT | A | 33 | Claude Code, Codex |
| import-memoryomnigent-ai/omnigent | Skill | 12k | today | Apache-2.0 | A | 54 | Codex |
| knowledge_store_skillNPC-Worldwide/npcpy | Skill | 1.5k | 2d ago | MIT | A | 346 | Claude Code, Codex |
| rememberyonatangross/orchestkit | Skill | 312 | today | MIT | A | 66 | Claude Code |
| memoryyonatangross/orchestkit | Skill | 312 | today | MIT | A | 36 | Claude Code |
| dreamyonatangross/orchestkit | Skill | 312 | today | MIT | A | 34 | Claude Code |
| llm-wikisammcj/agentic-coding | Skill | 174 | today | Apache-2.0 | A | 82 | Claude Code |