janitor-discover
Find new skills on GitHub or check a specific skill before installing. Use when the user wants to search for skills, evaluate a…
Tinder for your Claude Code skills. Reviews a sorted deck of every installed skill and lets you swipe keep / delete / skip on each one. Use when the user wants to bulk-clean their skill collection, triage unused skills, or do interactive skill cleanup. Trigger with
$ npx -y skills add khendzel/skills-janitor --skill janitor-swipe --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/janitor-swipeContext preview
The summary Claude sees to decide when to auto-load this skill.
Tinder for your Claude Code skills. Reviews a sorted deck of every installed skill and lets you swipe keep / delete / skip on each one. Use when the user wants to bulk-clean their skill collection, triage unused skills, or do interactive skill cleanup. Trigger with
name: janitor-swipe description: "Tinder for your Claude Code skills. Reviews a sorted deck of every installed skill and lets you swipe keep / delete / skip on each one. Use when the user wants to bulk-clean their skill collection, triage unused skills, or do interactive skill cleanup. Trigger with '/janitor-swipe'." allowed-tools: Read, Bash(bash:*) argument-hint: "[--deck <file>] [--apply <decisions.json>]" version: 1.7.0 author: Krzysztof Hendzel <krzysztoff.hendzel@gmail.com> license: MIT compatibility: Designed for Claude Code. The TUI itself requires an interactive terminal (the user runs it with the '!' prefix); requires bash 3.2+ and a terminal of at least 50x22. tags: - skills - triage - tui - cleanup - context-window
A bash TUI that puts every installed skill into a sorted deck and lets the user swipe keep / delete / skip on each card.
The deck is sorted "most likely waste first" — heavy, never-used skills appear at the top, so most users hit `← delete` a few times and quit before reviewing the whole list. The swipe is scope-aware and honest about what it can delete: user-scope skills are actually removed (after confirmation), plugin skills are flagged for review instead.
Inside Claude Code, the Bash tool's stdin is non-interactive, so the keypress reader can't work. The user must invoke it via the `!` prefix so the command runs in their actual shell:
!bash ~/.claude/skills/skills-janitor/scripts/swipe.sh
When the user asks for `/janitor-swipe`, tell them to run that command in their terminal. Do NOT try to run it yourself via the Bash tool — it will error with "needs an interactive terminal".
Each card shows:
Controls:
| Scope | What happens on swipe left | |---|---| | `user`, `project`, `codex-user`, `codex-project` | Path is staged for `rm -rf` (or unlink if symlink) | | `plugin`, `plugin-source` | NOT deleted — flagged under "Plugins to review" at the apply screen, with a hint to run `/plugin uninstall <plugin>` if enough skills from that plugin were swiped | | `mcp-user`, `mcp-project` (v1.7) | Server entry is removed from its config file (`~/.claude.json` / `.mcp.json`) with a timestamped `.bak` backup — reversible | | `mcp-plugin` | NOT edited — flagged for plugin review like plugin skills |
MCP server cards show real call counts from session transcripts instead of token guesses (schemas live server-side). An unused connected server ranks high — its tool schemas load into context for nothing.
After the last card (or `q`), an apply screen shows keep/skip/delete counts, the deletion list with paths, the "frees X always-loaded + Y on-trigger" token summary, the plugin review breakdown, and a prompt:
1. **Error**: "Swipe needs an interactive terminal" **Solution**: The command was run through the Bash tool. Have the user run it with the `!` prefix in their own terminal.
2. **Error**: "Swipe needs at least 50 columns / 22 rows" **Solution**: The terminal window is too small — resize and retry.
3. **Error**: No skills to swipe **Solution**: Nothing is installed (exits 0 with a message) — suggest `/janitor-discover` to find skills.
4. **Error**: The user wants a non-interactive view instead **Solution**: Point them at `/janitor-report` or `/janitor-value` for the same data in list form.
Edge cases handled by the script: Ctrl-C mid-swipe restores the terminal; symlinks are unlinked, never followed; old saved decks without the v1.5 token-split fields still load.
**Input**: "/janitor-swipe" or "help me clean up my skills interactively"
**Output**: Explain the flow in two sentences, then give the exact command to run: `!bash ~/.claude/skills/skills-janitor/scripts/swipe.sh` — and offer to review the results afterwards.
**Input**: "I saved my swipe decisions yesterday — apply them."
**Output**: `!bash ~/.claude/skills/skills-janitor/scripts/swipe.sh --apply ~/.skills-janitor/swipe-<timestamp>.json` (list the files in `~/.skills-janitor/` to find the right one).
Tinder for your Claude Code skills. Swipe through your collection and delete what's wasting context, in seconds. Works with Claude Code and OpenAI Codex. 6 commands, zero dependencies. Status (v1.8, September 2026): maintenance mode.
Find new skills on GitHub or check a specific skill before installing. Use when the user wants to search for skills, evaluate a…
Automatically fix skill problems (safe preview first). Also use with --prune to find and remove broken symlinks, empty…
Full health check of all your skills in one report. Use when the user wants to check for errors, find duplicates, detect broken…
Heuristic security scan of installed skills — prompt-injection phrases, hidden unicode instructions, credential-store access,…
Show whether each skill is earning its context-window cost — combined tokens-used view sorted by waste. Use when the user asks…