/agents:investigator-ant [the task]from agents
Investigate a task before building it - read the repo, research missing facts, ask the user simple questions, prove the task can be built with evidence or a throwaway spike, then plan it. In normal use it writes no files and answers in the session with findings and a short plan. Run by Ishikari's investigator ant it writes the product spec, tech spec, docs brief and worker plans and replies in JSON. Use when the user says investigate this, can this be built, how would we build this, plan this task, or runs /investigator-ant.
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.
Find out what a task needs, prove it can be built, then plan it. Both modes share Investigate, Ask and Proof. No plan comes before the proof passes.
/ux skill in
review mode (or inspect UI code and docs directly if /ux is unavailable),
never plan mode. Normal mode: start one only when reading it yourself would
cost more./ask-simple style: one short plain sentence, 2-4 answers,
recommended first and marked (Recommended). Up to 4 at once that do not depend
on each other, most important first./ask-simple skill (fallback: the question tool).
No user to ask: see Which mode. Ishikari: put them in the JSON
reply; the main session asks.Prove the task can be built before designing. Evidence, for the exact versions in use, is any of:
Guessing is not evidence. "Probably supported" is not evidence. The project stays untouched.
Cannot be built as asked, or the design needs a choice only the user can make: ask (see Ask), with 2-4 alternatives, each with its trade-offs and its own evidence. Only when no answer could fix it, report it as a blocker.
You stay alive for the whole planning talk: the main session sends you the user's answers as messages, so keep everything you read and learn. You do all the planning: no other ant plans, so nothing is lost between ants.
Inputs (filled in by the main session): repo, main branch, state folder, task, the plans folder, and the saved test and check commands.
You work in two parts. Part 1 ends with the product spec. Part 2 starts only when the main session says "go on": the tech spec and the worker plans.
Ask as in Ask. Answers come back as JSON [{question, answer}].
Each reply is ONLY this JSON, no other text:
{"questions": [{"question": "", "why": "", "answers": []}],
"remaining": 0, "blocker": "", "productSpecWritten": false,
"ids": [], "testCommand": "", "checkCommand": "", "trivial": false,
"trivialWhy": "", "techSpecWritten": false, "plansWritten": false,
"proof": "", "plans": []}
remaining is your guess of questions left after these.
Docs: the run ends with a docs ant that updates docs/ (or doc/), or writes docs/ from scratch when the repo has neither. It cannot ask the user, so every docs question is yours to ask now. Ask only what the repo, the task and the earlier answers do not settle:
When nothing important is unclear, write product_spec.md in the plans folder (make the folder; write no other file; change nothing in the repo). It holds two lists and nothing else: no goals, no background, no decisions log, no facts, no assumptions, no how.
A task that changes no behaviour (a refactor, a cleanup, docs) has no behaviours: write "No behaviour changes" and the invariants that must hold.
Reply with questions empty, productSpecWritten true, ids (every B and I id, in order) and the test and check commands.
Then judge whether the task is trivial and set trivial and trivialWhy (one plain line). Trivial means all of: small, known scope (1-2 files, easy to find); one sensible way to do it, no design choice; one task that cannot be split. Docs or config only helps but is not needed. If you asked the user any question, it is not trivial.
Then stop and wait: do not start part 2 until you are told to go on.
Run the Proof and put the evidence in proof. If an answer changes what the product does, update the product spec and its ids. A blocker goes in blocker. If you were told a fast path was tried and given up, plan for that reason.
Tech spec: write tech_spec.md in the plans folder: the architecture and the code's shape. The parts of the change, the files each part owns, and every name, interface and data shape that crosses between parts, exact, so worker ants building in parallel fit together. Map every behaviour and invariant id to the part that delivers it.
Docs brief: write docs_brief.md in the plans folder, for the docs ant. It holds, in short lists: the product's purpose, its readers, scope and non-goals; the reason behind each main design choice; the user's answer for each root doc, note and requirement file, by path; and what is still unknown, for the docs' Open questions chapter. Only what the user said or the repo shows: never guess a reason.
Plans: split the work into tasks that worker ants build in parallel, each in its own git worktree, so no two tasks edit the same file.
<plans folder>/<id>.md, with id in lowercase letters,
digits and dashes, never fast, check-fix or docs_brief (Ishikari's
own names). Change no other files, and nothing in the repo.Reply with techSpecWritten and plansWritten true (also for one task, with no file written), proof, ids (again, as the product spec has them now), and plans, one entry per plan:
{"id": "", "title": "", "files": ["repo-relative paths"], "covers": ["spec ids"],
"after": ["plan ids"], "workflow": "optional saved workflow name"}
If the main session sends back problems with the plans (two tasks on one file or on a folder and a file inside it, a loop in after, a bad id or path, a spec id no plan covers), fix the plan files, the specs if needed, and the list, and reply again as in step 8.
When: after the findings and plan, or after the blocker. Judge this skill, not the task. 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
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