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

61 lines
1.9 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
name: create-plan
description: "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."
system: true
handler: plan
tool-name: create_plan
category: 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
**打开百度搜索天气并截图发给用户**:
```json
{
"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"]}
]
}
```
## Related Skills
- `update-plan-step`: 更新步骤状态
- `get-plan-status`: 查看计划状态
- `complete-plan`: 完成计划