context-mode
Installation
SKILL.md
Context Mode Skill
Fix the two session killers that end most Claude Code sessions in under 30 minutes: context bloat from raw command output, and memory loss after a reset.
Context Mode runs three systems simultaneously to keep sessions alive:
- Output Filtering — strips verbose command output before it enters context
- Session Log — writes a running log of everything that happened
- Auto-Resume — reads the log on reset and picks up exactly where you left off
Credit: Inspired by a skill from Nate Herk's YouTube channel — adapted and extended for this library.
Required Inputs
No inputs required. Context Mode activates on command.
Optional: user can specify a custom log file path if they don't want session.log in the project root.