Analyze prompt design
analyze_promptReview a prompt without running it: score clarity, completeness, executability, ambiguity and robustness, then get issues, improvements and exact patch plans.
Instructions
Design review of a prompt WITHOUT running it: 0-100 scores on goal clarity, instruction completeness, structural executability, ambiguity control and robustness, plus strengths, issues, improvements and an exact patch plan (oldText → newText). Optionally apply the patches locally (no extra call) and/or rewrite the prompt from the analysis (+1 call). Also reports LangGPT structure and static lint. Cost: 1 API call (cached if unchanged).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| focus | No | A specific concern to prioritize, e.g. 'the model keeps giving long derivations' | |
| prompt | Yes | ||
| rewrite | No | Also produce a full revised prompt from the analysis (+1 API call) | |
| applyPatches | No | Apply exact, unique patches and return the patched prompt |