goal-plan
Create and execute Goal-Oriented Action Plans (GOAP) with precondition analysis, cost optimization, and adaptive replanning
npx skills add ruvnet/ruflo --skill goal-plan --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# 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 `m
- When to use
- Steps
- Plan output format
- Replanning triggers
What does the goal-plan skill do?
Create and execute Goal-Oriented Action Plans (GOAP) with precondition analysis, cost optimization, and adaptive replanning
How do I install it?
Run `npx skills add ruvnet/ruflo --skill goal-plan --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From ruvnet/ruflo, a repository with 67,015 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.