PromptUp
Your prompts, but better.
A Claude Code plugin that automatically rewrites your prompts to be clearer,
more specific, and more effective — so Claude gives you better answers on the first try.
You type: fix the bug where users cant login after password reset
PromptUp: Fix the bug where users cannot log in after a password reset.
Investigate the password reset flow, check whether the new
password hash is stored correctly, and verify the login
validation logic accepts the updated credentials.
No API keys. No external calls. No latency. Claude itself does the rewriting.
Get StartedWhy PromptUp?
We've all been there — you type a quick, messy prompt and Claude gives you a reasonable but not quite right answer. You rephrase, clarify, add context, and try again. PromptUp eliminates that back-and-forth by improving your prompts before Claude responds.
- Fixes typos and grammar —
cantbecomescannot, missing punctuation gets added - Adds specificity — vague requests become actionable instructions
- Structures complex asks — multi-part requests get broken into clear, ordered steps
- Respects your intent — improves how you ask, never changes what you ask
- Speaks your language — detects English, Polish, Spanish, or any language automatically
Installation
# From the Anthropic marketplace
/plugin install promptup
# Or from GitHub
/plugin marketplace add zeglin/promptup
/plugin install promptup
That's it. No API keys, no configuration files, no setup steps. /pp works immediately.
Usage
Manual Mode — /pp
Prefix any prompt with /pp to rewrite it on demand:
/pp add tests for the auth module, make sure edge cases are covered
Claude rewrites it and shows you what changed:
[PromptUp] Rewritten (medium):
> Add unit tests for the authentication module. Cover the following edge cases:
> login with expired credentials, password reset token reuse, concurrent session
> handling, and rate limiting after failed attempts. Use the existing test
> framework and follow the project's testing conventions.
Then Claude responds to the improved version. You get a better answer without lifting a finger.
Always-On Mode
Enable it once, and every prompt you type gets improved automatically:
/pp-config enable
Now just type normally:
Short, trivial responses like "yes", "ok", "continue", "looks good", and "lgtm" are automatically skipped — PromptUp only activates when there's something meaningful to improve.
To turn it off:
/pp-config disable
Rewrite Levels
PromptUp offers three levels of rewriting. Choose the one that fits your workflow:
Light
Minimal touch-ups. Fixes typos, grammar, and punctuation without changing structure.
/pp-config set level light
Best for: developers who write clear prompts but want typo/grammar cleanup.
Medium (default)
Adds specificity, removes ambiguity, and improves structure.
/pp-config set level medium
Best for: most developers, most of the time.
Deep
Considers your codebase context, adds technical constraints, and structures prompts as actionable instructions.
/pp-config set level deep
Best for: quick, vague prompts that need serious expansion; complex tasks where you want Claude to think through constraints.
Language Support
PromptUp detects the language of each prompt automatically and rewrites in the same language. This is the default — no configuration needed.
Bilingual Mode
If you regularly switch between languages, tell PromptUp which ones you use:
/pp-config set language en+pl
PromptUp detects which of your specified languages each prompt is in and rewrites accordingly. If a prompt is ambiguous, it falls back to the first language listed.
Fixed Language
Force all rewrites into a specific language:
/pp-config set language en
Display Modes
Control how PromptUp shows you the rewritten prompt:
show-and-send (default)
Shows the rewritten prompt, then immediately responds to it:
[PromptUp] Rewritten (medium):
> <improved prompt>
<Claude's response to the improved prompt>
show-and-confirm
Shows the original and rewritten versions side by side and asks for approval before responding. Only available in manual /pp mode:
[PromptUp] Original:
> fix the auth bug
[PromptUp] Rewritten (medium):
> Fix the authentication bug. Investigate the login flow...
Send the rewritten version? (yes/no/edit)
silent
Rewrites invisibly — Claude sees and responds to the improved prompt, but you don't see the rewrite:
/pp-config set mode silent
Best for: developers who trust PromptUp and don't need to see the changes.
Smart Skip
PromptUp is smart about when not to rewrite. These prompts pass through untouched:
| Category | Examples |
|---|---|
| Slash commands | /help, /pp-config, /commit |
| Trivial responses | yes, no, ok, sure, continue, lgtm, ship it |
| Single characters | y, n, k |
| Pure numbers | 42, 100, 3 |
| Short prompts | Anything below the minLength threshold (default: 20 characters) |
You can also add your own skip patterns:
/pp-config set skipPatterns cheers,brb,bye
Configuration
All settings live in ~/.claude/promptup.json. Use /pp-config to manage them:
/pp-config # show current settings
/pp-config enable # turn on always-on mode
/pp-config disable # turn off always-on mode
/pp-config set <key> <value> # change a setting
/pp-config reset # restore all defaults
Settings Reference
| Setting | Default | Options | Description |
|---|---|---|---|
enabled |
false |
true, false |
Always-on mode. false = manual /pp only. |
mode |
show-and-send |
silent, show-and-confirm, show-and-send |
How the rewrite is displayed. |
level |
medium |
light, medium, deep |
How aggressively prompts are rewritten. |
language |
auto |
auto, ISO 639-1 code, +-joined codes |
Language for rewrites. auto detects per-prompt. |
minLength |
20 |
Any non-negative integer | Minimum characters to trigger a rewrite. 0 disables. |
skipPatterns |
[] |
Comma-separated phrases | Custom phrases to skip (case-insensitive, exact match). |
customInstructions |
"" |
Free text (max 500 chars) | Extra instructions appended to every rewrite. |
Custom Instructions
Add persistent instructions that apply to every rewrite:
/pp-config set customInstructions "Use formal tone, prefer British English"
/pp-config set customInstructions "Always structure rewrites as numbered steps"
/pp-config set customInstructions "Keep rewrites concise, no more than 2 sentences"
How It Works
PromptUp uses Claude Code's UserPromptSubmit hook system with a context injection architecture:
UserPromptSubmitadditionalContextKey Design Decisions
- No external API calls — Claude itself does the rewriting using the current session model. This means zero latency overhead, zero cost beyond your existing session, and no API key required.
- Fail-open — If anything goes wrong (config error, parse failure, missing dependencies), your prompt passes through unchanged. PromptUp never blocks your work.
- No prompt replacement — Claude Code hooks can't modify prompts directly. Instead, PromptUp injects instructions as context, and Claude handles the rewriting inline. This is actually better — Claude has full conversation context when rewriting.
Examples
Real-world examples showing PromptUp in action across different scenarios: