Prompt Optimizer
optimize_promptAnalyze and improve LLM prompts by scoring clarity, specificity, structure, and completeness. Returns optimized rewrites with explanations of changes for better AI responses.
Instructions
Analyze and improve an LLM prompt. Scores clarity, specificity, structure, and completeness. Returns an optimized rewrite with a summary of what changed and why. Powered by Claude.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | The LLM prompt to analyze and/or improve | |
| model | No | Target model (e.g. 'gpt-4o', 'claude-3-5-sonnet') | gpt-4o |
| task | No | What this prompt is trying to accomplish | |
| mode | No | 'both' returns analysis + improved prompt; 'analyze' scores only; 'improve' rewrites only | both |