auditing-skill-context-cost-from-session-logslisted
Install: claude install-skill sblattj/agent-chandlery
## More triggers
skill-diet-audit (old name), run context-diet audit, monthly skill diet report empty or failing.
# auditing-skill-context-cost-from-session-logs
Monthly check that keeps the skills listing small as skills pile up.
In plain words: every listed skill's description rides along in every session. This finds the ones nobody uses (hide them) and the ones that talk too much (trim them).
## Do this
```bash
P=${SKILL_DIR:-~/.claude/skills/auditing-skill-context-cost-from-session-logs}/scripts
C=/tmp/skill-diet/skills-usage.csv; mkdir -p "$(dirname "$C")"
python3 $P/skill-usage.py --all-projects -o $C # scans every project (default is only the cwd project), interactive sessions only (--include-headless for -p), about 1 min
python3 $P/audit.py $C # table: Now vs Suggest per skill, over-cap descriptions, listed descriptions naming a hidden skill; --cap 600 --rare 3 --new-days 30 [--hide]
python3 $P/skill-lint.py ~/.claude/skills --settings ~/.claude/settings.json # fully listed skills over the 600-char cap
```
All scripts are standard-library Python, read-only, and honor `$CLAUDE_CONFIG_DIR` (default `~/.claude`).
Then:
1. Find the live settings file first: `readlink ~/.claude/settings.json`. If it is a symlink into a dotfiles repo, edit that repo path, never through the symlink with `sed -i`. Back it up (`cp` with a date suffix) before changing `skillOverrides`.
2. Apply suggestions you agree with. States: `on`, `name-only` (name listed, description