Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By yonatangrossv0.2.0MITIn 1 marketplace
Review enhanced prompts before sending them: short, stack-aware rewrites
Trending plugins
7-day copy clicks
Code that runs inside Claude Code on every session, as you, unsandboxed.
1 critical to review before installing
JavaScript or TypeScript that runs inside Claude Code as you, unsandboxed. Read from its source, it reads files; reads environment variables (HOME); calls a model on your account; reads or rewrites your prompts; sends prompts on its own.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Requires Claude Code 2.1.300 or later.
Beta (experimental, version 0.x). Each Enhance click costs model usage on your own account: one Haiku call with a 1024 token cap.
The band sits above the prompt box. Type a draft and press Enhance.
Or type a prompt that ends in ++ and press Enter.
The mod holds the prompt and puts the rewrite in the box.
Edit it, then press Send or Enter. Send submits the current box as your own words.
To press a button from the keyboard: ctrl+x tab moves the focus to the band, then e is Enhance, u is Undo and s is Send (Tab and Enter work too). Esc goes back to the prompt.
A click reaches the buttons only where the terminal reports clicks to Claude Code ("tui": "fullscreen"). In the default terminal mode a click selects text and does nothing else, so use the keys.
Undo puts the exact original text back, including the trigger when you typed it.
Enhance a rewrite again without editing it, and Undo still goes back to your first draft. Edit the rewrite first, and Undo goes back to your edit.
A rewrite that ends in ++ (for example C++) is sent as is when you press Enter on it.
To send a prompt you typed that ends in ++ without a rewrite, press Send instead of Enter.
The band starts as one line (Enhance, Undo, Send, an expand control and the keyboard hint) and opens by itself when a rewrite is ready to review. It keeps whatever other mods draw above the prompt. The collapse control folds it back to one line.
The rewrite stays close to your draft. It fixes typos and fast-typing slips, decodes English typed on a Hebrew keyboard layout (גם ןא שךך is do it all), adds at most 3 lines, and ends with one Done when: line that names an observable check.
It never asks questions and never lists interpretations: an ambiguous draft gets its most likely meaning.
With a local catalog, it names at most 3 of your real tools (a subagent to delegate to, a skill or slash command, an MCP server), copied exactly from the catalog, and only when they clearly fit. Without one it names no tools. Broad work gets a line about parallel subagents; small work gets none.
The rules are fixed in src/system.ts.
Each call can send a compact catalog of names and one-line purposes ahead of the draft, so the rewrite can point at tools you actually have.
npm run catalog:local in this directory to write ~/.claude/prompt-enhancer/catalog.md from your ~/.claude agents, skills and commands, your enabled plugins' agents, skills, commands and MCP servers, and the MCP servers in ~/.claude.json. Enhance reads that file on every call. Rerun it after you add or remove plugins.Done when: line work the same. Nothing is bundled, because this mod installs without OrchestKit and a list of tools you may not have would send rewrites to tools that are not there.~/.claude/prompt-enhancer/notes.md (up to 2,000 characters) is added to the local catalog, for facts about your setup that no manifest says. It is sent with every Enhance call, so never put a secret, token or password there.Only names and purposes are written. An MCP server's command, arguments, environment and URL are never read into the catalog, since they can carry credentials. A catalog is cut at 24,000 characters; the builder shortens purposes first so a large install still fits.
The system prompt and the catalog form one static prefix, and the catalog block carries a cache breakpoint (cache: true, which Claude Code sends as the API's cache_control). Only the draft after it is new input on each call.
The prefix has no timestamps or per-session data, and the catalog is sorted the same way every time, so its bytes stay identical between calls. The cache is shared by every Claude Code session on the same account or workspace, so an Enhance in one session or herdr lane warms it for the others.
The breakpoint sits in prompt rather than system, as the mods API docs advise for a mod that other people run: through Bedrock, Vertex, Foundry or an LLM gateway, a system breakpoint can miss.
A cache entry lasts 5 minutes after its last use (Claude Code's subagentPromptCacheTtl setting makes it 1 hour). The API does not cache a prefix under the model's minimum length, which is 512 tokens for Haiku 5.5 and 4,096 for Haiku 4.5 (what haiku means on Bedrock, Vertex and Foundry). A typical local catalog clears both. Without a catalog the prefix is only the system prompt (about 2,800 characters), which sits close to the Haiku 5.5 minimum, so it may not be cached.
Enhance uses the session model client with the haiku alias.
Each click can incur model usage charges under the session account.
The call has a 12 second timeout and a 1024 token cap.
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub yonatangross/orchestkit --plugin prompt-enhancerPlugins from other owners that cover similar ground