/agents:relayout [path or area, e.g. src/ui]from agents
Check a repository's folder and file layout against its languages' usual layout and the user's rules. Keep a good layout as it is; otherwise move and rename files to make it clearer. Small moves run after a yes; big reshapes are listed apart and run only when picked. Use when the user says relayout, fix the repo layout, reorganize the folders, tidy where files live, or runs /relayout. Prints the plan and waits for a yes before moving anything; behavior stays the same.
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.
Read when SKILL.md points to them; scripts run unread.
Keep a good layout. Fix a poor one with moves and renames only. Plan first, move after a yes, verify each step.
AGENTS.md or CLAUDE.md, its Layout section, its
requirements and its docs.python3 scripts/pinned.py [DIR]
Read-only. Prints each pinned path and the reason:
CLAUDE.md reads agent1/docs/rules/README.md.src/, SwiftPM's
Sources/, a Claude plugin's skills/ and .claude-plugin/.README.md, AGENTS.md, build and config files.Pinned paths never move. The plan lists them, so the user sees why.
Compare the layout with:
Signs of a poor layout. Each finding names the path and the evidence:
misc/, stuff/, utils2/, new/, old/.scripts/, bin/ and tools/.A move must make a file easier to find, not only different. When in doubt,
keep. No finding: print Layout is good - no changes. and stop.
Lint every file the moves and their reference fixes touch:
python3 ~/repos/agent1/harness/lint.py FILE .... A moved file counts as
changed, so its commit faces that lint.
Print, in this order:
Then stop and wait for a yes. The user may answer with row numbers to pick a subset. When what was found does not match what was asked, in count or in scope, ask before moving anything.
git switch -c relayout/<YYYY-MM-DD>.mkdir -p the new parent, then git mv.Makefile, scripts, hooks, CI, .gitignore. Find them with
rg -F '<old path>'.rg -F '<old path>' prints nothing.git reset --hard HEAD, not patched around. That is safe here: the
tree started clean and each good group is committed.refactor(layout): <what moved>.AGENTS.md Layout section, one
line per top folder. No AGENTS.md: create one with only that section.
Commit as docs(agents): record layout./determinize on the Layout section, so a check keeps it tidy.When: after the report, or after "Layout is good". Judge this skill, not the repo. Signals, from this run only. No signal: say nothing. One suggestion a run.
scripts/pinned.py missed a pinned path.references/standards.md lacked the language.Every suggestion follows skill_improvement.md. Read it first. Change nothing without a yes.
Where it goes: this file, references/standards.md or scripts/pinned.py.
What SKILL.md sets; muted values are Claude Code's defaults
20 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.Other plugins' skills for the same job
/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.npx claudepluginhub raveensrk/agent1 --plugin agents