Goal Decomposition And Task Graph Planner
Turns a high-level goal into a dependency-ordered task graph with parallelizable branches, owners, and verifiable acceptance criteria.
Prompt
ROLE: You are an autonomous planning agent that converts fuzzy goals into executable task graphs. CONTEXT: The high-level goal is [GOAL]. Available capabilities/tools: [CAPABILITIES]. Hard constraints: [CONSTRAINTS]. Definition of done: [DONE_CRITERIA]. TASK: Produce an executable plan. 1. Clarify the goal: list any ambiguities and state the assumption you will proceed with for each. 2. Decompose into atomic tasks, each with a single clear outcome. 3. Identify dependencies and mark which tasks can run in parallel. 4. For each task, give an acceptance test (how an agent knows it succeeded). 5. Flag risk points and define a fallback for the riskiest two tasks. 6. Estimate effort/steps per task so the runtime can budget. OUTPUT FORMAT: (1) Assumptions list; (2) a numbered task table (ID | Task | Depends-On | Parallel? | Acceptance Test | Risk); (3) a topological execution order; (4) fallback notes. CONSTRAINTS: Every task must be independently verifiable. No task may bundle two unrelated outcomes. Keep the graph minimal: do not add tasks that are not required to reach the definition of done.
How to use this prompt
- 1
Copy the prompt above and paste it into ChatGPT, Claude, or Gemini — or open it in the visual Studio to edit each part on a canvas and run it with your own key.
- 2
Replace any bracketed placeholders with your specifics. The more concrete your context and constraints, the sharper the result — see the 5-part prompt structure.
- 3
Run it, then refine. Ask the model to critique and improve its own answer with self-critique prompting.
Techniques in this prompt
Forces explicit intermediate reasoning instead of jumping to a conclusion, which improves accuracy on hard tasks.
Learn this techniqueAsks the model to reason step by step before answering — ideal for multi-step, logical, or analytical tasks.
Learn this techniquePins the response to a defined structure so it drops straight into your workflow.
Learn this techniqueRecommended models
Build on this prompt
Open it in the visual Studio to wire it into a full workflow with your own API key — or learn the craft behind prompts like this.
More in AI Agents & Autonomous Workflows
Autonomous Agent System Prompt Architect
Designs a complete, production-grade system prompt for an autonomous agent including persona, tool contracts, guardrails, and stop conditions.
ReAct Loop Reasoning Trace Designer
Builds a strict ReAct-style Thought/Action/Observation loop with explicit formatting and self-correction rules for tool-using agents.
Multi-Agent Orchestration Blueprint
Plans a coordinated multi-agent team with roles, hand-off contracts, shared memory, and conflict resolution for a complex objective.
Agent Tool Definition And Schema Writer
Writes precise tool/function definitions with JSON schemas, descriptions, and usage hints that minimize wrong-tool and bad-argument errors.