Skip to main content
ClaudeWave
Skill113 estrellas del repoactualizado 8d ago

janitor-tokens

The janitor-tokens skill displays the context window token consumption of each installed skill and identifies which ones consume the most resources. Use this deprecated tool to audit token costs before switching to the newer /janitor-value command, which combines token metrics with usage data for a more comprehensive efficiency analysis.

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