skill · Developer tools
Strategic Compact
by affaan-m
Suggests manual context compaction at logical intervals to preserve context through task phases rather than arbitrary auto-compaction. Use when a session is approaching a context limit and a task phase is a natural…
- Claude Code
- Codex
- Cursor
- GitHub Copilot
- Gemini CLI
- ★ 306k on GitHub
- Updated 2026-11-17
- MIT
Calyban is a free desktop app. It checks Strategic Compact for red flags before installing, lets you choose the agent and folder, and undoes it in one click.
Install Strategic Compact manually
Prefer the terminal? This does the same thing as Calyban's install.
Claude Code
git clone --depth 1 https://github.com/affaan-m/ECC.git calyban-tmp-strategic-compact
mkdir -p ~/.claude/skills
cp -r calyban-tmp-strategic-compact/skills/strategic-compact ~/.claude/skills/strategic-compact
rm -rf calyban-tmp-strategic-compactCodex
git clone --depth 1 https://github.com/affaan-m/ECC.git calyban-tmp-strategic-compact
mkdir -p ~/.codex/skills
cp -r calyban-tmp-strategic-compact/skills/strategic-compact ~/.codex/skills/strategic-compact
rm -rf calyban-tmp-strategic-compactStart a new Claude Code, Codex & more session afterwards so it picks up the change.
Similar skills
Ask MattmattpocockAsk which skill or flow fits your situation. A router over the skills in this repo.Diagnosing BugsmattpocockDiagnosis loop for hard bugs and performance regressions. Use when the user says "diagnose"/"debug this", or reports something broken/throwing/failing/slow.ImplementmattpocockImplement a piece of work based on a spec or set of tickets.Implement SpecmattpocockImplement the result of /to-spec and /to-tickets in code.Improve Codebase ArchitecturemattpocockScan a codebase for deepening opportunities, present them as a visual HTML report, then grill through whichever one you pick.Loop MemattpocockGrill me about specs for the workflows I want to build, within this workspace.
Guides
Listed in the public Calyban catalog. Strategic Compact is made by affaan-m, not Calyban. Inclusion isn't an endorsement and safety checks aren't a guarantee.