prompter

Your prompt is clear to you. Is it clear to Claude?
prompter reads each prompt before Claude acts on it and decides whether a rewrite would help.
Most of the time it wouldn't, and your prompt runs as written. When a prompt is vague, misspelled,
or missing something obvious, prompter shows you a sharper version and waits. You approve it,
correct it, or run your original.
5 min read · 21 worked examples · what changed in v1.4.1
The problem
Short prompts feel clear to the person who wrote them. "Fix the flaky tests." "Audit the auth
code." "Make this match the design." You know what you meant. Claude has to guess.
So it guesses. It starts editing tests before anyone knows why they fail, or audits for the
problems it thinks matter instead of the ones you were worried about. The work isn't wrong,
exactly. It's aimed somewhere you didn't choose, and the next turn goes to steering it back.
The prompt wasn't badly written. It left out the things that turned out to matter: what to check,
what to hand back, and what not to touch yet.
What prompter does
Before Claude acts, prompter asks one question: would rewriting this prompt make a real
difference? If not, it says so in one line and gets out of the way. No rewrite is a good result.
When a rewrite would help, it does only what the prompt needs. The most common moves:
- Diagnose before fixing. "The build is slow, fix it" becomes: find the cause, report it, then wait.
- Name what to check. "Audit this file" gets the categories to audit against.
- Name what comes back. A ranked table, a grouped list, or a one-paragraph answer.
- List before changing everything. "Rename this everywhere" becomes: show me every place first.
- Add the guardrail you forgot. "Don't edit yet." "Ask before pushing."
- Resolve "that file". When the conversation makes it clear which file, the rewrite names it. When it doesn't, prompter asks.
- Fix typos, keep your voice. Spelling gets fixed; casual phrasing stays.
The rewrite appears under the label Rewritten prompt:, and nothing runs until you answer.
Say yes and the rewrite runs. Correct it and you get a new version. Say no and your original runs
exactly as you typed it.
What it leaves alone
prompter stays out of the way of anything that isn't a new request:
- answers like "yes", "go ahead", or "Option 2"
- replies to a question Claude asked you
- slash commands such as
/commit
- pasted logs, stack traces, code, and diffs
- prompts that are already clear
It also never changes what you're asking for. If you asked for a fix, the rewrite won't add a
refactor. It may add a step that comes first, like "find the cause before changing code", and you
see that before anything runs.
What a rewrite looks like
Original:
the tests are flaky, fix them
Rewritten:
Diagnose flakiness in the test suite before changing anything. Categorize each failing test as: (1) timing-dependent (sleeps, polling, real clocks), (2) order-dependent (shared state, leaking fixtures), (3) environment-dependent (network, filesystem, machine-specific), or (4) genuinely racy (concurrency bugs in the code under test). Produce a ranked table with the test name, category, and confidence. Don't apply fixes yet.
What prompter did:
- Refused to skip the diagnosis. "Fix them" became "diagnose, categorize, rank." The original would have started editing tests before anyone knew which kind of flake was at play, and a fix for a timing flake can make an order-dependence flake worse.
- Pinned the analysis dimensions. Four well-known flake categories that every test engineer recognizes, rather than "whatever Claude thinks is wrong."
- Specified the deliverable shape. A ranked table with name, category, and confidence: reviewable in 30 seconds, not a wall of prose.
- Added the missing guardrail. "Don't apply fixes yet," the obvious thing the user would have written if they hadn't been mid-thought.
All 21 worked examples cover typo repair, unclear references,
stacked questions, threat-model framing for "find a security issue in the auth code", and the
cases where prompter correctly leaves a prompt alone.
Turning it on
Type /prompter in any session (/prompter:prompter if you installed it as a plugin) and pick
how long it should stay on: