veto_prompt_optimizer
Analyzes prompts for failure modes (vague role, missing output format, injection-prone, no examples) and rewrites to improve quality. Uses a local agent loop, no API keys required.
Instructions
Scores a prompt for failure modes (vague role, missing output format, injection-prone, no examples) and returns a rewritten version with improvements. Zero API keys needed — uses the local agent loop.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| goal | No | Optional — what the prompt is trying to accomplish. | |
| role | No | Optional — 'system' | 'user' (helps tailor analysis). | |
| prompt | Yes | The prompt to optimize (system or user prompt). | |
| agent_response | No | Phase 2 response from the host AI (JSON). Pass this back when prompted by the server to complete the agentic loop. |