BasedHardware / context-optimization
Install for your project team
Run this command in your project directory to install the skill for your entire team:
mkdir -p .claude/skills/context-optimization && curl -L -o skill.zip "https://fastmcp.me/Skills/Download/1487" && unzip -o skill.zip -d .claude/skills/context-optimization && rm skill.zip
Project Skills
This skill will be saved in .claude/skills/context-optimization/ and checked into git. All team members will have access to it automatically.
Important: Please verify the skill by reviewing its instructions before using it.
Effective use of @ mentions, context window optimization, and semantic search strategies. Use for managing context efficiently and providing targeted references.
0 views
0 installs
Skill Content
--- name: context-optimization description: "Effective use of @ mentions, context window optimization, and semantic search strategies. Use for managing context efficiently and providing targeted references." --- # Context Optimization Skill Strategies for effective context management: @ mentions, context window optimization, and semantic search. ## When to Use Use this skill when: - Managing context window efficiently - Providing targeted references - Optimizing @ mention usage - Using semantic search effectively - Understanding context limits ## Capabilities ### @ Mentions - **@Files & Folders**: Reference files or directories - **@Code**: Reference specific code sections - **@Docs**: Reference documentation ### Context Optimization - Context window management - Strategic @ mention usage - Let agent gather context when appropriate - Reference files instead of copying ### Semantic Search - Natural language queries - Incremental understanding - Code discovery - Pattern finding ## Best Practices ### @ Mentions **Use for:** - Specific examples to follow - Related code patterns - Configuration files - Cross-referencing **Let agent search for:** - General questions - Broad exploration - Discovery tasks - Understanding flows ### Context Window 1. Use @ mentions selectively 2. Let agent search automatically 3. Reference files, don't copy 4. Break into chunks for large tasks 5. Use Plan Mode for complex features ## Related Resources - Rule: `.cursor/rules/context-management.mdc` - Rule: `.cursor/rules/semantic-search.mdc` - Command: `/semantic-search` - Agent: `.cursor/skills/context-optimization/agents/context-manager.md`