prompt-rewriter

by Kunal Kumar · ★ 2 · updated 12 Oct 2026

Status lineCommandsPromptwarnings

0

On demand via /rewrite: classifies a prompt into role + task personas, adds recent web context, and rewrites it with Haiku for review.

install prompt-rewriter

Install

/plugin marketplace add KunalKumarkkr01/prompt-rewriter
/plugin install prompt-rewriter@prompt-rewriter

Then run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.

View source on GitHub

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.startprompt.submitprompt.editcommand.run
API calls
$.clock.after$.command.register$.fs.exists$.fs.list$.fs.read$.model.complete$.prompt.fill$.tool.call$.ui.status
Can see
every prompt
Reach
level 2 of 3 drives Claudewrites the prompt boxreads filesdraws

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/KunalKumarkkr01/prompt-rewriter
Path in repo
repository root
Source commit
cf0872c the exact code the scan read
Author
Kunal Kumar @KunalKumarkkr01
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.