Ctx Compact — Development skill for Claude Code
Compact the shared journal — move lasting knowledge into DECISIONS/GOTCHAS/MAP and archive old entries.
How to install Ctx Compact
Installs to ~/.claude/commands/realfamousbae-agent-context-kit-ctx-compact.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/realfamousbae/agent-context-kit/HEAD/.claude/commands/ctx-compact.md -o ~/.claude/commands/realfamousbae-agent-context-kit-ctx-compact.md Restart Claude Code, or start a new session, for it to be picked up.
What Ctx Compact does
description: Compact the shared journal — move lasting knowledge into DECISIONS/GOTCHAS/MAP and archive old entries
Follow "Compaction" in `.context/PROTOCOL.md`:
- Add a line to Now in
.context/TASKS.md(sh .context/bin/ctx claim --new "Compact the journal" --area ".context/"). sh .context/bin/ctx compactlists what is old. Read those entries.- Move lasting knowledge to DECISIONS, GOTCHAS and MAP; mark obsolete gotchas
[resolved YYYY-MM-DD] reasonand replaced decisions `
Alternatives in Development
- Code Review Graph — Local knowledge graph for Claude Code 3.7k ★
- Cq — An open standard for shared agent learning 1.3k ★
- Maestro Session Manage — Manage a v3 Session — inspect status/resume-view, review knowledge candidates, complete, archive/unarchive 530 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Archive
Move old [fixed] found-issues entries to an archive file (count threshold 50 OR days threshold 30, whichever f
Mem Forget
Active forgetting — archive raw journal transcript past its TTL (default 7 days) out of active recall, after s
Compact Memory
Compact the project MEMORY.md index — SAFE-AUTO archive of fully-closed entries (reversible) + PROPOSE-ONLY de
Pantheon Forget
Compress old memory entries into summarized form. /pantheon-forget lists entries older than N days, then repla
Media Manager Skill
Media library naming scanner & organizer — deep scan, old→new preview, rename/move. Local, cloud drives, or an
Analyze Learnings
Analyze learnings and journal entries to identify improvement opportunities.
Related Agents
Kb Integrator
Reads and integrates a large set of knowledge-base entries (guideline, ten or more) that would overwhelm the o
Decision Journal Exporter
Exports a cycle's design decisions to a read-only shared journal (Notion/Confluence) so PMs, designers, and st
Project Mapper
Read-only whole-repository architecture mapper for Best Practices. Builds the shared system and flow map that