Agent Task Graph Planner

A task graph with dependencies and per-step success criteria for an agent workflow.

Advanced · Works with ChatGPT, Claude, Gemini, Copilot

The prompt

Break this job into a task graph an agent can execute step by step.

The overall job:
{{JOB_DESCRIPTION}}

Constraints on ordering or resources:
{{CONSTRAINTS}}

For each step, name its dependencies, what tool or capability it needs, and a success criterion the agent can check itself before moving on. Call out which steps could run in parallel and which must be sequential.

Why this prompt works

A per-step success criterion turns 'the agent ran the step' into 'the agent can confirm the step worked,' which is what actually prevents cascading failures.

How to customize it

  • State real rate limits or ordering constraints, not just logical dependencies
  • Ask specifically which steps are safe to parallelize

Common mistakes

  • Listing steps without a way for the agent to verify each one
  • Assuming strict sequential order when some steps could run concurrently

Example

Input

Job description: Research a company, draft an outreach email, and schedule it to send

What a good answer looks like

A numbered task list with dependencies, required tool, and a checkable success condition per step.

Make this prompt fit your work

ModelCoach.ai scores your version, shows what to improve and explains why, right inside ChatGPT, Claude, Gemini and Copilot.

Related prompts