/bld-token-cost-efficiency:context-dietfrom bld-token-cost-efficiency
Analyze and optimize Claude Code context window usage. Use when user says "/context-diet", "optimize context", "context too large", "reduce context", "context usage", or asks about context window optimization.
Ships in bld-token-cost-efficiency. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Mide cuánto contexto base consume tu proyecto y recomienda optimizaciones.
echo "=== CLAUDE.md ===" && wc -c CLAUDE.md 2>/dev/null || echo "No CLAUDE.md encontrado"
echo "" && echo "=== Rules ===" && find .claude/rules/ -name "*.md" -exec wc -c {} + 2>/dev/null || echo "No rules encontradas"
echo "" && echo "=== Skills locales ===" && find .claude/skills/ -name "SKILL.md" -exec wc -c {} + 2>/dev/null || echo "No skills locales"
echo "=== Plugins instalados ===" && cat ~/.claude/plugins/installed_plugins.json 2>/dev/null | python3 -c "
import json, sys
data = json.load(sys.stdin)
for name, entries in data.get('plugins', {}).items():
for e in entries:
print(f\" {name} (v{e.get('version','?')}, scope={e.get('scope','?')})\")" 2>/dev/null || echo "No plugins instalados"
Presenta una tabla con estimaciones (~4 caracteres = 1 token):
| Fuente | Bytes | ~Tokens |
|---|---|---|
| CLAUDE.md | (de Step 1) | bytes/4 |
| Rules (total) | (de Step 1) | bytes/4 |
| Skills locales | (de Step 1) | bytes/4 |
| Total base |
Genera recomendaciones dinámicas basadas en los datos:
.claude/rules/ con triggers específicos"/clear entre tareas no relacionadas para resetear el contexto"What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub ai-scm/bld-claude-plugins --plugin bld-token-cost-efficiency8 skills in this plugin
/bld-onboardFull onboarding for bld-token-cost-efficiency plugin. Use when user says "/bld-onboard", "setup plugin", "configure efficiency plugin", "first time setup", or just installed the plugin./git-commitExecute git commit with conventional commit message analysis, intelligent staging, and message generation. Use when user asks to commit changes, create a git commit, or mentions "/commit". Supports: (1) Auto-detecting type and scope from changes, (2) Generating conventional commit messages from diff, (3) Interactive commit with optional type/scope/description overrides, (4) Intelligent file staging for logical grouping/Other plugins' skills for the same job