/evanflow:evanflow-compactfrom evanflow
Manages long-session context drift by providing strategies for proactive summarization, branch isolation, and compaction decisions. Invoke when context feels heavy or accuracy slips.
Ships in evanflow. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Why this exists: Context drift kills agents before context limits do. Industry research found ~65% of enterprise AI failures in 2025 traced to context drift or memory loss in multi-step reasoning, NOT raw token exhaustion. The agent's ability to reason degrades as context fills with stale, redundant, or contradictory information — long before the hard token limit.
See evanflow meta-skill. Specific to this skill:
Trigger this skill when ANY of these are true:
SKIP when: the session is short, focused, and progressing without drift symptoms. Compaction has cost (loses fidelity); only invoke when the cost of NOT compacting is higher.
When a major phase just finished cleanly:
## Phase Summary (compaction anchor). Include:
/clear and re-orient from this summary + the saved memory."/clear, then start the next phase fresh with the summary in front of them./clearWhen the session is heavy and the next move is unclear:
~/.claude/projects/<project>/memory/*.md) as appropriate types (user / feedback / project / reference).<files>. Recommend /clear and re-engage fresh."When a side-quest emerges that's unrelated to the main thread:
<main thread>. Recommend handling it in a fresh session — your context will stay clean and the side-quest gets full attention."When drift symptoms appear and you can't reach a clean boundary:
This is less effective than proactive compaction — use only when needed.
Watch for these. Each is a signal to consider compaction:
If 2+ symptoms in the last few turns, invoke this skill.
/clear or summary swap. Lost context that was assumed-saved is the worst failure mode./clear./clear. Like commits, this is a user-controlled action. The skill recommends; the user does./clear → the user runs /clear, then re-engages from the saved anchor + memoryevanflow-improve-architectureevanflow-brainstorming or evanflow-writing-plans as appropriateWhat SKILL.md sets; muted values are Claude Code's defaults
16 skills in this plugin
/evanflowMeta skill for the EvanFlow system. Loads the shared vocabulary (deep modules, deletion test, vertical slice, grill, mockup quick-mode, no-auto-commit) and describes when to invoke each evanflow-* skill. Use when starting a new task and unsure which evanflow skill applies, or when you need to ground reasoning in the shared vocabulary./evanflow-brainstormingClarify intent, propose 2-3 approaches, embedded grill to stress-test the chosen path. Use before any creative work — new features, components, behavior changes, design questions. Mockup-only requests use mockup quick-mode (no spec/plan ceremony)./evanflow-coder-overseerOrchestrate parallel implementation with coder/overseer pairs. Coders implement decomposed tasks using evanflow-tdd; overseers review each coder's output for bugs, gaps, errors, AND cohesion violations against a shared contract. A final integration overseer checks cross-coder cohesion. Use for plans with 3+ truly independent tasks that share an interface contract./evanflow-debugRoot-cause discipline for bugs, test failures, and unexpected behavior. Embedded grill on the hypothesis before writing fix code. Use when encountering any bug, failing test, or behavior that doesn't match expectation./evanflow-design-interfaceDesign a module's interface using parallel sub-agents producing radically different designs ("design it twice"). Compare on depth, simplicity, and efficiency. Embedded grill on the synthesized choice. Use when designing a new API, exploring interface options, or deciding the shape of a refactor before writing code./evanflow-executing-plansExecute a written implementation plan task-by-task with inline verification. Stop and ask on blockers. No forced sub-skill chains. Use when a plan exists and you're ready to implement.Generated from the plugin's indexed repository (evanklem/evanflow) — no native marketplace selected
npx claudepluginhub p/evanklem-evanflowOther plugins' skills for the same job