Session Compact
SkillDocs & knowledgeLets your agent turn a past AI coding session into a clear handoff summary with continuation notes.
Use Session Compact in Claude, ChatGPT or Ahel Desktop
Free. Sign in, add Session Compact and connect your AI. About a minute.
Also: Claude Code · Cursor · Codex
Then ask your AI: use the Session Compact skill
Details
Instructions available. Your AI can read the instructions. Execution depends on the setup they require.
Account requirements not reviewed. Check the skill instructions before use; ahel provides instructions and does not run this skill.
No other account needed.
Add ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.
About this skill
AI DevKit · Compact a historical AI coding session with Jev when context is long, work is handed off or resumed, or durable continuation facts and memory candidates need extraction.
What this skill tells your AI
The instructions your AI receives, as published by codeaholicguy/ai-devkit in skills/session-compact/SKILL.md and read by ahel’s review.
Use AI DevKit's Jev-backed CLI to create a structured continuation artifact from a historical session. Prefer this command over a hand-written compact when it is available.
When to Use
- Context is getting long and useful state needs to survive compaction.
- Work is being handed to another agent or resumed after becoming stale.
- A complex implementation or debugging session is closing.
- Durable memory candidates or task-progress facts need to be identified after a long run.
Workflow
- Find the session ID when it is not already known:
npx ai-devkit@latest agent sessions --all - Produce Markdown for a human handoff:
npx ai-devkit@latest agent session compact --id <session-id> - Use JSON for automation or structured inspection:
npx ai-devkit@latest agent session compact --id <session-id> --format json - Add
--type <provider>when the same session ID is ambiguous across providers. - Review the artifact before using its resume prompt, memory candidates, or validation claims. Compaction preserves selected transcript evidence; it does not independently verify that evidence.
Jev Availability
The command requires TYPESAFE_API_KEY. If it reports:
Jev is unavailable because TYPESAFE_API_KEY is not set.
report that result clearly and stop the compaction attempt. Do not silently replace it with hand-written summarization or imply that Jev classified the session. A user may explicitly request a separate manual summary afterward.
Never print, log, store, or pass the API key as a command argument. The CLI reads it from the environment.
Boundaries
- The command is read-only and does not write memories or mutate tasks.
- Treat memory candidates as proposals until they pass the memory skill's quality gate.
- Record task progress separately when the task workflow requires it.
- API, authentication, schema, or network failures with a configured key are errors, not Jev-unavailable results.
Signals
- GitHub stars
- 2k
- Forks
- 257
- Last commit
- Sep 2026
Advanced
- Item type
- skill
- Key
session-compact- Source
- github.com/codeaholicguy/ai-devkit
github.com/codeaholicguy/ai-devkit
More in Docs & knowledge
Skill · mattpocock
More in Docs & knowledgecanvas-design
Skill · anthropics
More in Docs & knowledgedoc-coauthoring
Skill · anthropics
More in Docs & knowledgewriting-for-agents
Skill · mattpocock
More in Docs & knowledgespec-driven-development
Skill · addyosmani
More in Docs & knowledgedefuddle
Skill · kepano
More in Docs & knowledge