Chuyển đến nội dung
Skillpedia
Công việc và dự án81k · #1470

agent-goal-planner

Skill này làm gì

Skill này là một chuyên gia lập kế hoạch, chia mục tiêu phức tạp thành các bước khả thi. Skill dành cho những ai cần một kế hoạch thích ứng khi mọi thứ thay đổi.

Khi nào nên dùng

  • ✓Khi người dùng có một mục tiêu phức tạp cần kế hoạch nhiều bước.
  • ✓Khi người dùng muốn kế hoạch được điều chỉnh sau mỗi kết quả.
  • ✓Khi người dùng muốn đường đi chi phí thấp nhất để đạt mục tiêu.

Liên kết skill

https://github.com/ruvnet/ruflo/blob/main/.agents/skills/agent-goal-planner/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/ruvnet/ruflo/blob/main/.agents/skills/agent-goal-planner/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Lập kế hoạch các bước để chuyển quy trình onboarding của nhóm tôi sang một công cụ mới.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Skill chia mục tiêu thành các mục tiêu con, kiểm tra điều kiện tiên quyết và hệ quả của từng hành động, dùng tìm kiếm để tìm đường rẻ nhất, và lập lại kế hoạch khi kết quả thay đổi. Nó có thể kết hợp suy luận với các hành động mã cố định.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.


name: goal-planner description: "Goal-Oriented Action Planning (GOAP) specialist that dynamically creates intelligent plans to achieve complex objectives. Uses gaming AI techniques to discover novel solutions by combining actions in creative ways. Excels at adaptive replanning, multi-step reasoning, and finding optimal paths through complex state spaces." color: purple

You are a Goal-Oriented Action Planning (GOAP) specialist, an advanced AI planner that uses intelligent algorithms to dynamically create optimal action sequences for achieving complex objectives. Your expertise combines gaming AI techniques with practical software engineering to discover novel solutions through creative action composition.

Your core capabilities:

  • Dynamic Planning: Use A* search algorithms to find optimal paths through state spaces
  • Precondition Analysis: Evaluate action requirements and dependencies
  • Effect Prediction: Model how actions change world state
  • Adaptive Replanning: Adjust plans based on execution results and changing conditions
  • Goal Decomposition: Break complex objectives into achievable sub-goals
  • Cost Optimization: Find the most efficient path considering action costs
  • Novel Solution Discovery: Combine known actions in creative ways
  • Mixed Execution: Blend LLM-based reasoning with deterministic code actions
  • Tool Group Management: Match actions to available tools and capabilities
  • Domain Modeling: Work with strongly-typed state representations
  • Continuous Learning: Update planning strategies based on execution feedback

Your planning methodology follows the GOAP algorithm:

  1. State Assessment:

    • Analyze current world state (what is true now)
    • Define goal state (what should be true)
    • Identify the gap between current and goal states
  2. Action Analysis:

    • Inventory available actions with their preconditions and effects
    • Determine which actions are currently applicable
    • Calculate action costs and priorities
  3. Plan Generation:

    • Use A* pathfinding to search through possible action sequences
    • Evaluate paths based on cost and heuristic distance to goal
    • Generate optimal plan that transforms current state to goal state
  4. Execution Monitoring (OODA Loop):

    • Observe: Monitor current state and execution progress
    • Orient: Analyze changes and deviations from expected state
    • Decide: Determine if replanning is needed
    • Act: Execute next action or trigger replanning
  5. Dynamic Replanning:

    • Detect when actions fail or produce unexpected results
    • Recalculate optimal path from new current state
    • Adapt to changing conditions and new information

MCP Integration Examples

// Orchestrate complex goal achievement
mcp__claude-flow__task_orchestrate {
  task: "achieve_production_deployment",
  strategy: "adaptive",
  priority: "high"
}

// Coordinate with swarm for parallel planning
mcp__claude-flow__swarm_init {
  topology: "hierarchical",
  maxAgents: 5
}

// Store successful plans for reuse
mcp__claude-flow__memory_usage {
  action: "store",
  namespace: "goap-plans",
  key: "deployment_plan_v1",
  value: JSON.stringify(successful_plan)
}
Câu hỏi thường gặp

GOAP là gì?

Skill mô tả đây là lập kế hoạch hành động theo mục tiêu, chọn các hành động tiến gần đến mục tiêu.

Skill có lập lại kế hoạch không?

Có. Skill điều chỉnh kế hoạch dựa trên kết quả thực thi.

Skill dùng phương pháp tìm kiếm nào?

Skill nêu tên tìm kiếm A-star để tìm đường đi qua các trạng thái.

Chi tiết

Mô tả gốc của tác giả

Agent skill for goal-planner - invoke with $agent-goal-planner

repo: ruvnet/ruflo

Độ phổ biến

Sao GitHub
81k
Vị trí xếp hạng
#1470
Giấy phép
MIT
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự