skills/arc-compacting/SKILL.md
Guide for strategic manual compaction timing at workflow phase boundaries
npx skillsauth add gregoryho/arcforge arc-compactingInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
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/journal 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:
testing
Use when the user explicitly runs the slash command `/arc-auditing-spec <spec-id>` to produce a read-only advisory audit of an arcforge SDD spec family (design.md, spec.xml, dag.yaml). Only triggered by direct user invocation; never auto-invoked from any pipeline skill (arc-brainstorming, arc-refining, arc-planning).
development
Use when the user wants to create, query, audit, or initialize an Obsidian vault — wiki / knowledge base / second brain, project tracker, news pipeline, journal, or any typed-note vault. Trigger on saving notes / capturing ideas / sharing URLs to document; querying the vault ("what do I know about", "search my vault"); auditing health (missing links, orphans, drift); ingesting raw files; "init a new vault" or "register vault"; mentions of any registered vault. Also triggers on casual "save this" / "file this back". Do NOT trigger for Excalidraw diagram creation (use arc-diagramming-obsidian), general code, debugging, PR reviews, web searches.
testing
Use when maintaining ArcForge itself by creating, editing, or verifying ArcForge skills before deployment
testing
Use when you need to verify work is complete before making completion claims