From prompt-optimizer
Rewrites an AI prompt to improve clarity, reliability, and token efficiency, with before/after comparison and annotations.
How this command is triggered — by the user, by Claude, or both
Slash command
/prompt-optimizer:optimize-promptThe summary Claude sees in its command listing — used to decide when to auto-load this command
# /optimize-prompt - Optimize AI Prompt Rewrite and optimize an AI prompt for better performance and reliability. ## Steps 1. Read the original prompt and understand its intended purpose 2. Identify the target model and use case (chat, completion, function calling) 3. Restructure the prompt with clear sections: role, context, task, constraints, format 4. Rewrite ambiguous instructions with specific, measurable language 5. Add or improve output format specification with examples 6. Include edge case handling instructions 7. Add few-shot examples if the task benefits from them 8. Implement...
Rewrite and optimize an AI prompt for better performance and reliability.
2plugins reuse this command
First indexed Mar 30, 2026
npx claudepluginhub costrict-plugins-repo/github-trending-plan --plugin prompt-optimizer/optimize-promptRewrites an AI prompt to improve clarity, reliability, and token efficiency, with before/after comparison and annotations.
/improve-promptAnalyzes an AI prompt for clarity, specificity, and context, then rewrites it with structured sections and concrete examples.
/xpromptOptimizes a given prompt into production-grade format with annotations and rationale, without triggering any development workflow.
/prompt-improveAnalyzes a prompt for clarity, specificity, and token efficiency, then rewrites it according to expert best practices.
/new-promptBuilds new prompts from parameters or optimizes existing ones using Anthropic's best practices, producing structured enhanced prompts with improvements.
/reprompt-oratorOptimizes a prompt using Anthropic best practices, scoring across 7 dimensions (clarity to tone), listing applied techniques, and returning a restructured prompt.