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 agentmods add skills/tonydzi/second-brain-starter-kit/ccnpx skills add tonydzi/second-brain-starter-kit --skill ccgit clone --depth 1 https://github.com/tonydzi/second-brain-starter-kitWrote 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/tonydzi/second-brain-starter-kit/cc)<a href="https://agentmods.dev/skills/tonydzi/second-brain-starter-kit/cc"><img src="https://agentmods.dev/badge/skills/tonydzi/second-brain-starter-kit/cc.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 | $0.00075 | $0.00930 |
| Opus 5 | $0.00037 | $0.00465 |
| Sonnet 5 | $0.00015 | $0.00186 |
| Haiku 4.5 | $0.00007 | $0.00093 |
Grade B, and why
cc scanned grade B with 1 finding 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 3d 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.
Reads agent configuration directoriesmediumAgent snooping
.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.
cat "$HOME/.claude/compact-prompt.md" # on Windows: %USERPROFILE%\.claude\compact-prompt.md How it starts
The opening of the file, as written. The whole thing — 62 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/cc — compact in one keystroke
The pain: a bare /compact does NOT read our format (measured: 0 out of 354 — everything fell
back to the default, #14160). The ONLY thing that works is pasting an inline block right after
/compact. The operator used to fetch that block by hand. Now /cc assembles it itself, already
enriched with this session, and hands over a ready-to-paste line.
What this is NOT: it is not /retro. Retro = the full end of a session (inventory of what was
built → routing rules to their homes → and only then the compact handoff). /cc is only the
compact handoff itself, lightweight, with no inventory: for when the operator just wants to shrink
the window at a task boundary rather than close the session.
What to do when invoked
-
Read the canonical template — the single source of the format (never invent headings):
cat "$HOME/.claude/compact-prompt.md" # on Windows: %USERPROFILE%\.claude\compact-prompt.mdThe skeleton = 7 headings: DECISIONS · TODO · NOW · PATHS AND VALUES · COUNTERS · OPEN · TOOLS AND CONTRACTS.
-
Enrich the block with the CURRENT session — never hand over an empty template. Walk the 7 headings and fill each one with the real, verbatim content of this chat (decisions + why, the active error under NOW, exact paths/values/IDs, self-check counters +
/ttstatus ✅ vs not verified, what broke under OPEN). Rationales are the first thing to evaporate — preserve those first. -
Emit the READY line — it starts with
/compact, followed by the enriched block, all inside a singlecodeblock so the operator can copy it whole and paste it as the next message. Plus one line above it: "➤ Copy everything in the block below and paste it as your next message." -
🧒 In plain words ([[eli5-always]]): "I'm packing our memory into a short note so nothing gets lost when the context is squeezed. Copy it and paste it."
Boundaries
- The folder name is
cc, so/ccworks natively; "compact" and similar words are text triggers for the same skill. Case does not matter ([[commands-case-insensitive]]). - The skill does NOT run the compact itself (that is a built-in command) and it sends/edits nothing — it only assembles text.
- When to fire it: at a task boundary around 60% of the window; don't wait for the auto-compact at 95% (that loses more).
- Don't confuse:
/tt= test what was built ·/rr= full retro ·/cc= quick compact handoff ·/1= resurrection after a crash.
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.
- 3d ago First seen · 62 lines · 75 tokens per session scan B 31142f868bb2
cc is a skill published in the GitHub repository tonydzi/second-brain-starter-kit (5 stars, last pushed 4d ago), licensed MIT. It adds 75 tokens to every session and 930 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it B with 1 finding (reads agent configuration directories). 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-retrieve
Build and query a vault-local contextual BM25 retrieval index with optional multilingual Nomic cosine reranking; use for retrieve, hybrid retrieval, BM25, rerank, contextual retrieval, chunk search, vault search, semantic search, find relevant passages, or retrieval diagnostics. Derived caches stay under .vault-meta…
wiki
Initialize, adopt, and route work for a separate Obsidian knowledge vault through the portable claude-obsidian core. Use for vault setup, scaffolding, workspace selection, cross-project configuration, or choosing the correct wiki sub-skill. Triggers: /wiki, set up wiki, scaffold vault, create knowledge base, adopt…
obsidian-bases
Explain, draft, and validate Obsidian Bases .base files with filters, formulas, properties, summaries, and table, card, or list views. Use for Obsidian Bases, database-like vault views, dynamic tables, reading lists, task trackers, filters, formulas, summaries, and .base file edits.
save
Save a user-selected answer, decision, insight, or session summary into an Obsidian vault as one reviewed transaction. Use only when the user explicitly asks to preserve specific conversation content, not when they supply a file or URL to ingest. Triggers: /save, save this, save that answer, file this conversation…
wiki-fold
Create a bounded, extractive, structurally idempotent rollup of recent Obsidian wiki log entries, with dry-run preview by default and one optional transaction apply. Use for manual log compression without modifying child pages. Triggers: fold the log, run a fold, run wiki-fold, log rollup, roll up log entries, commit…
wiki-mode
Read or configure the vault filing methodology and suggest destinations for planned knowledge creation under Generic, LYT, PARA, or Zettelkasten. Use for wiki mode, methodology mode, what is my vault mode, set vault mode, switch to PARA, use LYT, Zettelkasten setup, change mode, configure mode, or methodology routing.…