do:compact-prep
CommunitySave session state before compaction.
Authoradamfeldman
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill prepares your session for context compaction by saving important information, committing changes, and queuing up the next task, preventing data loss and ensuring a smooth workflow.
Core Features & Use Cases
- Context Preservation: Saves memory, code changes, and session state to disk.
- Pre-Compaction Checklist: Runs checks for Git status, compound assessment, version compatibility, and cost summaries.
- Actionable Batching: Presents a consolidated list of actions to skip (e.g., skipping commits or pushes) for user approval.
- Worktree Management: Handles merging worktree changes back to the main branch.
- Use Case: Before a long-running task that might trigger context compaction, run
/compact-prepto ensure all your progress is saved and you can easily resume later.
Quick Start
Run /compact-prep to prepare for session compaction.
Dependency Matrix
Required Modules
bashgitjq
Components
scriptsreferences
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: do:compact-prep Download link: https://github.com/adamfeldman/compound-workflows/archive/main.zip#do-compact-prep Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.