Detect project tech stack and disable irrelevant skills to save context window space. Use when the user says "manage skills", "optimize skills", "disable irrelevant skills", "skill manager", or asks which skills are relevant for this project.
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Um comando direto ignora o prompt de revisão. Verifique a origem antes de executá-lo.
Detect project tech stack and disable irrelevant skills to save context window space. Use when the user says "manage skills", "optimize skills", "disable irrelevant skills", "skill manager", or asks which skills are relevant for this project.
Skill Manager
Analyze the current project's tech stack and disable irrelevant globally-installed skills by injecting a bounded section into the project's CLAUDE.md.
When to Use
User says "manage skills", "optimize skills", "skill manager"
User says "disable irrelevant skills" or "which skills do I need?"
User says "clean up skills for this project"
User says "re-enable all skills"
At the start of a new project to reduce context window waste
Quick Start
Run the Python analysis script if available, otherwise follow the manual workflow below.
Step 1: Detect Project Tech Stack
Check for these files in the project root (current working directory):
Remove the <!-- SKILL-MANAGER:START --> ... <!-- SKILL-MANAGER:END --> block from CLAUDE.md
Delete .claude/skill-manager.json
Confirm to user: "All skills re-enabled."
Stop here.
Normal flow:
Build the injection block:
<!-- SKILL-MANAGER:START -->
## Disabled Skills
The following skills are **not relevant** to this project and should be **ignored** (do not invoke them):
-`mobile-ios-design` — No iOS stack detected
-`asc-xcode-build` — No Xcode project detected
- ...
**Stack**: Next.js / TypeScript / React / Tailwind CSS
**Last analyzed**: 2026-02-23
**Re-run**: Say "manage skills" or "/skill-manager" to re-analyze
**Re-enable all**: Say "re-enable all skills" to remove this section
<!-- SKILL-MANAGER:END -->
Injection rules:
Read the current CLAUDE.md (or note it doesn't exist)
If markers exist: Replace everything between <!-- SKILL-MANAGER:START --> and <!-- SKILL-MANAGER:END --> (inclusive) with the new block
If no markers: Append the block to the end of CLAUDE.md with a blank line separator
If no CLAUDE.md: Create it with only the skill-manager block
IMPORTANT: Do NOT modify any other content in CLAUDE.md. Only touch the bounded marker section.
Step 7: Suggest New Skills (Optional)
If the detected stack suggests skills that aren't installed, mention them:
Based on your Next.js project, you might also want:
npx skills find nextjs for Next.js-specific skills
npx skills find react for React patterns
Only suggest if there's a clear gap. Don't overwhelm with suggestions.
Step 8: Report Summary
Print a summary table:
Skill Manager Analysis Complete
Stack: Next.js / TypeScript / React
Total skills: 53
Essential: 20 (kept active)
Useful: 10 (kept active)
Irrelevant: 12 (disabled in CLAUDE.md)
Universal: 11 (always active)
Disabled skills written to CLAUDE.md
Full analysis: .claude/skill-manager.json
Automated Mode (Python Script)
If Python 3.9+ is available, you can run the analysis script for faster, deterministic results: