feat: 新增 account 和 plan 目录
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"zh": {
|
||||
"name": "创建计划",
|
||||
"description": "为多步骤任务创建执行计划,在需要 2 个以上工具调用时必须首先创建计划。"
|
||||
}
|
||||
}
|
||||
60
account/admin/skills/system/create-plan/SKILL.md
Normal file
60
account/admin/skills/system/create-plan/SKILL.md
Normal file
@@ -0,0 +1,60 @@
|
||||
---
|
||||
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`: 完成计划
|
||||
Reference in New Issue
Block a user