跳转到主要内容
此内容尚未提供您的语言版本,正在以英文显示。

Goal Plan

技能 已验证 活跃

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

目的

To enable users to define complex, multi-step objectives and have an AI systematically plan, execute, and adapt the actions required to achieve them.

功能

  • Goal-Oriented Action Planning (GOAP)
  • Precondition analysis and effect tracking
  • Cost estimation for actions
  • Adaptive replanning on failure or change
  • Structured task creation and execution

使用场景

  • Breaking down large software development tasks into executable steps.
  • Automating complex research or data analysis projects.
  • Creating adaptive strategies for long-term project management.
  • Developing AI agents that can self-correct and replan when encountering obstacles.

非目标

  • Directly executing arbitrary shell commands without a planning context.
  • Managing individual tasks outside of a larger GOAP-defined plan.
  • Providing a generic task runner without the planning and replanning logic.

工作流

  1. Define goal state and current state.
  2. Identify the gap between current and goal states.
  3. Inventory available actions with preconditions, effects, and costs.
  4. Generate an optimal action sequence plan using A* search.
  5. Record the start of the planning trajectory.
  6. Create tasks for each action in the plan.
  7. Execute actions sequentially, verifying preconditions and effects.
  8. Record each execution step.
  9. Monitor for failures or unexpected results and replan if necessary.
  10. Complete the planning trajectory upon success.
  11. Store the successful plan in memory.

实践

  • Action Planning
  • AI Orchestration
  • Adaptive Systems

先决条件

  • Access to Claude Code MCP tools (claude-flow)
  • A defined goal description as input

Practical Utility

  • info:Usage examplesWhile the SKILL.md describes the steps and output format, concrete, end-to-end runnable examples of invoking the plan creation and execution are not readily available.

安装

请先添加 Marketplace

/plugin marketplace add ruvnet/ruflo
/plugin install ruflo-goals@ruflo

质量评分

已验证
96 /100
1 day ago 分析

信任信号

最近提交1 day ago
星标50.2k
许可证MIT
状态
查看源代码