/kanso:kanso-unasked [request text or brief path] [--base REF] [--fresh]from kanso
Traces every changed line to the user's request, identifies scope creep, and removes unasked additions. Useful after an agent has gone beyond the brief.
Ships in kanso. 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.
Traces every changed line to the user's words, shows what cannot be traced, and removes what they reject. A good idea nobody asked for is still unasked. The user decides what stays; the agent neither defends its choices nor reverts them unprompted.
Run python3 <skill>/scripts/unasked.py <command> from the repo, with <skill> resolved from this file's folder. Its files stay outside the working tree, so it adds nothing to the diff. Work in the repo itself, never a copy, because cuts must land there.
Collect the user's own words, verbatim: $ARGUMENTS if it holds a request or brief, every instruction in this conversation, and anything they approved mid-session, such as an accepted plan or a "yes, do that".
With none of those, ask what they asked for and stop until they answer. Commit messages, PR descriptions, and code comments describe what was built, so they cannot stand in for the request.
collect [--base REF] compares the base with the working tree, untracked files included. It picks the branch point by default. If the user means something narrower, such as this session's work, pass that commit.
With --fresh and a read-only subagent available, have it do step 3 given only the request and this output, with no account of why anything was done. Otherwise classify inline, saying so in one line.
Ask of each: would the request fail without this?
asked.needed, saying why.| Item kind | Means | Impact starts at |
|---|---|---|
removed | Deleted or weakened something that existed | high |
behaviour | Changed how existing things act | high |
added | New feature, file, helper, dependency, config, docs | med |
drive-by | Reformatting, renames, unrelated refactors | low |
decision | A choice inside requested work the user never made | by consequence |
A decision is one the user would want to know about: defaults, limits, truncation, retention, timing, permissions, wording users will read. Variable names and routine structure do not count. A decision sits on top of its lines, which still need their own asked or needed entry.
Split a mixed hunk by new-file lines: h5:17-21. Choose lines that leave the code whole, because a diff often pairs a closing brace with the wrong block. show <hunk> prints a shortened hunk in full. Group one idea's hunks into one item. Write this JSON to a temporary file outside the repo:
{
"ask": ["Add an Export CSV button to the reports page"],
"asked": [
{"kind": "asked", "quote": "Export CSV button", "hunks": ["h4:3-5"]},
{"kind": "needed", "quote": "Export CSV", "because": "Nothing else produces CSV", "hunks": ["h3"]}
],
"items": [
{
"title": "Removed the rate limit check from fetchRows",
"kind": "removed",
"impact": "high",
"why": "Anyone can now hammer this endpoint.",
"question": "Was this meant to go?",
"hunks": ["h2"]
}
]
}
quote must appear verbatim in ask. State why as the consequence, leaving out your reason for doing it.
render <file> validates the classification, computes the numbers, writes the report, and opens it (--no-open where no one can see a browser). Fix what it rejects, including any line left unclassified. Use its numbers, never your own.
If everything traces, it says so and writes nothing: pass that on and stop. Otherwise show its numbered list and the report path. Bugs you noticed in requested work are not items: add them in one line. End with this and stop:
Reply with what to do, or paste the line from the report: cut 2 3; keep 1; change 4: <what instead>
cut <numbers>. It reverses only those lines, saves an undo patch, and changes nothing if the lines have moved. Bare approval such as "yes" cuts nothing: ask which.DECISIONS.md exists, add a kept decision there with its reason.Read any file a partial cut touched, because a diff's line boundaries need not match the code's. Then run the project's verify command and paste its exit code; say so if none exists. If a cut broke the request, undo, tell the user that item was needed after all, and ask how to proceed. A cut dependency leaves its lockfile behind, so regenerate that with the project's package manager.
kanso-commit can record them.git reset, or --amend to clean up, which destroy neighbouring work.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
scope-creep, diff-audit, change-revert, agent-accountability
Other plugins' skills for the same job
npx claudepluginhub blakecyze/kanso --plugin kanso12 skills in this plugin
/kanso-auditUse when the user asks for a code review, audit, pre-PR check, quality sweep, or pattern analysis of a diff, branch, module, or codebase. Also use when the user asks to "check" or "look over" their code for issues./kanso-commitUse when the user asks to commit changes, stage their work, write commit messages, or split the working tree into logical commits./kanso-contextUse when the user asks to update, prune, audit, or create AGENTS.md, CLAUDE.md, or other agent context files. Also use when the user says their AI agents keep making the same mistakes and they want to fix it at the context level./kanso-councilUse when the user wants a stronger, multi-model, or cross-checked audit: "convene the council", "council review", "audit with codex/grok/gemini too", "second opinion on this diff", "multi-engine audit". Detects other agent CLIs, runs kanso-audit's framework on each in parallel, and merges the reports into one consensus-weighted findings list./kanso-handoffUse when the user wants the current session's context packaged for the next one: "package this session", "carry this context over", "before I /clear", "handoff", "save where we are", "compact this into a prompt for next time". Writes one dense, machine-readable file and prints the resume line. Not for durable repo guidance (kanso-context) or permanent solution notes./kanso-nuclearUse when the user asks for a nuclear review, a thermonuclear audit, a deep maintainability sweep, a structural audit of the whole codebase, or a "harsh" pass on a branch. Stricter and more structural than /kanso-audit.2 plugins ship this exact skill · first indexed Nov 5, 2026