π The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated
TypeScript agentic-aiagentic-frameworkagentic-workflowagentsai-agentsai-assistantai-skillsautonomous-agentsclaudecodexdsh-pluginharnessmcp-servermulti-agentmulti-agent-systemsnpmskillsswarmswarm-intelligencetypescript
name: goal-plan description: Create and execute Goal-Oriented Action Plans (GOAP) with precondition analysis, cost optimization, and adaptive replanning argument-hint: "" allowed-tools: mcp__plugin_ruflo-core_ruflo__task_create mcp__plugin_ruflo-core_ruflo__task_list mcp__plugin_ruflo-core_ruflo__task_status mcp__plugin_ruflo-core_ruflo__task_assign mcp__plugin_ruflo-core_ruflo__task_update mcp__plugin_ruflo-core_ruflo__task_complete mcp__plugin_ruflo-core_ruflo__task_summary mcp__plugin_ruflo-core_ruflo__memory_store mcp__plugin_ruflo-core_ruflo__memory_search mcp__plugin_ruflo-core_ruflo__neural_predict mcp__plugin_ruflo-core_ruflo__workflow_create mcp__plugin_ruflo-core_ruflo__workflow_execute mcp__plugin_ruflo-core_ruflo__workflow_status mcp__plugin_ruflo-core_ruflo__hooks_intelligence_trajectory-start mcp__plugin_ruflo-core_ruflo__hooks_intelligence_trajectory-step mcp__plugin_ruflo-core_ruflo__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
- 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