Your Claude Code skills are being silently demoted. I built a CLI to catch it
说明与用途
skill‑tax‑cli CLI 工具可预测哪些 Claude Code 技能因上下文预算溢出而被静默删除,并可集成到 CI 流水线中。
问题
Claude Code skills can be silently dropped from the model’s context when the skill listing exceeds a 1% budget, without any UI warning.
结果
The CLI provides deterministic exit codes (0 clean, 1 silent drops, 2 config error) and JSON output, enabling integration into CI/pre‑commit hooks to prevent silent skill exclusion.
工作流
- pip install skill-tax-cli
- skill-tax-cli list
<skill_sources> - skill-tax-cli audit --window
<size><skill_sources> - skill-tax-cli gate --window
<size><skill_sources>
证据
Every skill you install injects its name and description into the model's context on every turn — used or not.
When the listing overflows, it drops descriptions starting with your least-used skills.
I built a CLI that finds these skills before it happens.
Exit codes are 0 clean / 1 silent drops / 2 config error, and every command has --json — so it drops straight into pre-commit hooks and CI.
- 记录日期: 2026-10-12T08:55:55.208Z