veto_prompt_optimizer
Scores a prompt for failure modes like vague role, missing output format, injection risk, and no examples, then returns an improved rewrite. Runs locally with zero API keys.
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. |