/jamie-superpowers:context-keeperfrom jamie-superpowers
Use throughout long sessions, when the context meter passes 50%, before long waits, and whenever about to read large files or logs - keeps the main context lean, saves state before compaction, and tells the user when to compact
Ships in jamie-superpowers. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
A long session degrades in two ways: the context fills with material nobody needs again, and compaction loses the thread. Neither the model nor a skill can trigger /compact. Auto-compact, the PreCompact hook and the user can. So keep the context lean, keep state on disk, and ask the user to compact at the right moment.
| Instead of | Do |
|---|---|
| Reading many files to find something | Dispatch a search subagent (Haiku); keep only its conclusion |
| Dumping full command output | Filter: ` |
| Reading a whole large file | Read the relevant range |
| Polling a long job every minute | Background it with a completion notification / Monitor |
| Reading a subagent's transcript | Read its report file |
| Pasting history into dispatches | File paths + the brief |
| Keeping big tables in replies | Put them in a file or page; link it |
At each milestone (a batch merged, a deploy, a decision, before a long wait), update the handoff (session-handoff) and memory. A checkpoint must let a fresh session continue without the transcript.
/compact Keep: current goal, open tasks, running agents and their ids, decisions and pending approvals, file paths. Drop: logs, file contents, finished work details..jamie-superpowers/checkpoints/<time>.md (repos, uncommitted changes, worktrees, stashes, open agents) automatically, for manual and auto compaction.CLAUDE_AUTOCOMPACT_PCT_OVERRIDE, a lower threshold only). Suggest it, never set it yourself.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
22 skills in this plugin
/batch-cleanupUse after every release, after any worktree/branch is merged, once a change looks stable, after a batch of parallel agents, after a deploy, when free disk drops below ~10 GB, or before pausing a session - removes finished worktrees, merged branches, regenerable build output, the project's unused container images/volumes and temp files, and reports space freed/brainstormingYou MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation./cache-aware-dispatchUse before sending follow-up work (fixes, review findings, questions) to an existing subagent, before switching models, and before long waits - decides between resuming an agent and dispatching a fresh one based on prompt-cache age and context sizeGenerated from the plugin's indexed repository (thongpham95/jamie-superpowers) — no native marketplace selected
npx claudepluginhub p/thongpham95-jamie-superpowers