Skill Market

goal plan

Create and execute Goal-Oriented Action Plans (GOAP) with precondition analysis, cost optimization, and adaptive replanning

GitHub
githubcommunityclaudemcp
0.0
0 installs73.4K GitHub starsby ruvnet

Skill Introduction

Overview
Create and execute Goal-Oriented Action Plans (GOAP) with precondition analysis, cost optimization, and adaptive replanning

Core value

Turns reusable Development know-how into an installable skill, helping users complete github, community, claude, mcp work faster.

Target users

  • Developers, testers, and maintainers who handle Development tasks in Focus Code.
  • Teams that already trust workflows or content from ruvnet.
  • Users who want standardized prompts, steps, or conventions instead of repeating setup work.

Best practices

  • Read the skill content first to confirm required inputs, expected outputs, and dependencies.
  • Try it on a small task before relying on it for critical work.
  • Add project-specific constraints such as coding style, target platform, test expectations, and delivery format.
  • For external sources, verify the source link, version, and recent maintenance activity.

Best use cases

  • Tasks related to github, community, claude, mcp that need a reusable execution flow.
  • Converting a community repo, team convention, or personal workflow into day-to-day assistance.
  • Starting from a proven skill instead of writing prompts or procedures from scratch.

Limits and boundaries

  • Results depend on the quality of the original skill content and may need human correction.
  • It does not replace code review, tests, security review, or professional judgment.
  • External tools, APIs, account permissions, and local dependencies still need separate setup.

Differentiation

  • Structured around Development, making it easier to discover and reuse than loose prompt snippets.
  • Marked as GitHub, which helps users judge trust and maintenance expectations.
  • Keeps the original source link available for repository, documentation, or discussion follow-up.
  • Tagged with github, community, claude, mcp, so it can be filtered by concrete task intent.

Install and use

Install
Copy Install Command
focus install goal-plan-444bf7
View source

Detail Preview

SKILL.md

Primary filemarkdown3 KB

name: goal-plan description: Create and execute Goal-Oriented Action Plans (GOAP) with precondition analysis, cost optimization, and adaptive replanning argument-hint: "<goal-description>" allowed-tools: mcp__claude-flow__task_create mcp__claude-flow__task_list mcp__claude-flow__task_status mcp__claude-flow__task_assign mcp__claude-flow__task_update mcp__claude-flow__task_complete mcp__claude-flow__task_summary mcp__claude-flow__memory_store mcp__claude-flow__memory_search mcp__claude-flow__neural_predict mcp__claude-flow__workflow_create mcp__claude-flow__workflow_execute mcp__claude-flow__workflow_status mcp__claude-flow__hooks_intelligence_trajectory-start mcp__claude-flow__hooks_intelligence_trajectory-step mcp__claude-flow__hooks_intelligence_trajectory-end Bash Read Write Edit

Goal Plan

Create and execute intelligent plans using Goal-Oriented Action Planning (GOAP).

When to use

When you have a complex objective that requires multiple steps, has dependencies between steps, and may need adaptive replanning as conditions change.

Steps

  1. Define goal state — what does "done" look like? List concrete success criteria
  2. Assess current state — what's true now? What assets, code, infrastructure exist?
  3. Identify gap — what must change between current and goal state?
  4. Inventory actions — list available actions with:
    • Preconditions (what must be true before this action)
    • Effects (what becomes true after this action)
    • Cost estimate (time, complexity, risk)
  5. Generate plan — find the optimal action sequence using A* through the state space
  6. Record trajectory — call mcp__claude-flow__hooks_intelligence_trajectory-start to begin tracking
  7. Create tasks — call mcp__claude-flow__task_create for each action in the plan
  8. Execute — work through tasks in dependency order:
    • Before each action: verify preconditions still hold
    • After each action: verify effects achieved
    • Record each step via mcp__claude-flow__hooks_intelligence_trajectory-step
  9. Monitor & replan — if an action fails or produces unexpected results:
    • Reassess current state
    • Recalculate optimal path from new state
    • Update remaining tasks
  10. Complete trajectory — call mcp__claude-flow__hooks_intelligence_trajectory-end
  11. Store successful plan — call mcp__claude-flow__memory_store with namespace goap-plans

Plan output format

Goal: [concrete objective]
Current State: [key facts]
Plan Cost: [estimated effort]
Steps:
  1. [action] — precondition: [X], effect: [Y], cost: [Z]
  2. [action] — precondition: [Y], effect: [W], cost: [Z]
  ...
Risk Factors: [what could force a replan]
Fallback: [alternative approach if primary path fails]

Replanning triggers

  • Action fails (precondition no longer met)
  • Unexpected side effects detected
  • New information changes goal definition
  • Cost exceeds threshold
  • External dependency becomes unavailable

Reviews

Overall rating

0.0
0.0

0 comments

No reviews yet