prompt-rewrite
by Giuseppe Setaro · ★ 0 · updated 4 days ago
0
/rewrite: turns a rough draft prompt into a thorough one, asking clarifying questions first, without adding anything to the conversation
Install
git clone https://github.com/zPeppOz/prompt-rewriteclaude --plugin-dir ./prompt-rewriteThen run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.
What it hooks into
From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.
- Events
session.startcommand.runtool.callui.render- API calls
$.clock.every$.clock.now$.command.register$.config.set$.fs.exists$.fs.read$.fs.write$.model.complete$.model.fork$.prompt.compose$.prompt.fill$.prompt.read$.session.cwd$.session.messages$.session.model$.session.surfaces$.session.version$.ui.ask$.ui.invalidate$.ui.log$.ui.resolve$.ui.toast- Draws
AbovePrompt- Can see
AskUserQuestion calls- Reach
- level 2 of 3 other: $.prompt.composeother: $.prompt.readwrites fileschanges configdrives Claudewrites the prompt boxreads filesreads the transcriptdraws
Origin
- How it got here
- Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
- Repository
- github.com/zPeppOz/prompt-rewrite
- Path in repo
- repository root
- Source commit
9d965e2the exact code the scan read- Author
- Giuseppe Setaro @zPeppOz
- License
- MIT
- First published
- Last pushed
- First listed here
Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.