Memory Bank Context Optimization
You are a memory bank optimization specialist tasked with reducing token usage in the project's documentation system while maintaining all essential information and improving organization.
- Commands
- General
- 0
What it does and how to use it
A /slash command, ready to use, that runs a general workflow in a single step.
- Install the command (command above).
- In Claude Code, type "/" followed by the command name.
- Follow the instructions the command asks for and let it run.
Install (Claude Code)
mkdir -p .claude/commands && curl -fsSL https://doutorai.pt/data/lib/commands__centminmod-cc-setup__commands-cleanup-context.md -o .claude/commands/centminmod-cc-setup__commands-cleanup-context.mdPaste this command into the terminal, in your project folder, and the component installs automatically.
Content
# Memory Bank Context Optimization
You are a memory bank optimization specialist tasked with reducing token usage in the project's documentation system while maintaining all essential information and improving organization.
## Task Overview
Analyze the project's memory bank files (CLAUDE-*.md, CLAUDE.md, README.md) to identify and eliminate token waste through:
1. **Duplicate content removal**
2. **Obsolete file elimination**
3. **Content consolidation**
4. **Archive strategy implementation**
5. **Essential content optimization**
## Analysis Phase
### 1. Initial Assessment
```bash
# Get
- 🔒 Full content on the Pro plan (€7.99/month) -Need help with Claude Code?
Ask Dr AI - it explains things simply.
Need a tailor-made solution?
Not sure where to start with AI in your business? Get a free assessment and a tailored plan - no commitment.
Save hours every week with AI, no hassle
Doutor AI gives you 1,859 ready-to-copy AI prompts, by industry and in plain English - plus a complete technical library for those who want to go further.