janitor-swipe

janitor-swipe is a skill for Claude Code from khendzel/skills-janitor. It costs 65 tokens per session (1,544 once invoked), scanned C, original, MIT.

An interactive terminal tool for reviewing installed coding skills one at a time and choosing whether to keep, delete, or skip each one.

In plain words
What is it for?
Use it to triage skills in an interactive terminal; user-owned skills can be deleted after confirmation, while plugin skills are only flagged for review.
Why use it?
It helps clean up a growing skill collection by bringing likely unused skills to your attention.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths; mentions Claude Code; mentions Codex.

Part of the skills-janitor plugin — 6 skills shipped together

Good fit Use it to triage skills in an interactive terminal; user-owned skills can be deleted after confirmation, while plugin skills are only flagged for review.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/khendzel/skills-janitor/janitor-swipe
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add khendzel/skills-janitor --skill janitor-swipe
Clone the repo
git clone --depth 1 https://github.com/khendzel/skills-janitor

Made for: Claude Code.

Or install skills-janitor, the plugin that ships this one along with the rest of its 6 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for janitor-swipe

README.md
[![agentmods](https://agentmods.dev/badge/skills/khendzel/skills-janitor/janitor-swipe/github.svg)](https://agentmods.dev/skills/khendzel/skills-janitor/janitor-swipe)
Your own site
<a href="https://agentmods.dev/skills/khendzel/skills-janitor/janitor-swipe"><img src="https://agentmods.dev/badge/skills/khendzel/skills-janitor/janitor-swipe/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for janitor-swipe

Your own site · 80×15
<a href="https://agentmods.dev/skills/khendzel/skills-janitor/janitor-swipe"><img src="https://agentmods.dev/badge/skills/khendzel/skills-janitor/janitor-swipe.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 65 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,544 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00065 $0.01544
Opus 5 $0.00032 $0.00772
Sonnet 5 $0.00013 $0.00309
Haiku 4.5 $0.00006 $0.00154

Measured 11d ago against content hash 410a55428bc2, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade C, and why

janitor-swipe scanned grade C with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

| `user`, `project`, `codex-user`, `codex-project` | Path is staged for `rm -rf` (or unlink if symlink) |
skills/janitor-swipe/SKILL.md · 120 lines

How it starts

The opening of the file, as written. The whole thing — 120 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Janitor Swipe — interactive skill triage

A bash TUI that puts every installed skill into a sorted deck and lets the user swipe keep / delete / skip on each card.

Overview

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.

Prerequisites

  • Claude Code with the skills-janitor plugin installed (provides scripts/swipe.sh and swipe-build-deck.sh)
  • bash 3.2+ (the stock macOS bash works; no external dependencies)
  • An interactive terminal at least 50 columns x 22 rows — the TUI reads single keypresses

Instructions

Step 1: Tell the user to run it via !

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".

Step 2: Explain the card and controls

Each card shows:

  • Skill name + position in deck (e.g. [3 / 47])
  • Context cost split: X always · Y on trigger (description tokens are permanent; body loads only when the skill fires)
  • Usage count and last invoked date
  • Scope (user, project, plugin · <plugin-name>, etc.)
  • 3-line truncated description
  • Verdict label (e.g. "Unused + heavy on trigger — prime delete candidate")

Controls:

  • / h / d — stage for delete
  • / l / k — keep
  • / j / s / space — skip
  • u — undo (back up one card, clear its decision)
  • i — inspect (show full SKILL.md description)
  • q / Esc — quit (still shows summary for decisions made so far)

Read the full file on GitHub · 120 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 120 lines · 65 tokens per session scan C 410a55428bc2

Subscribe to this mod's changes

janitor-swipe is a skill published in the GitHub repository khendzel/skills-janitor (117 stars, last pushed 1mo ago), licensed MIT. It adds 65 tokens to every session and 1,544 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

weekly-retro

A structured weekly retrospective for a one-person business run with AI agents. It gathers evidence from code, project tools, and canonical business files, then records findings and outcomes.

serejaris/personal-corp-os · 49 tokens

idea

Use when capturing ONE new idea the user voices and wants recorded — "save this idea", "I have an idea", "log this idea", "/idea", "idea: ...". Creates a provenance-tracked folder (one folder per idea) in your ideas repo, dedups against an index, optionally mirrors to a GitHub Project view filtered by label:idea. NOT…

serejaris/personal-corp-os · 135 tokens

meeting-copilot

Use when preparing for, running, or closing a live meeting with an AI assistant dashboard. Triggers on "meeting copilot", "live copilot", "prepare for a call", "update copilot", "close the session", or requests to turn transcript chunks into meeting questions, topic maps, decisions, and follow-ups.

serejaris/personal-corp-os · 71 tokens

daily

A daily-planning workflow that reports the current department’s active work and refreshes its weekly plan. It uses the department’s defined task source and follows the project’s local instructions.

serejaris/personal-corp-os · 38 tokens

clean-c-drive

A Windows guide for safely freeing space on the C: drive, the computer's main system disk.

iziqing/-disk-cleaner · 81 tokens

weekly-briefing

This skill should be used when the user asks "what should I do this week", "weekly briefing", "run my week", "what's on my plate this week", "walk me through this week", or "give me my weekly checklist". Conducts one in-season briefing by running start/sit, waiver, and cut analysis in order. Not for a standalone…

derekrbreese/fantasy-football-skills · 126 tokens