Skip to main content
ClaudeWave
Skill102 estrellas del repoactualizado 21d ago

janitor-tokens

Show how many context window tokens each skill consumes. Deprecated alias — use /janitor-value (which combines tokens with usage).

Instalar en Claude Code
Copiar
git clone --depth 1 https://github.com/khendzel/skills-janitor /tmp/janitor-tokens && cp -r /tmp/janitor-tokens/skills/janitor-tokens ~/.claude/skills/janitor-tokens
Después abre una sesión nueva de Claude Code; el skill carga automáticamente.

SKILL.md

# Context Window Token Cost (Deprecated Alias)

**Renamed in v1.3.** Token cost and usage tracking are now merged into one view: `/janitor-value`. The combined report sorts by waste (heavy + unused first), which is more actionable than tokens alone. This alias will be removed in v1.4.

When invoked, run `/janitor-value` and mention the rename in one short line at the top.

## How to Run

```bash
bash ~/.claude/skills/skills-janitor/scripts/value.sh [--budget N] [--weeks N] [--json]
```

## Migration

- Token cost only → still available; `value.sh` includes the same token table plus usage cross-reference
- JSON output → same `--json` flag works on `value.sh`

## Related Skills

- `/janitor-value` — the new combined view
- `/janitor-report` — full health check
- `/janitor-fix --prune` — remove broken or unused skills