ClaudeCodeMod

All shelves / Mods / Review

improve-prompt

By waltherhuggo

improve-prompt is a Claude Code review mod by waltherhuggo.

Draws an Improve prompt button above the prompt box that rewrites your draft with the session's context; /improve does the same, and you review and send it.

Draws

Install

The marketplace name is prompt-enhancer.

In Claude Code
/plugin install improve-prompt --marketplace waltherhuggo/PromptEnhancer
Open the repo

It runs inside the Claude Code process. The side panel is only what the author's README names. Read the repo before you install, or run claude plugin validate on the plugin folder.

Version
0.1.0
License
MIT
Repo stars
5
Last change
2026-10-14

What it can reach

  • Draws in the session

Answer y to add the marketplace, then press Enter to pick the user scope. The shell form is claude plugin install improve-prompt --marketplace waltherhuggo/PromptEnhancer; in the VS Code extension, where /plugin does not run, use it in a terminal. In the desktop app, click + next to the prompt box, then Plugins, then Add marketplace with waltherhuggo/PromptEnhancer, then Add plugin. Without installing, copy the repository's .claude/skills/improve-prompt folder into your project's .claude/skills, or into ~/.claude/skills to use it in every project. /improve with no text improves what is in the prompt box. Only one rewrite runs at a time, and the button hides while Claude is working. An optional VS Code extension in the repository adds an Improve button to the activity bar, rewrites the selected text or your clipboard with the context of your last Claude session, copies the result, and needs the mod installed.

The marketplace, prompt-enhancer, holds only this plugin, whose folder is .claude/skills/improve-prompt. Rewriting the draft before you send it is why this page files it under review. prompt-polish rewrites the draft in the prompt box when you press Improve, with one model call, and does not send the rewrite. prompt-polish-jheroorehj rewrites your prompt with the prompting guide for the session's model before it is sent, and shows the polish beside the original to apply, retry, or keep. This one forks the current conversation, so the model sees what you see, including your CLAUDE.md and the project's git status, and fills the prompt box with the rewrite, in your language. In a brand-new session there is nothing to fork, so it falls back to a plain Sonnet call. In the source, that fallback is capped at 2048 tokens and 60 seconds.

Demo

The opening of the author's README: the mod rewrites your prompt before you send it, using the conversation, CLAUDE.md and the project's git status; press Improve prompt and the prompt box fills with a clearer version, shown as a before and after of the author's sample prompt, fix the login bug.
Screenshot of the author's GitHub page.

What it hooks into

  • session.startWhen a session starts
  • command.runWhen you run its slash command/improve
  • ui.renderDraws into the sessionAbovePrompt

Read from the on() calls in its hook modules. Open its source under Files to check what each one does.

Slash commands 1

  • /improveImprove a prompt using the session context: /improve <prompt>

Files

The author's source, 3 files. They load when you open them.

Facts

Author
waltherhuggo
Category
Review
Marketplace
prompt-enhancer
Repo
waltherhuggo/PromptEnhancer
Folder
.claude/skills/improve-prompt
Version
0.1.0
License
MIT
Repo stars
5
Last change
2026-10-14
Language
TypeScript
Files
6

Other mods in Review

done-gatevumichienTells Claude and you, in a toast, when a task is marked done while changed code is untested, and draws the last test run in a band.prompt-enhancervumichienDraws an Enhance button above the prompt: Haiku rewrites your draft to name fitting skills, what to ask first, and what done looks like. It never sends it.assumption-checkvumichienLists the choices Claude made that you did not state after a turn that edited files or ran commands; mark each right or wrong and send the corrections.replay-theaterAnthropicAdds /replay. Steps through the files Claude edited last turn, one diff at a time.review-watchhamzaferDraws one line above the prompt per running code review, with the model, the target, the elapsed time, and Codex's latest output. A toast lists the findings.md-previewhamzaferWhen Claude edits Markdown, draws the before and after beside the session, rendered the way GitHub does.files-touchedSingh-APDraws one line above the prompt for files Claude changed this session, with lines added and removed. /touched pane lists them, and a press inserts @path.change-ledgerarasovicDraws a pane of every file this session touched, with lines added and removed and which agent edited it, beside the git working tree.turn-timelinearasovicDraws the current turn as a timeline: one lane for the main loop, one per subagent, the split between model, tools, and idle, and the three slowest steps.show-mearasovicDraws each mermaid diagram in an answer as a picture in a pane once the turn ends. /show-me asks for an answer in diagrams.image-peekarasovicDraws thumbnails of images you paste, above the prompt while you write, and larger pictures under the message once it is sent.plannotatorbacknotpropOpens Claude's plan in a review UI where you mark it up, sends your annotations back, and shows what changed when the plan comes back.
All 145 in Review