From arcforge
Guides manual compaction timing at workflow phase boundaries (e.g., planning to implementation) to preserve context quality in long Claude Code sessions.
npx claudepluginhub gregoryho/arcforge --plugin arcforgeThis skill uses the workspace's default tool permissions.
Guide compaction decisions at logical workflow boundaries instead of letting auto-compaction fire mid-task. Compact at the right time to preserve context quality without losing critical state.
Mandates invoking relevant skills via tools before any response in coding sessions. Covers access, priorities, and adaptations for Claude Code, Copilot CLI, Gemini CLI.
Share bugs, ideas, or general feedback.
Guide compaction decisions at logical workflow boundaries instead of letting auto-compaction fire mid-task. Compact at the right time to preserve context quality without losing critical state.
Core principle: Compact between phases (when state is persisted to files), not during phases (when context holds un-persisted decisions).
Use this skill when:
| Phase Transition | Compact? | Why |
|---|---|---|
| Exploration → planning | Yes | Research context is bulky; plan is the distilled output |
| Planning → implementation | Yes | DAG/tasks are in files; free up context for code |
| Implementation → testing | Maybe | Keep if tests reference recent code changes |
| Debugging → next feature | Yes | Debug traces pollute context for unrelated work |
| Mid-implementation | No | Losing variable names, file paths, partial state is costly |
| After failed approach | Yes | Clear dead-end reasoning before new approach |
After arc-brainstorming produces design doc | Yes | Design is saved to file; compact before refining |
After arc-planning produces dag.yaml | Yes | DAG persists; free context for implementation |
| Persists After Compact | Lost After Compact |
|---|---|
| CLAUDE.md + rules (auto-loaded) | Intermediate reasoning |
| Tasks (TodoWrite) | File contents previously read |
| Memory files | Conversation context |
| Git state (commits, branches) | Tool call history |
| dag.yaml, .arcforge-epic | Verbal preferences given this session |
| Skill definitions (auto-loaded) | Session-specific observations |
docs/plans/ or memory/diary if the session was substantial — captures session insights before they're lostUse a focused compact command to orient the post-compact session:
/compact Focus on implementing [next task] using arc-agent-driven
The summary text becomes the seed for the compressed context. Make it actionable.
arcforge reboot to recover DAG context quicklyWorks with:
Red Flags: