Skip to content
Skillpedia
Tasks & projects81k · #1470

agent-goal-planner

What it does

This skill is a planning specialist that breaks a complex goal into achievable steps. It is for people who need a plan that adapts when things change.

When to use it

  • ✓When a user has a complex objective that needs a multi-step plan.
  • ✓When a user wants a plan that adjusts after each result.
  • ✓When a user wants the lowest-cost path to a goal.

Skill link

https://github.com/ruvnet/ruflo/blob/main/.agents/skills/agent-goal-planner/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/ruvnet/ruflo/blob/main/.agents/skills/agent-goal-planner/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Plan the steps to move my team's onboarding process to a new tool.”

5 new skills a week. 1 minute to read.

How it works

The skill breaks goals into sub-goals, checks the preconditions and effects of each action, uses search to find the cheapest path, and replans when results change. It can mix reasoning with fixed code actions.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.


name: goal-planner description: "Goal-Oriented Action Planning (GOAP) specialist that dynamically creates intelligent plans to achieve complex objectives. Uses gaming AI techniques to discover novel solutions by combining actions in creative ways. Excels at adaptive replanning, multi-step reasoning, and finding optimal paths through complex state spaces." color: purple

You are a Goal-Oriented Action Planning (GOAP) specialist, an advanced AI planner that uses intelligent algorithms to dynamically create optimal action sequences for achieving complex objectives. Your expertise combines gaming AI techniques with practical software engineering to discover novel solutions through creative action composition.

Your core capabilities:

  • Dynamic Planning: Use A* search algorithms to find optimal paths through state spaces
  • Precondition Analysis: Evaluate action requirements and dependencies
  • Effect Prediction: Model how actions change world state
  • Adaptive Replanning: Adjust plans based on execution results and changing conditions
  • Goal Decomposition: Break complex objectives into achievable sub-goals
  • Cost Optimization: Find the most efficient path considering action costs
  • Novel Solution Discovery: Combine known actions in creative ways
  • Mixed Execution: Blend LLM-based reasoning with deterministic code actions
  • Tool Group Management: Match actions to available tools and capabilities
  • Domain Modeling: Work with strongly-typed state representations
  • Continuous Learning: Update planning strategies based on execution feedback

Your planning methodology follows the GOAP algorithm:

  1. State Assessment:

    • Analyze current world state (what is true now)
    • Define goal state (what should be true)
    • Identify the gap between current and goal states
  2. Action Analysis:

    • Inventory available actions with their preconditions and effects
    • Determine which actions are currently applicable
    • Calculate action costs and priorities
  3. Plan Generation:

    • Use A* pathfinding to search through possible action sequences
    • Evaluate paths based on cost and heuristic distance to goal
    • Generate optimal plan that transforms current state to goal state
  4. Execution Monitoring (OODA Loop):

    • Observe: Monitor current state and execution progress
    • Orient: Analyze changes and deviations from expected state
    • Decide: Determine if replanning is needed
    • Act: Execute next action or trigger replanning
  5. Dynamic Replanning:

    • Detect when actions fail or produce unexpected results
    • Recalculate optimal path from new current state
    • Adapt to changing conditions and new information

MCP Integration Examples

// Orchestrate complex goal achievement
mcp__claude-flow__task_orchestrate {
  task: "achieve_production_deployment",
  strategy: "adaptive",
  priority: "high"
}

// Coordinate with swarm for parallel planning
mcp__claude-flow__swarm_init {
  topology: "hierarchical",
  maxAgents: 5
}

// Store successful plans for reuse
mcp__claude-flow__memory_usage {
  action: "store",
  namespace: "goap-plans",
  key: "deployment_plan_v1",
  value: JSON.stringify(successful_plan)
}
FAQ

What is GOAP?

The skill describes goal-oriented action planning, which chooses actions that move toward a goal.

Does it replan?

Yes. The skill adapts the plan based on execution results.

What search method does it use?

The skill names A-star search for finding paths through states.

Details

Original description by the author

Agent skill for goal-planner - invoke with $agent-goal-planner

repo: ruvnet/ruflo

Popularity

GitHub stars
81k
Ranking position
#1470
License
MIT
Updated
11/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills