prompt-enhancer
Reviewed
at commit 2a64faf
Review enhanced prompts before sending them
0 upvotes
Log in to upvote or save- Made by
- OrchestKit
- Pinned commit
-
2a64faf888aeaf2068e9f8b402efcdfaf1e4ff55 - What we checked
-
Adds an Enhance button above the prompt, or a trailing ++, that sends your draft to Haiku on your own Claude Code account and puts a short, typo-fixed rewrite back in the prompt box for you to edit and send. If you generated a local catalog file, the names of your agents, skills, commands and MCP servers go along so the rewrite can mention them.
Review details
Static review of the source at the pinned commit; not run. Registers prompt.submit (holds a prompt ending in ++ and drops it with a message so it can be enhanced; everything else passes through), prompt.change, ui.render (AbovePrompt). Runtime calls: $.model.complete (haiku, 1024 tokens, one call per Enhance), $.prompt.read/fill/submit (Send submits the visible box as the user), $.state.get/set, $.ui.toast, $.env.get('HOME'), $.fs.exists and $.fs.read of ~/.claude/prompt-enhancer/catalog.md, which exists only if the user ran 'npm run catalog:local' (capped at 24000 characters and sent with the draft; the optional notes.md of up to 2000 characters is merged into it). Nothing is sent to any non-Claude host. scripts/catalog.mjs and build-catalog.mjs are developer scripts run by hand, never by the mod: they read ~/.claude agents, skills, commands, settings.json enabledPlugins, installed_plugins.json, plugin .mcp.json and ~/.claude.json mcpServers, emit names and one-line purposes only (not MCP commands, args, env or URLs) and write the catalog file; not executed here. Failures keep the original prompt and show a toast. Only devDependencies in package.json.
- What it uses
-
- Reads your prompts: yes
- Sees tool calls: no
- Blocks or changes tool calls: no
- Reads or writes files: yes
- Runs programs on your machine: no
- Calls the model (uses tokens): yes
- Sends data over the network: no
- Stores data: yes
- Shows something on screen: yes
Made this mod? Add a badge to your README
Paste this into your README. The badge says reviewed once the current version has been reviewed, and links readers to this page.
[](https://modsforclaude.com/mods/prompt-enhancer/)