context-compaction

Installation
SKILL.md

Context Compaction

Preserve essential state when context window fills up.

Always Preserve

Item Why
Test names + output (pass/fail) Regression detection, reproducibility
Build status (success/error + msg) Know if in broken state
Files modified (path + why) Track changes, enable rollback
Open TODOs with state Prevents losing WIP
Env vars set this session Re-establish environment
Decisions made (WHY) Enables contextual future decisions

DO NOT Compress

  • Exact file paths
  • Error messages (verbatim)
Related skills

More from d-o-hub/rust-self-learning-memory

Installs
7
GitHub Stars
7
First Seen
Mar 27, 2026