skills/context-manager/SKILL.md
Manage conversation context and memory for optimal AI performance
npx skillsauth add jmsktm/claude-settings Context ManagerInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
The Context Manager skill helps you optimize conversation context to maintain Claude's effectiveness throughout long sessions. It tracks context window usage, identifies when to summarize or prune context, and helps you structure conversations to keep relevant information accessible while staying within token limits.
This skill is essential for complex, multi-day projects where conversation history grows large. It helps you decide what to preserve, what to summarize, and what to discard, ensuring Claude maintains awareness of important decisions and project state without hitting context limits.
Use this skill proactively during long development sessions, before starting new major features, or when you notice performance degradation due to context bloat.
| Action | Command/Trigger | |--------|-----------------| | Check context status | "Check context window" or "How's our context?" | | Summarize conversation | "Summarize this conversation" | | Start fresh with summary | "Start new thread with summary" | | Prune old context | "Clear old context" or "Prune conversation" | | Optimize context structure | "Optimize our context" | | Preserve key decisions | "Document key decisions" | | Estimate context usage | "How much context are we using?" |
Monitor Proactively: Don't wait for performance issues
Summarize Regularly: Compress history at natural breakpoints
Externalize Static Info: Move unchanging content to files
Use Structured Formats: Make information dense and scannable
Preserve Decisions: Always keep the "why"
Discard Aggressively: Be ruthless with temporary content
Start Fresh Strategically: Know when to begin new conversation
Document Externally: Use files for persistent knowledge
Long conversation →
Detailed summary (50% reduction) →
Executive summary (80% reduction) →
Key decisions (95% reduction)
Keep in context:
- Last 1 hour: Full detail
- Last 4 hours: Summarized
- Last day: Key decisions only
- Older: Link to external docs
Separate threads for:
- Feature development
- Bug investigation
- Deployment/ops
- Architecture discussion
Link between threads as needed
Start with:
- Current task context only
Add on demand:
- Related decisions
- Relevant code
- Background information
Remove when done
Before starting a major task, verify:
Watch for these indicators:
Move these to files, not context:
| Information Type | Best Storage | |------------------|--------------| | Project overview | README.md | | Architecture decisions | ARCHITECTURE.md or ADRs | | API contracts | OpenAPI spec or schema files | | Current project state | PIPELINE_STATUS.md or TODO.md | | Configuration | .env, config files | | Code style rules | .eslintrc, prettier.config.js | | Deployment process | DEPLOYMENT.md or CI/CD config | | Team decisions | DECISIONS.md or meeting notes |
## Project: [Name]
- **Status**: [Current pipeline stage]
- **Current focus**: [What we're working on]
- **Last completed**: [Recent achievement]
- **Next steps**: [Immediate tasks]
- **Blockers**: [What's preventing progress]
- **Key decisions**: [Recent important choices]
## Decision: [Topic]
- **Date**: [When]
- **Context**: [Why we needed to decide]
- **Options considered**: [Alternatives]
- **Choice**: [What we decided]
- **Rationale**: [Why this choice]
- **Consequences**: [Trade-offs accepted]
## Session Summary: [Date]
- **Duration**: [How long]
- **Accomplished**: [What we built/fixed]
- **Decisions**: [Choices made]
- **Issues found**: [Problems discovered]
- **Next session**: [Where to continue]
For power users:
Use references: Link to code instead of pasting
processData in /src/utils/data.ts"Leverage AI memory: Store in knowledge graph
Create abbreviations: Define once, use everywhere
Use diff format: Show changes, not entire files
Batch similar information: Group related items
data-ai
Optimize YouTube videos for SEO, thumbnails, descriptions, and audience retention
testing
Design and facilitate effective workshops with agendas, activities, and outcomes
data-ai
Design and optimize AI-powered workflows for complex tasks
data-ai
Design and implement automated workflows to eliminate repetitive tasks and streamline processes