goap-agent

Plan and coordinate multi-step tasks using the GOAP planning cycle.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/d-oit/do-novelist-ai --skill goap-agent
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: goap-agent
Source: https://github.com/d-oit/do-novelist-ai/tree/main/.claude/skills/goap-agent
Command: npx skills add https://github.com/d-oit/do-novelist-ai --skill goap-agent

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill enables intelligent planning and coordination for complex multi-step tasks by systematically decomposing goals, mapping dependencies, and coordinating multiple specialized agents with quality gates.

Core Features & Use Cases

  • GOAP Planning Cycle: Analyze → Decompose → Strategize → Coordinate → Execute → Synthesize to produce robust plans.
  • Execution Strategies: Supports parallel, sequential, swarm, hybrid, and iterative execution patterns for optimal speed and reliability.
  • Quality Gates & Coordination: Built-in checkpoints to validate outcomes and adapt plans dynamically.
  • Cross-Domain Orchestration: Coordinates actions across multiple domains (e.g., storage, API, testing, documentation).

Quick Start

Place outputs under the plans/ folder and invoke the GOAP agent to generate an execution plan for a given task; the plan will be saved in plans/.

Frequently Asked Questions about goap-agent

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I decompose complex multi-step tasks into executable plans?

Task decomposition breaks down complex goals into structured subtasks with dependencies. GOAP planning applies a six-phase cycle—analyze, decompose, strategize, coordinate, execute, synthesize—to map dependencies, assign agents, and produce executable plans saved in the plans/ folder.

What execution strategies does multi-agent orchestration support?

Multi-agent orchestration supports parallel, sequential, swarm, hybrid, and iterative execution patterns. Choose parallel for speed when tasks are independent, sequential for strict ordering, and hybrid or iterative patterns for complex workflows requiring adaptive coordination and dynamic replanning.

Can I enforce quality gates during task execution across multiple domains?

Quality gates are built-in checkpoints that validate outcomes at each phase. They enforce quality criteria across domains—storage, API, testing, documentation—and trigger plan adaptation when validation fails, ensuring robust cross-domain orchestration.

When should I use GOAP planning instead of linear task automation?

Use GOAP planning for tasks with ambiguous requirements, cross-domain dependencies, resource constraints, or quality-critical workflows. Linear automation works for simple sequential steps; GOAP handles optimization opportunities and structured decomposition where multiple valid execution paths exist.

Do I need specialized agents configured before running the planning cycle?

The GOAP planning cycle assigns agents during the strategize and coordinate phases based on task analysis. You invoke the agent with a goal; it decomposes the task and generates execution assignments, so specialized agents are mapped dynamically rather than pre-configured upfront.

How does task coordination prevent conflicts between parallel agent actions?

Coordination maps task dependencies and enforces execution ordering through the planning cycle. Quality gates validate intermediate outcomes, and adaptive replanning adjusts agent assignments if conflicts or failures occur, maintaining consistency across parallel execution streams.