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 danielkremen818 Verifiedv0.2.0MIT
A Claude Code slash command that rewrites your request into an optimized prompt, then runs it.
Trending plugins
7-day copy clicks
You run one by typing its /name in Claude Code.
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.
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Verified owner:Daniel Kremen
A Claude Code slash command that rewrites your request into a better prompt — then runs it.
Type /claude-prompt:p <your request> and Claude reads it, rewrites it into an optimized prompt —
adding structure, specificity, and meta-instructions that get more out of extended
thinking — then carries it out. You see the rewrite, then you get the work. Clear asks
run in one shot; only genuinely ambiguous asks get a quick clarifying question first,
and high-stakes (destructive/irreversible) asks get a one-line confirm before anything runs.
It applies four techniques:
"double quotes", `inline code`,
fenced code blocks, file paths, URLs, regexes, and error strings survive the rewrite untouched.It also types intent (do a task · answer a question · improve a piece of text) and supports a
--dry optimize-only mode. No code. No dependencies. No network. No hooks. Just one
auditable command. MIT.
In Claude Code, add the marketplace and install the plugin:
/plugin marketplace add danielkremen818/claude-prompt
/plugin install claude-prompt@claude-prompt
That's it — the command is now available as /claude-prompt:p. Prefer the shorter /p?
See Shorten to /p below. To update later, the bump happens automatically
on the next /plugin sync once a new version is published.
Requires Claude Code with plugin support. See the official plugin docs if
/pluginisn't recognized.
After install, the command is /claude-prompt:p. Run it followed by whatever you'd
normally ask:
/claude-prompt:p add input validation to the signup form
Prefer the shorter
/p? Set up the one-line alias in Shorten to/p.
Claude responds in two parts — the rewritten prompt, then the work:
Anything inside double quotes is preserved exactly — labels, copy, identifiers, error strings:
/claude-prompt:p rename the CTA to "Get started — it's free" everywhere
The optimizer restructures the task but leaves "Get started — it's free" byte-for-byte:
--dryPrefix --dry to get only the optimized prompt, without executing it — handy when you want to
copy the rewrite somewhere else or review it first:
/claude-prompt:p --dry migrate the test suite from mocha to vitest
For trivial, well-specified requests, skip it — the rewrite step is overhead you don't need.
/pBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
claude plugin marketplace add danielkremen818/claude-prompt && claude plugin install claude-prompt@claude-promptPlugins from other owners that cover similar ground