一键导入
token-budget
Checks token counts per file and plans context budget. Shows which files consume the most tokens and how to optimize context window usage.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Checks token counts per file and plans context budget. Shows which files consume the most tokens and how to optimize context window usage.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use when starting any conversation - establishes how to find and use codebase-pilot skills, requiring Skill tool invocation before ANY response including clarifying questions
Use when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes
Use when creating new skills, editing existing skills, or verifying skills work before deployment
Use when implementing any feature or bugfix, before writing implementation code
You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.
| name | token-budget |
| description | Checks token counts per file and plans context budget. Shows which files consume the most tokens and how to optimize context window usage. |
Analyze token distribution across your codebase and plan context usage.
codebase-pilot tokens
codebase-pilot tokens --agent <name>
codebase-pilot pack --compress --dry-run
codebase-pilot stats
codebase-pilot stats --global
--agent scope — see which agent contexts are leanest--compress — see the potential savingsstats shows daily/weekly/monthlySavings estimate (per session):
Without codebase-pilot: ~98,798 tokens
With pack --compress: ~29,274 tokens
Pilot saves: ~69,524 tokens per session
Your savings (from pack runs):
Today: 3 sessions — ~92,232 tokens saved
This week: 5 sessions — ~147,498 tokens saved
http://localhost:7456 shows live token statshttp://localhost:7456/files shows per-file token breakdownhttp://localhost:7456/prompts shows all session history