majiayu000/claude-skill-registry-data/goap-agent
Claude Code and agent skill by majiayu000/claude-skill-registry-data
- community
- ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Checking that the SKILL.md file is still in the repository.
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
npx vskill@latest install majiayu000/claude-skill-registry-data/goap-agentSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as majiayu000/claude-skill-registry-data/goap-agent.
GOAP Agent Skill: Goal-Oriented Action Planning
Enable intelligent planning and execution of complex multi-step tasks through systematic decomposition, dependency mapping, and coordinated multi-agent execution.
Always use the plans/ folder for all files.
Quick Reference
See the GOAP Agent documentation (../agents/goap-agent.md) for detailed execution patterns and examples.
CRITICAL: Understanding Skills vs Task Agents
There are TWO different types of workers you can coordinate in GOAP planning:
Skills (invoked via Skill tool)
Skills are instruction sets that guide Claude directly. They provide specialized knowledge and workflows.
How to invoke: Skill(command="skill-name")
When to use:
- Need specialized knowledge/workflow guidance
- Task requires deep domain expertise (Rust quality, architecture validation)
- Want to follow a proven methodology
- Examples: Code quality review, gap analysis, architecture validation
Task Agents (invoked via Task tool)
Task Agents are autonomous sub-processes that execute tasks independently using tools.
How to invoke: Task(subagent_type="agent-name", prompt="...", description="...")
When to use:
- Need autonomous task execution
- Task requires tool usage (Read, Edit, Bash, etc.)
- Want parallel/independent execution
- Examples: Running tests, implementing features, debugging
Common Error to Avoid
WRONG: Task(subagent_type="rust-code-quality", ...) → ERROR! rust-code-quality is a Skill!
CORRECT: Skill(command="rust-code-quality") → SUCCESS
See the agent-coordination skill for the complete reference on Skills vs Agents.
When to Use This Skill
Use this skill when facing:
- Complex Multi-Step Tasks: Tasks requiring 5+ distinct steps or multiple specialized capabilities
- Cross-Domain Problems: Issues spanning multiple areas (storage, API, testing, documentation)
- Optimization Opportunities: Tasks that could benefit from parallel or hybrid execution
- Quality-Critical Work: Projects requiring validation checkpoints and quality gates
- Resource-Intensive Operations: Large refactors, migrations, or architectural changes
- Ambiguous Requirements: Tasks needing structured analysis before execution
Available Skills by Category
Quality & Validation Skills
- rust-code-quality: Comprehensive Rust code review against best practices
- architecture-validation: Validate implementation vs architecture plans
- plan-gap-analysis: Implementation gap analysis between plans and code
- code-quality: General code quality maintenance (formatting, linting)
- quality-unit-testing: High-quality test writing following best practices
Build & Testing Skills
- build-compile: Build management and compilation with error handling
- test-fix: Systematic test debugging and fixing
- test-runner: Test execution and management
Analysis & Decision-Making Skills
- analysis-swarm: Multi-perspective code analysis (RYAN, FLASH, SOCRATES)
- codebase-consolidation: Analyze, consolidate, document codebases
- debug-troubleshoot: Systematic async Rust debugging
Research Skills
- web-search-researcher: Web research for modern information
- context-retrieval: Episodic memory retrieval from learning system
Memory System Skills
- episode-start: Start learning episodes for task tracking
- episode-log-steps: Log execution steps during episodes
- episode-complete: Complete and score episodes
- memory-mcp: MCP server operations
- memory-cli-ops: CLI operations for memory system
- storage-sync: Storage synchronization between Turso and redb
Workflow & Coordination Skills
- task-decomposition: Break down complex tasks into atomic goals
- agent-coordination: Coordinate multiple Skills and Agents
- parallel-execution: Execute independent tasks simultaneously
- loop-agent: Iterative refinement with convergence detection
- github-workflows: Diagnose and optimize CI/CD workflows
Meta Skills
- skill-creator: Create new Claude Code skills
- feature-implement: Systematic feature implementation workflow
Available Task Agents
Execution Agents
- feature-implementer: Design, implement, test new features
- refactorer: Improve code quality, structure, maintainability
- debugger: Diagnose runtime issues, performance problems
Validation Agents
- code-reviewer: Review code quality, correctness, standards
- test-runner: Execute tests, diagnose failures
Meta Agents
- agent-creator: Create new Task Agents
- goap-agent: Complex multi-step task planning (recursive)
- loop-agent: Execute workflows iteratively
- Explore: Fast codebase exploration and search
Core GOAP Methodology
The GOAP Planning Cycle
Phase 1: Task Analysis
Initial Assessment
Context Gathering
- Codebase Understanding: Use Explore agent to understand relevant code
- Past Patterns: Check if similar tasks have been done before
- Available Resources: Identify available agents and their capabilities
- Current State: Understand starting conditions and existing implementations
Phase 2: Task Decomposition
Use the task-decomposition skill to break down the goal:
Task 1.1 → Task 1.2 → Task 2.1 ↘ Task 1.3 (parallel) → Task 2.2
Key Decomposition Principles
- Atomic: Each task is indivisible and clear
- Testable: Can verify completion
- Independent where possible: Minimize dependencies
- Assigned: Each task maps to an agent capability
Phase 3: Strategy Selection
Choose execution strategy based on task characteristics. See the GOAP Agent documentation (../agents/goap-agent.md) for detailed execution patterns.
Quick Strategy Guide
| Strategy | When to Use | Speed | Complexity | |
|---|---|---|---|---|
| Parallel | Independent tasks, time-critical | Nx | High | |
| Sequential | Dependent tasks, order matters | 1x | Low | |
| Swarm | Many similar tasks | ~Nx | Medium | |
| Hybrid | Mixed requirements | 2-4x | Very High | |
| Iterative | Progressive refinement, convergence | Varies | Medium |
Decision Tree
Phase 4: Agent Assignment
Agent Capability Matrix
| Agent Type | Capabilities | Tools Available | Best For | |
|---|---|---|---|---|
| feature-implementer | Design, implement, test, integrate features | Read, Write, Edit, Bash, Glob, Grep | New functionality, modules, APIs | |
| debugger | Diagnose runtime issues, async problems | Read, Bash, Grep, Edit | Bug fixes, deadlocks, performance | |
| test-runner | Execute tests, diagnose failures | Bash, Read, Grep, Edit | Test validation, debugging tests | |
| refactorer | Improve structure, eliminate duplication | Read, Edit, Bash, Grep, Glob | Code quality, modernization | |
| code-reviewer | Review quality, standards, security | Read, Glob, Grep, Bash | Quality assurance, pre-commit | |
| loop-agent | Iterative refinement, convergence | Task, Read, TodoWrite, Glob, Grep | Progressive improvements, test-fix loops | |
| agent-creator | Create new Task Agents | Write, Read, Glob, Grep, Edit | Building new autonomous capabilities | |
| Explore | Fast codebase exploration | All tools | Finding files, understanding architecture | |
| memory-cli | CLI development and testing | Read, Write, Edit, Bash, Glob, Grep | Memory CLI features and fixes |
Assignment Principles
- Match agent capabilities to task requirements
- Balance workload across agents
- Consider agent specialization
- Plan for quality validation
Phase-Specific Skill/Agent Recommendations
Phase 1: Research & Analysis
Skills (Parallel):
web-search-researcher- Research best practices, modern solutionscontext-retrieval- Find similar past implementationscodebase-consolidation- Understand current architecture
Agents (Parallel):
Explore- Fast codebase explorationcode-reviewer- Audit current code quality
Use when: Beginning new features, investigating issues, understanding requirements
Phase 2: Decision-Making & Planning
Skills (Sequential):
task-decomposition- Break down complex goalsanalysis-swarm- Multi-perspective architectural decisions (RYAN, FLASH, SOCRATES)
Use when: Multiple valid approaches, significant trade-offs, architectural decisions
Phase 3: Quality Validation (Pre-Implementation)
Skills (Parallel):
rust-code-quality- Rust best practices reviewarchitecture-validation- Validate vs architectural plansplan-gap-analysis- Verify all requirements covered
Use when: Before major implementation, validating design decisions
Phase 4: Implementation
Agents (Parallel or Sequential):
feature-implementer- Build new functionalityrefactorer- Improve existing code
Skills (Guidance):
feature-implement- Feature implementation workflow
Use when: Executing planned work, building features
Phase 5: Testing & Debugging
Skills (Sequential):
test-fix- Systematic test debuggingquality-unit-testing- High-quality test writing
Agents (Parallel or Sequential):
test-runner- Execute test suitesdebugger- Diagnose runtime issues
Use when: Validating implementations, fixing test failures
Phase 6: Build & CI/CD
Skills (Sequential):
build-compile- Build verification and optimizationgithub-workflows- CI/CD pipeline validation
Use when: Preparing for deployment, troubleshooting CI failures
Phase 7: Quality Assurance (Post-Implementation)
Skills (Parallel):
rust-code-quality- Final Rust reviewarchitecture-validation- Validate vs architectureplan-gap-analysis- Verify completeness
Agents (Parallel):
code-reviewer- Final quality checktest-runner- Full test suite validation
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingdevelopment/goap-agent/SKILL.md
Popularity
- Repository stars
- 8
- Repository forks
- 4
- 7-day trend score
- 11
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Extension points
hookPre/post lifecycle hooks
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/majiayu000/claude-skill-registry-data/goap-agent)