
Context Management
This gives you proactive token budget control instead of scrambling after compaction hits. Check your current usage, create snapshots at 70-85% capacity, and restore context at three detail levels (essential is ~250 tokens, comprehensive is ~1,250). Version 3.0 adds burn rate tracking so you get predictions like "you'll hit 70% in ~15 tool uses" and health indicators for your statusline. The priority system keeps requirements and decisions while archiving verbose logs. Best move is checking status regularly during long sessions and snapshotting before major operations. Works alongside the PreCompact hook but catches problems earlier when you still have room to maneuver.
- skills.sh installs
- 170
- GitHub stars
- 76
- last updated
- Aug 21, 2026
Install
$ npx -y skills add rysweet/amplihack --skill context-management --agent claude-codeInstalls into .claude/skills of the current project.
Files
Context Management Skill
Purpose
This skill enables proactive management of Claude Code's context window through intelligent token monitoring, context extraction, and selective rehydration. Instead of reactive recovery after compaction, this skill helps users preserve essential context before hitting limits and restore it efficiently when needed.
Version 3.0 Enhancements:
- Predictive Budget Monitoring: Estimate when capacity thresholds will be reached
- Context Health Indicators: Visual indicators for statusline integration
- Priority-Based Retention: Keep requirements and decisions, archive verbose logs
- Burn Rate Tracking: Monitor token consumption velocity for early warnings
When to Use This Skill
Sponsors
Details
- Repository
- github.com/rysweet/amplihack
- Categories
- DevOps & CI/CD, Productivity & Planning
- First seen
- Jun 3, 2026
More from rysweet/amplihack
All 58- Model Evaluation Benchmark160
- Goal Seeking Agent Pattern157
- Poet Analyst156
- Azure Devops154
- Email Drafter154
- Ethicist Analyst152
- Lsp Setup151
- Session Learning151
- Anthropologist Analyst148
- Mcp Manager146
- Indigenous Leader Analyst141
- Dynamic Debugger140
- Multi Repo137
- Philosophy Compliance Workflow136
- N Version Workflow134
- Outside In Testing134
- Xlsx
- Cybersecurity Analyst1.5K
- Lawyer Analyst690
- Psychologist Analyst456
- Mermaid Diagram Generator429
- Pptx422
- Economist Analyst382
- Design Patterns Expert359