Agent skill
goap-agent
Invoke for complex multi-step tasks requiring intelligent planning and multi-agent coordination. Use when tasks need decomposition, dependency mapping, parallel/sequential/swarm/iterative execution strategies, or coordination of multiple specialized agents with quality gates and dynamic optimization.
Install this agent skill to your Project
npx add-skill https://github.com/d-oit/do-novelist-ai/tree/main/.opencode/skill/goap-agent
SKILL.md
GOAP Agent
Enable intelligent planning and execution of complex multi-step tasks through systematic decomposition, dependency mapping, and coordinated multi-agent execution.
Always use plans/ folder for all files.
Quick Reference
- Execution Strategies - Detailed GOAP patterns
- Task Decomposition - GOAP writing standards
- Agent Coordination - Swarm pattern
- Parallel Execution - Parallel pattern
- Sequential - Sequential pattern
- Iterative - Iterative pattern
- Hybrid - Hybrid pattern
When to Use
- Complex multi-step tasks (5+ steps)
- Cross-domain problems
- Optimization opportunities
- Quality-critical work
- Resource-intensive operations
- Ambiguous requirements
- Needing systematic planning before execution
Core GOAP Methodology
1. ANALYZE → Understand goals, constraints, resources
2. DECOMPOSE → Break into atomic tasks with dependencies
3. STRATEGIZE → Choose execution pattern
4. COORDINATE → Assign tasks to specialized agents
5. EXECUTE → Run with monitoring and quality gates
6. SYNTHESIZE → Aggregate results and validate success
Integration
- task-decomposition: Task breakdown
- agent-coordination: Multi-agent orchestration
- All other specialized skills available
Best Practices
✓ Measure before optimizing ✓ Focus on measured bottlenecks ✓ Use parallel execution where safe ✓ Monitor progress and validate incrementally ✓ Document decisions and rationale ✓ Learn from each execution ✓ Use parallel execution where safe ✓ Validate dependencies before execution ✗ Define clear quality gates ✗ Optimize for maximum efficiency
✗ Make large changes at once ✗ Optimize incrementalally ✗ Monitor for quality gate failures
Coordinate multiple specialized agents through systematic planning and execution.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
novel-development
Work on novel-specific features including plot engines, character development, world-building, timeline management, and GOAP-based story generation. Use when implementing narrative systems, character arcs, or story planning tools.
tech-stack-specialist
Manage framework usage, dependencies, build configuration, and environment setup. Use when adding new dependencies, updating packages, configuring build tools, or setting up development environment.
performance-engineer
Optimize application performance including build times, runtime speed, bundle size and resource usage. Use when addressing performance issues, implementing caching strategies, or optimizing rendering.
e2e-test-optimizer
Optimize Playwright E2E tests by removing anti-patterns, implementing smart waits, enabling test sharding, and improving reliability.
domain-expert
Apply domain-driven design principles for business logic, entities, events and aggregate boundaries. Use when modeling domain concepts, implementing business rules, or defining clear separation between domain and infrastructure layers.
qa-engineer
Define comprehensive testing strategies, write tests with proper naming conventions, organize tests by type, and implement mocking strategies. Use when creating tests, refactoring test suites, or improving test coverage.
Didn't find tool you were looking for?