Skip to content
Skillpedia
Tasks & projects81k Β· #1626

goal-plan

What it does

This skill plans a complex goal as a sequence of actions, each with what must be true before it and what it changes. It is for people running multi-step projects who want a clear, adaptable plan.

When to use it

  • βœ“When a goal has many steps that depend on one another.
  • βœ“When you want to know the best order of actions before you start.
  • βœ“When conditions change and the plan needs to be checked again.

Skill link

https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-goals/skills/goal-plan/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/plugins/ruflo-goals/skills/goal-plan/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 our store from the old checkout to the new one, in the right order.”

5 new skills a week. 1 minute to read.

How it works

The skill defines what done looks like, lists the available actions with their requirements and effects, and finds a good sequence. It then creates tasks, works through them in order and replans if a step fails.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

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__plugin_ruflo-core_ruflo__hooks_intelligence_trajectory-start to begin tracking
  7. Create tasks β€” call mcp__plugin_ruflo-core_ruflo__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__plugin_ruflo-core_ruflo__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__plugin_ruflo-core_ruflo__hooks_intelligence_trajectory-end
  11. Store successful plan β€” call mcp__plugin_ruflo-core_ruflo__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
FAQ

What does it check before each step?

It confirms that the requirements for the step still hold, then checks the expected result afterwards.

What happens if a step fails?

The skill reassesses the current state and replans from there.

Does it keep a record of the work?

Yes. It records each step in a trajectory so the work can be reviewed later.

Details

Original description by the author

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

repo: ruvnet/ruflo

Popularity

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

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills