majiayu000/claude-skill-registry-data/goap-agent

Claude Code and agent skill by majiayu000/claude-skill-registry-data

Trust tier 2
  • community
  • ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
LLM review pending
Source check pending

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-agent

Semi-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
1. ANALYZE → Understand goals, constraints, resources
2. DECOMPOSE → Break into atomic tasks with dependencies
3. STRATEGIZE → Choose execution pattern (parallel/sequential/swarm/hybrid/iterative)
4. COORDINATE → Assign tasks to specialized agents
5. EXECUTE → Run with monitoring and quality gates
6. SYNTHESIZE → Aggregate results and validate success

Phase 1: Task Analysis

Initial Assessment
markdown
## Task Analysis
**Primary Goal**: [Clear statement of what success looks like]
**Constraints**:
-Time: [Urgent / Normal / Flexible]
-Resources: [Available agents, tools, data]
-Dependencies: [External systems, prerequisites]
**Complexity Level**:
-Simple: Single agent, <3 steps
-Medium: 2-3 agents, some dependencies
-Complex: 4+ agents, mixed execution modes
-Very Complex: Multiple phases, many dependencies
**Quality Requirements**:
-Testing: [Unit / Integration / E2E]
-Standards: [AGENTS.md compliance, formatting, linting]
-Documentation: [API docs, examples, guides]
-Performance: [Speed, memory, scalability]
Context Gathering
  1. Codebase Understanding: Use Explore agent to understand relevant code
  2. Past Patterns: Check if similar tasks have been done before
  3. Available Resources: Identify available agents and their capabilities
  4. Current State: Understand starting conditions and existing implementations

Phase 2: Task Decomposition

Use the task-decomposition skill to break down the goal:

markdown
## Task Decomposition: [Task Name]
### Main Goal
[Clear statement of primary objective]
### Sub-Goals
1.[Component 1] - Priority: P0
-Success Criteria: [How to verify]
-Dependencies: [Prerequisites]
-Complexity: [Low/Medium/High]
2.[Component 2] - Priority: P1
-Success Criteria: [How to verify]
-Dependencies: [Component 1]
-Complexity: [Low/Medium/High]
### Atomic Tasks
**Component 1: [Name]**
-Task 1.1: [Action] (Agent: type, Deps: none)
-Task 1.2: [Action] (Agent: type, Deps: 1.1)
### Dependency Graph

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
StrategyWhen to UseSpeedComplexity
ParallelIndependent tasks, time-criticalNxHigh
SequentialDependent tasks, order matters1xLow
SwarmMany similar tasks~NxMedium
HybridMixed requirements2-4xVery High
IterativeProgressive refinement, convergenceVariesMedium
Decision Tree
Needs iterative refinement?
├─ Yes (until criteria met or converged) → ITERATIVE
└─ No → Is time critical?
├─ Yes → Can tasks run in parallel?
│ ├─ Yes → PARALLEL
│ └─ No → SEQUENTIAL (prioritize critical path)
└─ No → Are tasks similar?
├─ Yes (many similar) → SWARM
├─ No (mixed) → HYBRID
└─ Simple linear → SEQUENTIAL

Phase 4: Agent Assignment

Agent Capability Matrix
Agent TypeCapabilitiesTools AvailableBest For
feature-implementerDesign, implement, test, integrate featuresRead, Write, Edit, Bash, Glob, GrepNew functionality, modules, APIs
debuggerDiagnose runtime issues, async problemsRead, Bash, Grep, EditBug fixes, deadlocks, performance
test-runnerExecute tests, diagnose failuresBash, Read, Grep, EditTest validation, debugging tests
refactorerImprove structure, eliminate duplicationRead, Edit, Bash, Grep, GlobCode quality, modernization
code-reviewerReview quality, standards, securityRead, Glob, Grep, BashQuality assurance, pre-commit
loop-agentIterative refinement, convergenceTask, Read, TodoWrite, Glob, GrepProgressive improvements, test-fix loops
agent-creatorCreate new Task AgentsWrite, Read, Glob, Grep, EditBuilding new autonomous capabilities
ExploreFast codebase explorationAll toolsFinding files, understanding architecture
memory-cliCLI development and testingRead, Write, Edit, Bash, Glob, GrepMemory CLI features and fixes
Assignment Principles
  1. Match agent capabilities to task requirements
  2. Balance workload across agents
  3. Consider agent specialization
  4. Plan for quality validation
Phase-Specific Skill/Agent Recommendations
Phase 1: Research & Analysis

Skills (Parallel):

  • web-search-researcher - Research best practices, modern solutions
  • context-retrieval - Find similar past implementations
  • codebase-consolidation - Understand current architecture

Agents (Parallel):

  • Explore - Fast codebase exploration
  • code-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 goals
  • analysis-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 review
  • architecture-validation - Validate vs architectural plans
  • plan-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 functionality
  • refactorer - 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 debugging
  • quality-unit-testing - High-quality test writing

Agents (Parallel or Sequential):

  • test-runner - Execute test suites
  • debugger - Diagnose runtime issues

Use when: Validating implementations, fixing test failures

Phase 6: Build & CI/CD

Skills (Sequential):

  • build-compile - Build verification and optimization
  • github-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 review
  • architecture-validation - Validate vs architecture
  • plan-gap-analysis - Verify completeness

Agents (Parallel):

  • code-reviewer - Final quality check
  • test-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

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/majiayu000/claude-skill-registry-data/goap-agent/badge)](https://verified-skill.com/skills/majiayu000/claude-skill-registry-data/goap-agent)

Something wrong with this skill or its page? Tell us.