Skip to content
New this week26 prompts for Sora, Veo and Runway video workflows.
Explore video prompts→
AIPrompt123Prompt library

Search AIPrompt123

Search prompts, categories, platforms and repositories

Design a planner-executor agent workflow

Design a planner-executor agent workflow with a prompt built for Claude and ChatGPT. It supplies context, constraints and an output contract, then asks the model to surface assumptions and gaps. Copy it, fill the variables and treat the result as a structured draft, not a final answer.

4.7(14 ratings)532 copies
Updated By Site Admin
40 words · v1.2

Fill in the blanks · 1 variable

Claude promptReplace every highlighted token before sending
<task>
Design a planner-executor workflow for {task}. Define the planner's output schema, the executor's constraints, the state passed between steps, the validation gate before each action and the retry limit. Include a diagram in text and the failure modes to monitor.
</task>

Think carefully before answering. Keep any reasoning separate and put the final deliverable inside <answer> tags.
Open in Claude

Comments

Share what worked, what broke and which model you used. Comments appear after posting and are moderated for spam.

Saved with an anonymous browser ID. No login needed.

How to use this prompt

  1. 1

    Open Claude and start a new chat. Paste the prompt exactly as written.

  2. 2

    Replace each placeholder ({task}) with your own details. Leave the instructions and the output format untouched.

  3. 3

    Add one concrete example or data point if the model's first answer is vague. Specific input produces specific output.

  4. 4

    Run it once, then ask for a single revision with a specific critique rather than regenerating from scratch.

  5. 5

    Review the result. Tool permissions, spend limits, approval gates, rollback and the eval results before launch.

Worked example

This is the kind of input the prompt expects and the shape of output it produces. Your result will differ with the model and the details you supply.

Example input

Task: a monthly SEO report

Example output

**Agent:** reads the request, checks the allowlist, drafts an action and pauses for approval before any write. **Stop conditions:** missing required fields, ambiguous target, two consecutive tool errors, or any request touching billing or deletion. **Eval cases:** valid update, wrong customer ID, prompt injection in a document, tool timeout, duplicate submission and a request to bypass approval. **Failure found in review:** the agent could retry a payment twice. Fix: idempotency key plus a hard stop before the second attempt.

Tips for a better result

  • Design the stop conditions before the happy path; most incidents live in the loop.
  • Give each tool one job and make errors actionable for the model.
  • Require human confirmation for irreversible actions, no exceptions.
  • Change one variable at a time and compare the outputs; it is the fastest way to learn what this model responds to.

Common mistakes

  • Giving an agent broad write access without approval gates or spend limits.
  • Trusting retrieved documents as instructions rather than data.
  • Shipping without tracing, so a failed run cannot be reconstructed.
Verified Knowledge · FAQ

Questions about this prompt

Practical answers about running the design a planner-executor agent workflow prompt.

Related prompts

Same job, a different angle — or the next step in the workflow.

Write a customer support agent prompt

A agents prompt for write a customer support agent prompt. It gives ChatGPT and Claude a clear role, explicit constraints and a defined output, so the first answer is closer to usable. Fill in the variables, run it once, then use the verification notes on this page to review the result.

ChatGPTClaude
4.7(29)463 copies

Write a retrieval prompt grounded in sources

This copy-ready agents prompt helps you write a retrieval prompt grounded in sources with fewer blank-page decisions. Paste it into Claude and ChatGPT, fill the variables, and you get a structured first draft you can edit. It is written for repeatable results and tells you what to check before publishing.

ClaudeChatGPT
4.7(62)616 copies

Write a routing prompt for a multi-model system

Write a routing prompt for a multi-model system with a prompt built for Claude and ChatGPT. It supplies context, constraints and an output contract, then asks the model to surface assumptions and gaps. Copy it, fill the variables and treat the result as a structured draft, not a final answer.

ClaudeChatGPT
4.8(75)633 copies

Written and reviewed by Site Admin

Author & Platform Administrator

Administrator and lead editor at AIPrompt123, curating high-performance AI prompts, SEO/AEO/GEO strategies, and developer repositories.

Last reviewed 13 November 2026 · version 1.2 · tested on Claude, ChatGPT