From prompt-polish
An Improve button above the prompt (and /polish) rewrites your draft with Opus at low effort (/polish model picks another) using the prompt-master rules (MIT, nidhinjs/prompt-master); Undo puts the original back. Each press is one model call; its exact tokens are shown.
6 events · 11 calls
Ships in prompt-polish. Installing the plugin adds it to Claude Code.
A mod runs inside Claude Code as you, unsandboxed. This is what its source calls.
fs.readmodel.completeprompt.submitEach event it registers a hook on, with the matcher when it sets one
session.startcommand.run{command=polish}prompt.editprompt.submitsession.endui.render{component=SessionMode}ui.render{component=AbovePrompt}Every mods API method its source calls, by namespace
registerreadcompletefillreadgetsetgetsetresolvetoastWhere Claude Code finds the mod
hooks/hooks.jsonhooks/register.tsx (written ./register.tsx)Read from the source, never run. Claude Code checks a mod again when it loads it and can refuse code this reading accepts; claude plugin validate shows its own list.
npx claudepluginhub vedantandhale/claude-pro-kit --plugin prompt-polish