# Compacting Context

> Compacts verbose context into structured summary. Use after pollution sources (searches, logs, JSON) or at phase milestones.

- Skill: `qte77/compacting-context` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add qte77/compacting-context`
- Raw SKILL.md: https://api.skillmd.com/api/skills/qte77/compacting-context/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: qte77 (https://skillmd.com/u/qte77)
- Updated: 2026-09-10
- Page: https://skillmd.com/skills/qte77/compacting-context

---


# Context Compaction (ACE-FCA)

Distills verbose outputs into structured summaries following ACE-FCA principles.

## When to Use

Per `references/context-management.md`:
- After verbose tool output (logs, JSON, search results)
- After completing a phase or milestone

## Workflow

1. **Identify noise** - What pollution sources need compacting?
2. **Extract signal** - Correct + Complete info only
3. **Structure output** - Use template format below

## Output Template

```markdown
# Compaction: {{name}}

## Trajectory
<!-- Research status → Planning status → Implementation status -->

## Key Files
<!-- files touched with purpose -->

## Completed
<!-- done items -->

## Blockers
<!-- blocking issues (empty if none) -->

## Findings
<!-- key discoveries, distilled outputs from logs/JSON/tests -->
```

## Quality Check

- Correct > Complete > Minimal
- No raw dumps, only structured summaries
- Enough to continue, no more
- Update working plan with compaction output (don't orphan it)

