Home / Claude Code mods / Interface / prompt-rewrite

prompt-rewrite

prompt-rewrite is a Claude Code mod by zPeppOz that /rewrite: turns a rough draft prompt into a thorough one, asking clarifying questions first, without adding anything to the conversation.

Updated 2026-10-05

What is prompt-rewrite?

prompt-rewrite is a Claude Code mod by zPeppOz that /rewrite: turns a rough draft prompt into a thorough one, asking clarifying questions first, without adding anything to the conversation. It is listed under Interface and has no public popularity data yet.

TypeClaude code mod
AuthorzPeppOz
RepositoryzPeppOz/prompt-rewrite
Popularityno public popularity data yet
CategoryInterface
SecurityLow risk (84/100)
Rank#5,254 of 5,272 Claude Code mods; #2,156 in Interface
LicenseMIT
Last commit2026-10-05
Hooks4 events
SeesAskUserQuestion calls
Draws onAbovePrompt

Is prompt-rewrite safe to install?

prompt-rewrite scores 84/100 on the MCPMods security check: Low risk. Things to review: writes files or config. It passed 6 of 8 checks.

Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.

CheckResult
No network accessPass
Starts no processesPass
Writes files or configReview
Doesn't read environment variablesPass
Only sees the events it hooksPass
Drives Claude (model calls, prompts)Note
Passes claude plugin validatePass
Has an open-source licensePass

API calls in its code

CallWhat it means
$.clock.every
$.clock.now
$.command.register
$.config.setchanges config
$.fs.existsreads files
$.fs.readreads files
$.fs.writewrites files
$.model.completedrives Claude
$.model.forkdrives Claude
$.prompt.compose
$.prompt.fillwrites the prompt box
$.prompt.read
$.session.cwd
$.session.messagesreads the transcript
$.session.model
$.session.surfaces
$.session.version
$.ui.askdraws interface
$.ui.invalidatedraws interface
$.ui.logdraws interface
$.ui.resolvedraws interface
$.ui.toastdraws interface

How do I install prompt-rewrite?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. Read its footprint. This lists every event it hooks and every API call it makes, without running it.
    git clone https://github.com/zPeppOz/prompt-rewrite
    claude plugin validate ./prompt-rewrite/.
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    git clone https://github.com/zPeppOz/prompt-rewrite && claude --plugin-dir ./prompt-rewrite/.

Or ask Claude to set it up

Paste this into Claude Code and it installs prompt-rewrite for you:

Install the "prompt-rewrite" Claude Code mod from https://github.com/zPeppOz/prompt-rewrite. Run claude plugin validate on it first and show me what it can access before you enable it.