context-anchor
Installation
SKILL.md
⚓ context-anchor — Working Reference Snapshots & Workstream Parking
Drop a compact working reference in <project-root>/.agents/ to prevent cascading context drift, and park parallel client workstreams under named anchors so an agency can switch lanes mid-session and resume instantly.
v1.4.0 positions this skill as the intra-session focus, interruption recovery, and cache-stability layer: anchors capture working state within sessions and park parallel workstreams; cross-session continuity belongs to handoff (.agents/artifacts/HANDOFF.md). Incorporates:
- Task Interruption Stashing & Resumption (references/task-interruption-and-recovery.md) to checkpoint in-flight execution during human interrupts.
- Context Health Gauge to proactively detect stale anchors, high stash accumulation, and missing context directories.
- AST Attention Pinning (references/ast-pinning-guide.md) to combat orientation burn.
- Attention Hygiene & Ghost Task Verification (references/attention-hygiene.md) to prevent the ContextEcho effect.
- Observation Masking & Output Hashing (references/observation-masking.md) to prevent log flooding.
- Prompt-Cache-Aware Anchor Partitioning (references/prompt-cache-partitioning.md) to maximize prefix cache hits.
- Deadlock Breaker & Toxic Retry Rollback (references/deadlock-breaker.md) to break 3-strike failure loops. The layering contract between them is normative — see references/layering-protocol.md.
Modes
Every invocation resolves to exactly one mode. Load only the matched reference: