goal-plan
Create and execute Goal-Oriented Action Plans (GOAP) with precondition analysis, cost optimization, and adaptive replanning
How do I install this agent skill?
npx skills add https://github.com/ruvnet/ruflo --skill goal-planIs this agent skill safe to install?
- Gen Agent Trust Hubpass
The skill provides a Goal-Oriented Action Planning (GOAP) framework. It includes an inherent attack surface for indirect prompt injection when evaluating untrusted files or workspace environments, but contains no active malicious code or patterns.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
What does this agent skill do?
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
- Define goal state — what does "done" look like? List concrete success criteria
- Assess current state — what's true now? What assets, code, infrastructure exist?
- Identify gap — what must change between current and goal state?
- 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)
- Generate plan — find the optimal action sequence using A* through the state space
- Record trajectory — call
mcp__plugin_ruflo-core_ruflo__hooks_intelligence_trajectory-startto begin tracking - Create tasks — call
mcp__plugin_ruflo-core_ruflo__task_createfor each action in the plan - 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
- Monitor & replan — if an action fails or produces unexpected results:
- Reassess current state
- Recalculate optimal path from new state
- Update remaining tasks
- Complete trajectory — call
mcp__plugin_ruflo-core_ruflo__hooks_intelligence_trajectory-end - Store successful plan — call
mcp__plugin_ruflo-core_ruflo__memory_storewith namespacegoap-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
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/ruvnet/ruflo/goal-plan">View goal-plan on skillZs</a>