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/muratsilahtaroglu/claude-code-starter-kit/keel-compactnpx skills add muratsilahtaroglu/claude-code-starter-kit --skill keel-compactgit clone --depth 1 https://github.com/muratsilahtaroglu/claude-code-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/muratsilahtaroglu/claude-code-starter-kit/keel-compact)<a href="https://agentmods.dev/skills/muratsilahtaroglu/claude-code-starter-kit/keel-compact"><img src="https://agentmods.dev/badge/skills/muratsilahtaroglu/claude-code-starter-kit/keel-compact.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.00068 | $0.00822 |
| Opus 5 | $0.00034 | $0.00411 |
| Sonnet 5 | $0.00014 | $0.00164 |
| Haiku 4.5 | $0.00007 | $0.00082 |
Grade A, and why
keel-compact 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 5d 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.
What it actually says
/keel-compact — refresh the disk, THEN compact
Compaction summarizes the conversation lossily; the pincer (PreCompact snapshot + SessionStart
re-ground) restores only what is ON DISK. This skill exists so a forgotten ritual can't turn a
manual compact into an information-loss event — the failure mode: /compact run with a stale
HANDOVER, and the snapshot faithfully backs up the stale file. Run it whenever you are about to
compact (or the context feels near-full). The individual skills stay directly invokable as
always — this is the umbrella, not a replacement.
- Run the full
/keel-handoverprocedure (rules.md §1.4) — it already cascades:/keel-distillwhen caps are hit, the session block (a)–(d), PLAN.md status flips + the regenerated diagram, TASKS.md cleanup, and the §9.31 sweep of unwritten agreements intoLESSONS.md. Do not duplicate its steps here — invoke it. - Freshness gate — report a short pass/fail checklist; fix gaps before proceeding:
-
HANDOVER.mdtop block carries THIS session'sYYYY-MM-DD HH:MMand describes THIS session (same-day ≠ same-session: another session's block from today is still stale — add your own). -
TASKS.md ## Nowmatches reality; finished items deleted (one-liners in block (a)). - No agreement / gotcha / failed approach from this conversation is still unwritten (§9.31).
- Caps respected (defaults —
.claude/keel-capsoverrides, rules §10.40): HANDOVER ≤ 3 blocks / ~150 · LESSONS ≤ ~250 · TASKS ≤ ~100 (else/keel-distill). -
PLAN.mdstatuses + Current focus current (if the project uses PLAN.md).
-
- Offer an approved commit + the batched push (rules.md §1.3, §6.15) — this is the natural push
boundary: commits accrued through the session go out here in ONE approval (the
askon push fires once, not per-commit — that's the point). git is the second safety net beside.claude/snapshots/: even a bad summary then loses nothing. - Hand off: tell the user — "Disk is fresh; now run
/compact." A skill CANNOT invoke the built-in/compactitself; stop here and let the user trigger it.
Enforcement: this ritual is not just advice — the compact-gate PreCompact hook (matcher
manual) BLOCKS a stale manual /compact with exit 2 and points here, so forgetting it can't
silently cost a session (on older CLIs the block degrades to a warning). Emergency bypasses:
/compact keel-force · touch .claude/compact-force (one-shot).
Scope honesty: the gate covers MANUAL compacts only. Auto-compact is never blocked (a blocked
auto-compact could wedge a full session) — the defense there remains the hot-path discipline
(§9.31: write it the moment it appears) + the pincer. For full determinism you can disable
auto-compact in /config and compact only via this ritual (trade-off: forget too long and the
session hits the hard context limit mid-turn).
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.
- 5d ago First seen · 44 lines · 68 tokens per session scan A 30973f331d8b
keel-compact is a skill published in the GitHub repository muratsilahtaroglu/claude-code-starter-kit (9 stars, last pushed 2d ago), licensed MIT. It adds 68 tokens to every session and 822 once invoked, about $0.0003 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
mem0-tour
Browses all stored memories grouped by category with full content display. Use when reviewing all project memories, exploring stored knowledge, onboarding to a project, or getting an overview of captured decisions, conventions, and learnings.
mem0-vercel-ai-sdk
Mem0 provider for Vercel AI SDK (@mem0/vercel-ai-provider). TRIGGER when: user mentions "vercel ai sdk", "@mem0/vercel-ai-provider", "createMem0", "retrieveMemories", "addMemories", "getMemories", "searchMemories", "mem0 vercel", "AI SDK provider", "AI SDK memory", or is using generateText/streamText with mem0. Also…
stats
Displays memory usage statistics for the current session and project including counts by category, age distribution, and API latency. Use when checking how many memories exist, reviewing session activity, or auditing memory distribution across categories.
peek
Searches memories and displays compact one-liner results, or looks up a specific memory by ID. Use for quick memory lookups, checking if a decision was recorded, resolving [mem0:id] citations, or browsing memories without full category detail.
pause
Pause Mem0 memory capture on this machine. Use when the user wants to stop memories being recorded, for example for private work or experiments.
mine
Mine a project or conversation into your MemPalace — extract and store memories for later retrieval.