/agentic-utils-claude-code:compaction-prepfrom agentic-utils-claude-code
Checkpoint mid-task state before context limits hit. Use when asked to "prep for compaction", "checkpoint", "save state", or when context is getting long.
Ships in agentic-utils-claude-code. 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.
When context gets long enough, AI assistants summarise the conversation and start fresh. State held only in the conversation — intermediate reasoning, file edit history, decisions made — may not survive. If you are mid-task when this happens, the resumed session may not have enough context to continue cleanly.
This skill creates an explicit checkpoint so the session resumes exactly where it left off.
Typically survives:
Typically does not survive:
Create a checkpoint file (e.g. .ai/checkpoint.md or checkpoint.md):
# Checkpoint
**Task**: [one sentence: what are we trying to accomplish?]
**Status**: [what has been done, what is left]
**Next step**: [exactly what to do next — specific enough to resume without re-reading context]
## Files in progress
- `path/to/file1.ts` — [what change is needed / what was just changed]
- `path/to/file2.py` — [same]
## Decisions made
- [Non-obvious decisions taken during this session that the next instance needs]
## Do not repeat
- [Anything already tried and failed, to avoid redoing it]
## Key files
- `path/to/most-important.ts`
- `path/to/second.ts`
- `path/to/third.ts`
Which files, if loaded at the start of the next session, would give enough context to continue? Prioritise:
Add a pointer to the checkpoint in whatever config or memory file the AI loads at session start (e.g. CLAUDE.md, AGENTS.md):
## In-progress work
See `checkpoint.md` for current task state.
Remove this line once the task completes.
For long-running tasks that should survive beyond this session:
git add checkpoint.md && git commit -m "chore: checkpoint mid-task state"
Read the checkpoint file and continue from Next step. Once the task is complete, delete the checkpoint and remove the reference from the memory config.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub agentic-utils/skills --plugin agentic-utils-claude-code7 skills in this plugin
/ant-modeAdd communication style, comment, and reporting preferences to any AI assistant config. Use when asked to "enable ant mode", "improve communication style", "add reporting preferences", or when setting up a new AI assistant config./bash-safetyReview bash commands for dangerous patterns and interpret exit codes correctly. Use when asked to "check this bash", "is this safe to run", "review this script", or when debugging a script that fails unexpectedly./codex-delegateGet an answer from the Codex CLI (`codex exec`) that THIS conversation needs, such as a second opinion, a review of a diff or design, web research or a non-interactive edit. One headless run; the answer and token usage come back here. Covers the credit preflight, a background-safe invocation, sandbox and reasoning-effort choices, and relaying through a cheap subagent. Use when asked to "ask codex", "get codex's take", "get a second opinion from codex", "have codex review this", "have codex research this", "run codex exec", or, when codex is installed, before spawning a Claude subagent for self-contained work codex could do. For separate work codex should carry on in its own tab, use session-handoff instead.Other plugins' skills for the same job