/agents:janitor-ant [base ref, default main]from agents
Clean up only the code a change added or touched - dead code, bloat, duplication and mess - with no change in behaviour, tests run after. In normal use it cleans the current branch's changes against main, shows the cleanup and applies it after a yes. Run by Ishikari's janitor ant it never asks and follows the ant's git steps. Use when the user says clean up this change, tidy my diff, janitor, or runs /janitor-ant. For a whole-project sweep use /maintain instead.
Ships in agents. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Clean the mess a change left. Only that change, nothing else.
Fixed steps are done by python3 <this skill's folder>/../ishikari/scripts/ant.py, never by hand. It calls no model and prints
JSON. Run it from the repo.
ant.py scope [--base B]: the base and every changed file with its line
ranges.ant.py tests [--base B] -- <test command>: runs the tests on the base and
on HEAD; verdict is pass, new-failure, already-failing or fixed.ant.py scope gives. Base: its choice
(origin's default, then main, then master), or the one the user names.ant.py tests. new-failure: undo the cleanup.
already-failing: compare the two tails; undo only if a new test fails.ant.py scope. Read those ranges and the code around them.refactor: clean up <what>.Loaded by Ishikari's janitor ant. Never ask. Follow the ant's own git steps (worktree, commit, landing) and its reply format. Write what you changed and why, in a few lines, to the note file it names.
When: after the commit, or after "nothing worth cleaning". Judge this skill, not the change. Signals, from this run only. No signal: say nothing. One suggestion a run.
Every suggestion follows skill_improvement.md. Read it first. Change nothing without a yes.
Ishikari mode, or no user to ask: never ask and never edit. Leave the
Skill note: line that file describes.
Where it goes: this file.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub raveensrk/agent1 --plugin agents20 skills in this plugin
/all-doneThe last prompt before the user exits a session. Checks this session's work for loose ends - git state, things still running, leftover files, unverified work, dropped requests, the task list, open improvement notes, installed versus source - shows them in a question dialog, fixes the ones picked, offers to save the rest as tasks, then says whether it is safe to exit. Use when the user says all done, wrap up, am I safe to exit, closing check, or runs /all-done./ask-simpleAsk the user clear questions in simple language, as if they are new to the topic, so each one is easy to answer. Use when the user says ask simple questions, assume I am a newbie, keep it simple, explain like I am new, I do not understand your question, I do not know what you mean, idkwym, I do not understand your last response, or runs /ask-simple. Also use whenever a task needs the user's decision and they have asked for plain words. When run also ask about any open decisions remains to be answered. When invoked manually review the previous response and ask questions based on that./detective-antCheck a change against what it was asked to do - a task, an issue or a plan - and find real bugs, each with its cause and a fix plan a worker can build. Never edits code. In normal use it checks the current branch against main and the task text and answers in the session with pass or fail. Run by Ishikari's detective ant it checks a task or a fix and replies in the ant's JSON. Use when the user says check this against the task, does this do what the issue asked, find bugs in my branch, or runs /detective-ant.Other plugins' skills for the same job