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.
Run automatically on Claude Code events. Claude doesn't decide.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
A Claude Code plugin that automatically enhances and improves your prompts before they reach Claude. The plugin analyses prompt clarity, adds relevant context, and rewrites complex requests as deep, prose-first prompts: goal and rationale up front, scoped constraints, numbered questions for multi-part work, and an explicit deliverable.
#improve tag) or automatic improvement for all prompts## Exemplar: <genre> sections to your local config and the improver teaches itself your house style instead of the built-in examplesUsing the Enhance marketplace:
# Add the marketplace (one-time)
/plugin marketplace add GaZmagik/enhance
# Install the plugin
/plugin install claude-prompt-improver
.claude-plugin/
plugin.json # Plugin metadata
hooks/
hooks.json # Hook definitions
user-prompt-submit/
improve-prompt.ts # Main hook entry point
src/
core/ # Core types, config, error handling
services/ # Classification and improvement services
context/ # Context detection and building
integrations/ # Git, LSP, spec, memory integrations
utils/ # Logging, token counting, XML building
Configuration is optional - the plugin works with sensible defaults.
On installation, the plugin creates .claude/prompt-improver.example.md with documented defaults. To customise:
mv .claude/prompt-improver.example.md .claude/prompt-improver.local.md
The configuration uses markdown with YAML frontmatter:
---
enabled: true
shortPromptThreshold: 10
compactionThreshold: 5
improverModel: haiku # Model for all improvements: haiku, sonnet, or opus
# contextWindowTokens: 1000000 # Set on a 1M session; or export CLAUDE_CODE_MAX_CONTEXT_TOKENS. Default 200K
integrations:
git: true
lsp: true
spec: true
memory: true
session: true
dynamicDiscovery: true
pluginResources: true
projectShape: true
logging:
enabled: true
logFilePath: .claude/logs/prompt-improver-latest.log
maxLogSizeMB: 10
maxLogAgeDays: 7
displayImprovedPrompt: true
---
# Your documentation here...
Add .claude/prompt-improver.local.md to your .gitignore to keep local settings private.
Config is resolved project-first, then from a user-global ~/.claude/prompt-improver.local.md that applies across all projects. A project config overrides the global one.
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.
Generated from the plugin's indexed repository (gazmagik/claude-prompt-improver) — no native marketplace selected
npx claudepluginhub p/gazmagik-claude-prompt-improverPlugins from other owners that cover similar ground