Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By ahmadhammoud56v0.2.1MITIn 1 marketplace
Turns each prompt into a structured brief with goals, constraints and acceptance checks, and asks about ambiguous points before Claude starts. Runs on every prompt you send via a hook that adds instructions and saves the brief to .briefs/ in the project.
Trending plugins
7-day copy clicks
Claude loads one when your task matches it, or you run it by name.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
prompt-engineering, requirements, clarification, brief, subagents, prompt-refinement, prompt, hooks
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Always on, no slash command. Before Claude works on a prompt, it:
superpowers:brainstorming, grilling, an interview) runs for the prompt, that skill does the asking and the
refiner only saves the brief from its answers, so you are not asked twice;.briefs/<timestamp>-<slug>.md (git-ignored) in the project and shows a short version.
The hook itself writes that file first as a stub holding your request, so every refined prompt leaves a record even
when Claude skips the brief, and the chat shows prompt-refiner: brief -> .briefs/<file> so you can see it ran.
Claude's reply starts with one line, Brief: <goal> -> <deliverable>;CONSTITUTION.md,
.specify/memory/constitution.md as in github/spec-kit, AGENTS.md or CLAUDE.md, first match): the rules the
work must respect;A UserPromptSubmit hook runs refiner.py hook prompt (standard library only, about 75 ms with Python start-up). A hook cannot change
the text the user typed, so it adds the instruction above as additionalContext next to the prompt. The hook
never blocks a prompt: any error means it adds nothing.
It adds nothing for:
<task-notification>, [SYSTEM ...], other messages starting with <),
judged after removing the <system-reminder> blocks the desktop app puts in front of your words (for example the
linked-sessions status on the first prompt after a restart), so such a prompt still gets the brief;PROMPT_REFINER=off);yes, ok, 2, an option label);Prompts of 120 words or more, or with 4 or more list lines, are treated as a brief already: Claude confirms its understanding in one line and asks only if something material is still open. Claude also skips the brief for a clear follow-up to the current task and for pure questions. In a headless or delegated session, where AskUserQuestion is not available, Claude takes its recommended options as assumptions instead of waiting.
py refiner.py status
py refiner.py off
py refiner.py on
py refiner.py mode silent
py refiner.py mode ask
py refiner.py notice off
mode silent: write the brief, never ask; open points become assumptions.notice off (or PROMPT_REFINER_NOTICE=off): hide the one-line brief -> notice (the stub is still written).raw: at the start of a prompt skips the refiner for that prompt.PROMPT_REFINER=off in the environment skips it for that process (scripted claude -p runs, CI).~/.claude/prompt-refiner/config.json (CLAUDE_CONFIG_DIR respected)./prompt-refiner:prompt-refiner explains and toggles it in a session; the refiner does not depend on it.py -m unittest discover -s tests
tests/e2e/ holds the raw output of live headless runs (ambiguous prompt, clear prompt, refiner off); see
tests/e2e/README.md.
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub ahmadhammoud56/moaa --plugin prompt-refinerPlugins from other owners that cover similar ground