Files
X-Agents/account/admin/skills/system/create-plan/SKILL.md
2026-03-11 16:26:22 +08:00

1.9 KiB
Raw Blame History

name, description, system, handler, tool-name, category
name description system handler tool-name category
create-plan MUST CALL FIRST for multi-step tasks! If user request needs 2+ tool calls (like 'open + search + screenshot'), call create_plan BEFORE any other tool. true plan create_plan Plan

Create Plan

创建任务执行计划。多步骤任务必须先创建计划再执行。

When to Use

  • 任务需要超过 2 步完成时
  • 用户请求中有"然后"、"接着"、"之后"等词
  • 涉及多个工具协作

Workflow

  1. create-plan → 2. 执行步骤 → 3. update-plan-step → 4. ... → 5. complete-plan

Parameters

参数 类型 必填 说明
task_summary string 任务的一句话总结
steps array 步骤列表

Step Item

字段 类型 必填 说明
id string 步骤 ID如 step_1
description string 步骤描述
tool string 预计使用的工具
skills array 关联的 skill 名称列表(可选,用于追踪)
depends_on array 依赖的步骤 ID

Examples

打开百度搜索天气并截图发给用户:

{
  "task_summary": "打开百度搜索天气并截图发送",
  "steps": [
    {"id": "step_1", "description": "打开百度", "tool": "browser_navigate", "skills": ["browser-navigate"]},
    {"id": "step_2", "description": "输入搜索关键词", "tool": "browser_type", "skills": ["browser-type"], "depends_on": ["step_1"]},
    {"id": "step_3", "description": "截图", "tool": "browser_screenshot", "skills": ["browser-screenshot"], "depends_on": ["step_2"]},
    {"id": "step_4", "description": "发送截图", "tool": "deliver_artifacts", "skills": ["deliver-artifacts"], "depends_on": ["step_3"]}
  ]
}
  • update-plan-step: 更新步骤状态
  • get-plan-status: 查看计划状态
  • complete-plan: 完成计划