Help us improve
Share bugs, ideas, or general feedback.
Share bugs, ideas, or general feedback.
Share bugs, ideas, or general feedback.
By methuz
Automatically provides grammar corrections and refined versions of your prompts before Claude responds
npx claudepluginhub methuz/claude-prompt-improver --plugin prompt-improverA Claude Code plugin that automatically provides grammar corrections and refined versions of your prompts before Claude responds.
Every time you submit a prompt, Claude will first output:
1. Grammar: [Your prompt with corrected grammar, spelling, and punctuation] 2. Refined: [Your prompt rewritten as a highly educated writer would phrase it]
Then Claude proceeds with the actual response.
You type:
why this dont work good
Claude responds:
1. Grammar: Why doesn't this work well? 2. Refined: What is preventing this from functioning properly?
[Then the actual answer to your question...]
# Add the marketplace
/plugin marketplace add methuz/methuz-claude-marketplace
# Install the plugin
/plugin install prompt-improver@methuz-claude-marketplace
# Clone this repository
git clone https://github.com/methuz/methuz-claude-marketplace.git
# Add as local marketplace
/plugin marketplace add ./claude-prompt-improver
# Install the plugin
/plugin install prompt-improver@methuz-claude-marketplace
If the plugin system doesn't work, add this to your ~/.claude/settings.json:
{
"hooks": {
"UserPromptSubmit": [
{
"hooks": [
{
"type": "command",
"command": "/path/to/claude-prompt-improver/hooks/prompt-improver.py",
"timeout": 10
}
]
}
]
}
}
Edit hooks/prompt-improver.py to customize:
| Variable | Default | Description |
|---|---|---|
MIN_PROMPT_LENGTH | 10 | Skip prompts shorter than this |
SKIP_PREFIXES | ("/", "!", "?") | Skip prompts starting with these |
SKIP_EXACT | {"y", "n", "yes", ...} | Skip these exact phrases |
Edit the create_instruction() function in prompt-improver.py:
Output format (use exactly):
> **1. Corrected**: [grammatically correct version]
> **2. Academic**: [formal academic prose]
> **3. Concise**: [shortened essential version]
Output format (use exactly):
> **1. Grammar**: [fix errors]
> **2. Technical**: [as a senior engineer would phrase it]
Output format (use exactly):
> **Corrected**: [grammar fixed]
┌─────────────────┐ ┌──────────────────────┐ ┌─────────────────┐
│ User types │────▶│ prompt-improver.py │────▶│ Claude sees │
│ prompt │ │ intercepts & │ │ instruction + │
│ │ │ adds instruction │ │ original │
└─────────────────┘ └──────────────────────┘ └─────────────────┘
UserPromptSubmit hook<MANDATORY-FIRST-RESPONSE> instructionThe plugin automatically skips:
/help, /clear, etc.)yes, no, ok, thanks)/plugin uninstall prompt-improver@methuz-claude-marketplace
Or manually remove the hook from ~/.claude/settings.json.
MIT License - feel free to modify and share!
git checkout -b feature/amazing-feature)git commit -m 'Add amazing feature')git push origin feature/amazing-feature)Share bugs, ideas, or general feedback.
Based on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
Shows grammar suggestions and translates prompts into a configurable target language.
Intelligent prompt optimization: injects the right context at the right moment so Claude lands a better first output. Clarifies vague prompts with research-based questions, plus targeted nudges for approach selection, plan readability, workflow routing, background execution, subagent routing, output readability, user-decision questions, and plan-mode assessment
Injects pithy, detailed communication style guidance at session start for high signal-to-noise ratio
+ask +deep +web <- modifiers | optimize your prompts
Ultra-compressed communication mode. Cuts ~75% of tokens while keeping full technical accuracy by speaking like a caveman.
Memory compression system for Claude Code - persist context across sessions
Automatically provides grammar corrections and refined versions of your prompts before Claude responds
ClickUp integration for task management, parallel development with git worktrees, and autonomous agent orchestration via tmux sessions
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge.
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge.
Sign in to claim