From 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.
npx claudepluginhub agentic-utils/skills --plugin claude-codeThis skill uses the workspace's default tool permissions.
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.
Guides Next.js Cache Components and Partial Prerendering (PPR) with cacheComponents enabled. Implements 'use cache', cacheLife(), cacheTag(), revalidateTag(), static/dynamic optimization, and cache debugging.
Migrates code, prompts, and API calls from Claude Sonnet 4.0/4.5 or Opus 4.1 to Opus 4.5, updating model strings on Anthropic, AWS, GCP, Azure platforms.
Automates semantic versioning and release workflow for Claude Code plugins: bumps versions in package.json, marketplace.json, plugin.json; verifies builds; creates git tags, GitHub releases, changelogs.
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.