feat: 新增 account 和 plan 目录

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-11 16:26:22 +08:00
parent 243a190124
commit 0cab33b16b
694 changed files with 161549 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
{
"zh": {
"name": "添加记忆",
"description": "将重要信息记录到长期记忆中,用于学习用户偏好、保存成功模式和记录错误教训。"
}
}

View File

@@ -0,0 +1,59 @@
---
name: add-memory
description: Record important information to long-term memory for learning user preferences, successful patterns, and error lessons. When you need to remember user preferences, save successful patterns, or record lessons from errors.
system: true
handler: memory
tool-name: add_memory
category: Memory
---
# Add Memory
记录重要信息到长期记忆。
## Parameters
| 参数 | 类型 | 必填 | 说明 |
|-----|------|-----|------|
| content | string | 是 | 要记住的内容 |
| type | string | 是 | 记忆类型(见下方列表) |
| importance | number | 否 | 重要性0-1默认 0.5 |
## Memory Types
- `fact`: 事实信息
- `preference`: 用户偏好
- `skill`: 技能知识
- `error`: 错误教训
- `rule`: 规则约定
## Importance Levels
- 0.8+: 永久记忆(重要偏好、关键规则)
- 0.6-0.8: 长期记忆(一般偏好、常用模式)
- 0.6-: 短期记忆(临时信息)
## Examples
**记录用户偏好**:
```json
{
"content": "用户喜欢简洁的代码风格",
"type": "preference",
"importance": 0.8
}
```
**记录错误教训**:
```json
{
"content": "在 Windows 上使用 / 而不是 \\ 作为路径分隔符",
"type": "error",
"importance": 0.7
}
```
## Related Skills
- `search-memory`: 搜索相关记忆
- `get-memory-stats`: 查看记忆统计

View File

@@ -0,0 +1,6 @@
{
"zh": {
"name": "浏览器点击",
"description": "通过 CSS 选择器或文本内容点击网页元素,如按钮、链接或选项。"
}
}

View File

@@ -0,0 +1,52 @@
---
name: browser-click
description: Click page elements by CSS selector or text content. When you need to click buttons, links, or select options. PREREQUISITE - must use browser_navigate to open target page first.
system: true
handler: browser
tool-name: browser_click
category: Browser
---
# Browser Click
点击页面上的元素。
## Parameters
| 参数 | 类型 | 必填 | 说明 |
|-----|------|-----|------|
| selector | string | 否 | CSS 选择器,如 '#btn-submit', '.button-class' |
| text | string | 否 | 元素文本,如 '提交', 'Submit' |
至少提供 `selector``text` 其中之一。
## Examples
**点击按钮CSS 选择器)**:
```json
{"selector": "#submit-btn"}
```
**点击按钮(文本匹配)**:
```json
{"text": "提交"}
```
## Prerequisites
- 必须先用 `browser_navigate` 打开目标页面
## Related Skills
- `browser-navigate`: 先导航到页面
- `browser-type`: 在点击后输入文本
## 推荐
对于多步骤的浏览器任务,建议优先使用 `browser_task` 工具。它可以自动规划和执行复杂的浏览器操作,无需手动逐步调用各个工具。
示例:
```python
browser_task(task="打开百度搜索福建福州并截图")
```

View File

@@ -0,0 +1,6 @@
{
"zh": {
"name": "获取网页内容",
"description": "提取当前网页的内容和元素文本,用于读取页面信息、获取数据或验证内容。"
}
}

View File

@@ -0,0 +1,45 @@
---
name: browser-get-content
description: Extract page content and element text from current webpage. When you need to read page information, get element values, scrape data, or verify page content.
system: true
handler: browser
tool-name: browser_get_content
category: Browser
---
# Browser Get Content
获取页面内容(文本)。
## Parameters
| 参数 | 类型 | 必填 | 说明 |
|-----|------|-----|------|
| selector | string | 否 | CSS 选择器(可选,不填则获取整个页面) |
## Examples
**获取整个页面**:
```json
{}
```
**获取特定元素**:
```json
{"selector": ".article-body"}
```
## Related Skills
- `browser-navigate`: 先导航到页面
- `browser-screenshot`: 视觉捕获
## 推荐
对于多步骤的浏览器任务,建议优先使用 `browser_task` 工具。它可以自动规划和执行复杂的浏览器操作,无需手动逐步调用各个工具。
示例:
```python
browser_task(task="打开百度搜索福建福州并截图")
```

View File

@@ -0,0 +1,6 @@
{
"zh": {
"name": "列出标签页",
"description": "列出所有打开的浏览器标签页包括序号、URL 和标题。"
}
}

View File

@@ -0,0 +1,38 @@
---
name: browser-list-tabs
description: List all open browser tabs with their index, URL and title. When you need to check what pages are open, manage multiple tabs, or find a specific tab to switch to.
system: true
handler: browser
tool-name: browser_list_tabs
category: Browser
---
# Browser List Tabs
列出所有打开的标签页。
## Parameters
无参数。
## Returns
每个标签页的信息:
- 索引(从 0 开始)
- URL
- 页面标题
## Related Skills
- `browser-switch-tab`: 切换标签页
- `browser-new-tab`: 新建标签页
## 推荐
对于多步骤的浏览器任务,建议优先使用 `browser_task` 工具。它可以自动规划和执行复杂的浏览器操作,无需手动逐步调用各个工具。
示例:
```python
browser_task(task="打开百度搜索福建福州并截图")
```

View File

@@ -0,0 +1,6 @@
{
"zh": {
"name": "浏览器导航",
"description": "导航浏览器到指定 URL打开网页或开始网页自动化操作。"
}
}

View File

@@ -0,0 +1,58 @@
---
name: browser-navigate
description: Navigate browser to specified URL to open a webpage. When you need to open webpages or start web automation. PREREQUISITE - must call before browser_click/type operations. Auto-starts browser if not running.
system: true
handler: browser
tool-name: browser_navigate
category: Browser
---
# Browser Navigate
导航到指定 URL打开网页。
## Parameters
| 参数 | 类型 | 必填 | 说明 |
|-----|------|-----|------|
| url | string | 是 | 要访问的 URL必须包含协议如 https:// |
## Examples
**打开搜索引擎**:
```json
{"url": "https://www.google.com"}
```
**打开本地文件**:
```json
{"url": "file:///C:/Users/test.html"}
```
## Workflow
1. 调用此工具导航到目标页面
2. 等待页面加载
3. 使用 `browser_click` / `browser_type` 与页面交互
## Important Notes
- 必须在 `browser_click` / `browser_type` 之前调用此工具
- 如果浏览器未启动会自动启动
- URL 必须包含协议http:// 或 https://
## Related Skills
- `browser-status`: 检查浏览器状态
- `browser-click`: 点击页面元素
- `browser-type`: 在输入框输入文本
## 推荐
对于多步骤的浏览器任务,建议优先使用 `browser_task` 工具。它可以自动规划和执行复杂的浏览器操作,无需手动逐步调用各个工具。
示例:
```python
browser_task(task="打开百度搜索福建福州并截图")
```

View File

@@ -0,0 +1,6 @@
{
"zh": {
"name": "新建标签页",
"description": "在新标签页中打开 URL保持当前页面不变支持多任务并行。"
}
}

View File

@@ -0,0 +1,39 @@
---
name: browser-new-tab
description: Open new browser tab and navigate to URL (keeps current page open). When you need to open additional page without closing current, or multi-task across pages. PREREQUISITE - must confirm browser is running first.
system: true
handler: browser
tool-name: browser_new_tab
category: Browser
---
# Browser New Tab
打开新标签页并导航到指定 URL。
## Parameters
| 参数 | 类型 | 必填 | 说明 |
|-----|------|-----|------|
| url | string | 是 | 要在新标签页打开的 URL |
## Notes
- 不会覆盖当前页面
- 必须先确认浏览器已启动
## Related Skills
- `browser-status`: 检查浏览器状态
- `browser-navigate`: 在当前标签页导航
- `browser-switch-tab`: 切换标签页
## 推荐
对于多步骤的浏览器任务,建议优先使用 `browser_task` 工具。它可以自动规划和执行复杂的浏览器操作,无需手动逐步调用各个工具。
示例:
```python
browser_task(task="打开百度搜索福建福州并截图")
```

View File

@@ -0,0 +1,6 @@
{
"zh": {
"name": "打开浏览器",
"description": "启动浏览器或检查其状态返回当前状态信息是否打开、URL、标题、标签数。"
}
}

View File

@@ -0,0 +1,40 @@
---
name: browser-open
description: Launch browser or check its status. Returns current state (is_open, url, title, tab_count). If already running, returns status without restarting. Auto-handles everything - no need to call browser_status first.
system: true
handler: browser
tool-name: browser_open
category: Browser
---
# Browser Open
启动浏览器。
## Parameters
| 参数 | 类型 | 必填 | 说明 |
|-----|------|-----|------|
| visible | boolean | 否 | True=显示窗口, False=后台运行,默认 True |
| ask_user | boolean | 否 | 是否先询问用户偏好,默认 False |
## Notes
- 如果浏览器已在运行,直接返回当前状态,不会重复启动
- 服务重启后浏览器会关闭,调用此工具会自动重新启动
- 无需先调用 `browser_status`,本工具已包含状态检查
## Related Skills
- `browser-status`: 检查状态
- `browser-navigate`: 导航到页面
## 推荐
对于多步骤的浏览器任务,建议优先使用 `browser_task` 工具。它可以自动规划和执行复杂的浏览器操作,无需手动逐步调用各个工具。
示例:
```python
browser_task(task="打开百度搜索福建福州并截图")
```

View File

@@ -0,0 +1,6 @@
{
"zh": {
"name": "网页截图",
"description": "捕获浏览器页面截图(仅网页内容),用于记录页面状态或调试问题。"
}
}

View File

@@ -0,0 +1,55 @@
---
name: browser-screenshot
description: Capture browser page screenshot (webpage content only, not desktop). When you need to show page state, document results, or debug issues. For desktop screenshots, use desktop_screenshot instead.
system: true
handler: browser
tool-name: browser_screenshot
category: Browser
---
# Browser Screenshot
截取当前页面截图。
## Parameters
| 参数 | 类型 | 必填 | 说明 |
|-----|------|-----|------|
| path | string | 否 | 保存路径(可选,不填自动生成) |
## Examples
**截取当前页面**:
```json
{}
```
**保存到指定路径**:
```json
{"path": "C:/screenshots/result.png"}
```
## Notes
- 仅截取浏览器页面内容
- 如需截取桌面或其他应用,请使用 `desktop_screenshot`
## Workflow
1. 截图后获取 `file_path`
2. 使用 `deliver_artifacts` 发送给用户
## Related Skills
- `desktop-screenshot`: 截取桌面应用
- `deliver-artifacts`: 发送截图给用户
## 推荐
对于多步骤的浏览器任务,建议优先使用 `browser_task` 工具。它可以自动规划和执行复杂的浏览器操作,无需手动逐步调用各个工具。
示例:
```python
browser_task(task="打开百度搜索福建福州并截图")
```

View File

@@ -0,0 +1,6 @@
{
"zh": {
"name": "浏览器状态",
"description": "检查浏览器当前状态,包括打开状态、当前 URL、页面标题和标签数量。"
}
}

View File

@@ -0,0 +1,44 @@
---
name: browser-status
description: Check browser current state including open status, current URL, page title, tab count. Useful for checking current page URL/title. Note - browser_open already includes status check and auto-starts if needed, so you don't need to call browser_status before browser_open.
system: true
handler: browser
tool-name: browser_status
category: Browser
---
# Browser Status
获取浏览器当前状态。
## Parameters
无参数。
## Returns
- `is_open`: 浏览器是否打开
- `url`: 当前页面 URL
- `title`: 当前页面标题
- `tab_count`: 打开的标签页数量
## Notes
- 用于查看当前页面 URL、标题、标签页数量
- `browser_open` 已包含状态检查,不需要先调 `browser_status` 再调 `browser_open`
- `browser_task``browser_navigate` 会自动启动浏览器,无需手动检查
## Related Skills
- `browser-open`: 如果状态显示未运行则调用
- `browser-navigate`: 状态检查后导航
## 推荐
对于多步骤的浏览器任务,建议优先使用 `browser_task` 工具。它可以自动规划和执行复杂的浏览器操作,无需手动逐步调用各个工具。
示例:
```python
browser_task(task="打开百度搜索福建福州并截图")
```

View File

@@ -0,0 +1,6 @@
{
"zh": {
"name": "切换标签页",
"description": "按索引切换到指定浏览器标签页,用于在不同页面间切换。"
}
}

View File

@@ -0,0 +1,38 @@
---
name: browser-switch-tab
description: Switch to a specific browser tab by index. When you need to work with a different tab or return to previous page. Use browser_list_tabs to get tab indices.
system: true
handler: browser
tool-name: browser_switch_tab
category: Browser
---
# Browser Switch Tab
切换到指定的标签页。
## Parameters
| 参数 | 类型 | 必填 | 说明 |
|-----|------|-----|------|
| index | number | 是 | 标签页索引(从 0 开始) |
## Workflow
1. 先用 `browser_list_tabs` 获取所有标签页
2. 使用返回的索引切换
## Related Skills
- `browser-list-tabs`: 获取标签页列表
- `browser-new-tab`: 新建标签页
## 推荐
对于多步骤的浏览器任务,建议优先使用 `browser_task` 工具。它可以自动规划和执行复杂的浏览器操作,无需手动逐步调用各个工具。
示例:
```python
browser_task(task="打开百度搜索福建福州并截图")
```

View File

@@ -0,0 +1,6 @@
{
"zh": {
"name": "浏览器任务",
"description": "智能浏览器任务——描述任务目标,自动完成操作(推荐优先使用)。"
}
}

View File

@@ -0,0 +1,122 @@
---
name: browser-task
description: 智能浏览器任务 - 描述任务,自动完成(推荐优先使用)
system: true
handler: browser
tool-name: browser_task
category: Browser
priority: high
---
# browser_task - 智能浏览器任务
**推荐优先使用** - 这是浏览器操作的首选工具。
基于 [browser-use](https://github.com/browser-use/browser-use) 开源项目实现。
## 用法
```python
browser_task(
task="要完成的任务描述",
max_steps=15 # 可选,默认 15
)
```
## 参数
| 参数 | 类型 | 必填 | 说明 |
|------|------|------|------|
| task | string | 是 | 任务描述,用自然语言描述你想完成的操作 |
| max_steps | integer | 否 | 最大执行步骤数,默认 15 |
## 何时使用(优先)
- 任何涉及多步骤的浏览器操作
- 网页搜索、表单填写、信息提取
- 不确定具体操作步骤时
- 复杂的网页交互流程
## 示例
### 搜索任务
```python
browser_task(task="打开百度搜索福建福州天气")
```
### 表单填写
```python
browser_task(task="打开 example.com 的注册页面,填写用户名 test123")
```
### 信息提取
```python
browser_task(task="打开 GitHub 首页,获取今日热门项目的名称")
```
### 截图任务
```python
browser_task(task="打开百度搜索福建福州,截图保存")
```
## 何时使用细粒度工具
仅在以下情况使用 `browser_navigate``browser_click` 等细粒度工具:
- `browser_task` 执行失败需要手动介入
- 仅需单步操作(如只截图 `browser_screenshot`
- 需要精确控制特定元素
## 返回值
```json
{
"success": true,
"result": {
"task": "打开百度搜索福建福州",
"steps_taken": 5,
"final_result": "搜索完成,已显示福建福州相关结果",
"message": "任务完成: 打开百度搜索福建福州"
}
}
```
## 注意事项
1. 任务描述要清晰具体,避免歧义
2. 复杂任务可能需要增加 max_steps
3. 首次使用会自动启动浏览器(可见模式)
4. **自动继承系统 LLM 配置**,无需额外配置 API Key
## 技术细节
- 通过 CDP (Chrome DevTools Protocol) 复用 OpenAkita 已启动的浏览器
- 自动继承 OpenAkita 系统配置的 LLM来自 llm_endpoints.json
- 基于 [browser-use](https://github.com/browser-use/browser-use) 开源项目
## 高级:操作用户已打开的 Chrome
如果想让 OpenAkita 操作你已打开的 Chrome 页面,需要以调试模式启动 Chrome
**Windows:**
```cmd
"C:\Program Files\Google\Chrome\Application\chrome.exe" --remote-debugging-port=9222
```
**macOS:**
```bash
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --remote-debugging-port=9222
```
**Linux:**
```bash
google-chrome --remote-debugging-port=9222
```
启动后OpenAkita 会自动检测并连接,可以操作你已打开的标签页。
## 相关技能
- `browser_screenshot` - 单独截图
- `browser_navigate` - 单独导航
- `deliver_artifacts` - 发送结果给用户

View File

@@ -0,0 +1,6 @@
{
"zh": {
"name": "网页输入",
"description": "在网页输入框中输入文本,用于填写表单、输入搜索词或录入数据。"
}
}

View File

@@ -0,0 +1,56 @@
---
name: browser-type
description: Type text into input fields on webpage. When you need to fill forms, enter search queries, or input data. PREREQUISITE - must use browser_navigate first. May need to click field first for focus.
system: true
handler: browser
tool-name: browser_type
category: Browser
---
# Browser Type
在输入框中输入文本。
## Parameters
| 参数 | 类型 | 必填 | 说明 |
|-----|------|-----|------|
| selector | string | 是 | 输入框的 CSS 选择器 |
| text | string | 是 | 要输入的文本 |
## Examples
**在搜索框输入**:
```json
{"selector": "input[name='q']", "text": "OpenAkita"}
```
**填写用户名**:
```json
{"selector": "#username", "text": "admin"}
```
## Prerequisites
- 必须先用 `browser_navigate` 打开目标页面
- 如果输入框没有焦点,可能需要先点击
## Notes
- 支持中文输入
- 输入会追加到现有内容(如需清空请先选中)
## Related Skills
- `browser-navigate`: 先导航到页面
- `browser-click`: 点击输入框获取焦点
## 推荐
对于多步骤的浏览器任务,建议优先使用 `browser_task` 工具。它可以自动规划和执行复杂的浏览器操作,无需手动逐步调用各个工具。
示例:
```python
browser_task(task="打开百度搜索福建福州并截图")
```

View File

@@ -0,0 +1,6 @@
{
"zh": {
"name": "调用 MCP 工具",
"description": "调用 MCP 服务器工具以获取扩展功能,需查看系统提示中的可用服务器和工具列表。"
}
}

View File

@@ -0,0 +1,39 @@
---
name: call-mcp-tool
description: Call MCP server tool for extended capabilities. Check 'MCP Servers' section in system prompt for available servers and tools. When you need to use external service or access specialized functionality.
system: true
handler: mcp
tool-name: call_mcp_tool
category: MCP
---
# Call MCP Tool
调用 MCP 服务器的工具。
## Parameters
| 参数 | 类型 | 必填 | 说明 |
|-----|------|-----|------|
| server | string | 是 | MCP 服务器标识符 |
| tool_name | string | 是 | 工具名称 |
| arguments | object | 否 | 工具参数,默认 {} |
## Usage
查看系统提示中的 'MCP Servers' 部分了解可用的服务器和工具。
## Examples
```json
{
"server": "my-server",
"tool_name": "search",
"arguments": {"query": "example"}
}
```
## Related Skills
- `list-mcp-servers`: 列出可用服务器
- `get-mcp-instructions`: 获取使用说明

View File

@@ -0,0 +1,6 @@
{
"zh": {
"name": "取消定时任务",
"description": "永久删除指定的定时任务。"
}
}

View File

@@ -0,0 +1,32 @@
---
name: cancel-scheduled-task
description: PERMANENTLY DELETE scheduled task. When user says 'cancel/delete task' use this. When user says 'turn off notification' use update_scheduled_task with notify=false. When user says 'pause task' use update_scheduled_task with enabled=false.
system: true
handler: scheduled
tool-name: cancel_scheduled_task
category: Scheduled Tasks
---
# Cancel Scheduled Task
【永久删除】定时任务。
## Parameters
| 参数 | 类型 | 必填 | 说明 |
|-----|------|-----|------|
| task_id | string | 是 | 任务 ID |
## Important
**操作区分**
- 用户说"取消/删除任务" → 用此工具
- 用户说"关闭提醒" → 用 `update_scheduled_task` 设 notify=false
- 用户说"暂停任务" → 用 `update_scheduled_task` 设 enabled=false
**注意**:删除后无法恢复!
## Related Skills
- `list-scheduled-tasks`: 获取任务 ID
- `update-scheduled-task`: 修改任务设置

View File

@@ -0,0 +1,6 @@
{
"zh": {
"name": "完成计划",
"description": "标记计划为已完成并生成执行总结报告,在所有步骤完成后调用。"
}
}

View File

@@ -0,0 +1,38 @@
---
name: complete-plan
description: Mark the plan as completed and generate a summary report. Call when ALL steps are done. Returns execution summary with success/failure statistics.
system: true
handler: plan
tool-name: complete_plan
category: Plan
---
# Complete Plan
标记计划完成,生成最终报告。在所有步骤完成后调用。
## Parameters
| 参数 | 类型 | 必填 | 说明 |
|-----|------|-----|------|
| summary | string | 是 | 完成总结 |
## Examples
```json
{
"summary": "已完成百度搜索天气并截图发送给用户"
}
```
## Returns
- 执行摘要
- 成功/失败统计
- 总耗时
## Related Skills
- `create-plan`: 创建计划
- `update-plan-step`: 更新步骤状态
- `get-plan-status`: 查看计划状态

View File

@@ -0,0 +1,6 @@
{
"zh": {
"name": "创建计划",
"description": "为多步骤任务创建执行计划,在需要 2 个以上工具调用时必须首先创建计划。"
}
}

View 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`: 完成计划

View File

@@ -0,0 +1,6 @@
{
"zh": {
"name": "发送文件",
"description": "通过 IM 网关发送文件、图片或语音到当前聊天会话,返回发送回执。"
}
}

View File

@@ -0,0 +1,54 @@
---
name: deliver-artifacts
description: Deliver artifacts (files/images/voice) to current IM chat via gateway, returning a receipt. Use this as the only delivery proof for attachments. Text replies are sent automatically - only use this for file/image/voice attachments.
system: true
handler: im_channel
tool-name: deliver_artifacts
category: IM Channel
---
# Deliver Artifacts
通过网关向当前 IM 聊天交付附件(文件/图片/语音),并返回结构化回执。
## Important
- **文本回复**由网关直接转发,不需要用工具发送
- **附件交付**必须使用本工具,回执是"已交付"的唯一证据
## Parameters
| 参数 | 类型 | 必填 | 说明 |
|-----|------|-----|------|
| artifacts | array | 是 | 要交付的附件清单 |
| mode | string | 否 | send 或 preview默认 send |
### Artifact Item
| 字段 | 类型 | 必填 | 说明 |
|-----|------|-----|------|
| type | string | 是 | file / image / voice |
| path | string | 是 | 本地文件路径 |
| caption | string | 否 | 说明文字 |
## Examples
**发送截图**:
```json
{
"artifacts": [{"type": "image", "path": "data/temp/screenshot.png", "caption": "页面截图"}]
}
```
**发送文件**:
```json
{
"artifacts": [{"type": "file", "path": "data/out/report.md"}]
}
```
## Related Skills
- `browser-screenshot`: 网页截图
- `desktop-screenshot`: 桌面截图
- `get-voice-file`: 获取语音文件

View File

@@ -0,0 +1,6 @@
{
"zh": {
"name": "桌面点击",
"description": "点击桌面元素或坐标,用于点击按钮/图标、选择菜单项或与桌面 UI 交互。"
}
}

View File

@@ -0,0 +1,65 @@
---
name: desktop-click
description: Click desktop elements or coordinates. When you need to click buttons/icons in applications, select menu items, or interact with desktop UI. Supports element description, name prefix, or coordinates. For browser webpage elements, use browser_click instead.
system: true
handler: desktop
tool-name: desktop_click
category: Desktop
---
# Desktop Click
点击桌面上的 UI 元素或指定坐标。
## Parameters
| 参数 | 类型 | 必填 | 说明 |
|-----|------|-----|------|
| target | string | 是 | 元素描述或坐标(如 '确定按钮' 或 '100,200' |
| button | string | 否 | 鼠标按钮left, right, middle默认 left |
| double | boolean | 否 | 是否双击,默认 false |
| method | string | 否 | 查找方法auto, uia, vision默认 auto |
## Target Formats
- 元素描述:`"保存按钮"``"name:确定"`
- 坐标:`"100,200"`
## Find Methods
- `auto`: 自动选择(推荐)
- `uia`: 只用 UIAutomation
- `vision`: 只用视觉识别
## Examples
**点击按钮(元素描述)**:
```json
{"target": "确定按钮"}
```
**点击坐标**:
```json
{"target": "100,200"}
```
**右键点击**:
```json
{"target": "文件图标", "button": "right"}
```
**双击打开**:
```json
{"target": "文档.txt", "double": true}
```
## Notes
- 如果点击的是浏览器内的网页元素,请使用 `browser_click`
- 优先使用 UIAutomation快速准确失败时用视觉识别
## Related Skills
- `browser-click`: 点击浏览器网页元素
- `desktop-type`: 输入文本
- `desktop-find-element`: 先查找元素

View File

@@ -0,0 +1,6 @@
{
"zh": {
"name": "查找桌面元素",
"description": "使用 UI 自动化或视觉识别查找桌面 UI 元素,定位按钮、菜单和图标。"
}
}

View File

@@ -0,0 +1,48 @@
---
name: desktop-find-element
description: Find desktop UI elements using UIAutomation (fast, accurate) or vision recognition (fallback). When you need to locate buttons/menus/icons, get element positions before clicking, or verify UI state. For browser webpage elements, use browser_* tools instead.
system: true
handler: desktop
tool-name: desktop_find_element
category: Desktop
---
# Desktop Find Element
查找桌面 UI 元素。优先使用 UIAutomation快速准确失败时用视觉识别通用
## Parameters
| 参数 | 类型 | 必填 | 说明 |
|------|------|------|------|
| target | string | 是 | 元素描述,如 '保存按钮'、'name:文件'、'id:btn_ok' |
| window_title | string | 否 | 限定在某个窗口内查找 |
| method | string | 否 | 查找方法auto默认、uia、vision |
## Supported Target Formats
- 自然语言:"保存按钮"、"红色图标"
- 按名称:"name:保存"
- 按 ID"id:btn_save"
- 按类型:"type:Button"
## Find Methods
- `auto`: 自动选择(推荐)
- `uia`: 只用 UIAutomation
- `vision`: 只用视觉识别
## Returns
- 元素位置x, y
- 元素大小
- 元素属性
## Warning
如果操作的是浏览器内的网页元素,请使用 `browser_*` 工具。
## Related Skills
- `desktop-click`: 点击找到的元素
- `desktop-inspect`: 查看元素树结构

View File

@@ -0,0 +1,6 @@
{
"zh": {
"name": "键盘快捷键",
"description": "执行键盘快捷键,如复制粘贴、保存文件、关闭窗口、撤销重做等。"
}
}

View File

@@ -0,0 +1,50 @@
---
name: desktop-hotkey
description: Execute keyboard shortcuts. When you need to copy/paste (Ctrl+C/V), save files (Ctrl+S), close windows (Alt+F4), undo/redo (Ctrl+Z/Y), or select all (Ctrl+A).
system: true
handler: desktop
tool-name: desktop_hotkey
category: Desktop
---
# Desktop Hotkey
执行键盘快捷键。
## Parameters
| 参数 | 类型 | 必填 | 说明 |
|------|------|------|------|
| keys | array | 是 | 按键组合数组,如 ['ctrl', 'c'] |
## Common Shortcuts
| 快捷键 | 功能 |
|--------|------|
| ['ctrl', 'c'] | 复制 |
| ['ctrl', 'v'] | 粘贴 |
| ['ctrl', 'x'] | 剪切 |
| ['ctrl', 's'] | 保存 |
| ['ctrl', 'z'] | 撤销 |
| ['ctrl', 'y'] | 重做 |
| ['ctrl', 'a'] | 全选 |
| ['alt', 'f4'] | 关闭窗口 |
| ['alt', 'tab'] | 切换窗口 |
| ['win', 'd'] | 显示桌面 |
## Examples
**复制选中内容**:
```json
{"keys": ["ctrl", "c"]}
```
**保存文件**:
```json
{"keys": ["ctrl", "s"]}
```
## Related Skills
- `desktop-type`: 输入文本
- `desktop-click`: 点击元素

View File

@@ -0,0 +1,6 @@
{
"zh": {
"name": "桌面 UI 检查",
"description": "检查窗口 UI 元素树结构,用于调试 UI 自动化问题和理解界面布局。"
}
}

View File

@@ -0,0 +1,50 @@
---
name: desktop-inspect
description: Inspect window UI element tree structure for debugging and understanding interface layout. When you need to debug UI automation issues, understand application structure, or find correct element identifiers.
system: true
handler: desktop
tool-name: desktop_inspect
category: Desktop
---
# Desktop Inspect
检查窗口的 UI 元素树结构(用于调试和了解界面结构)。
## Parameters
| 参数 | 类型 | 必填 | 说明 |
|------|------|------|------|
| window_title | string | 否 | 窗口标题,不填则检查当前活动窗口 |
| depth | integer | 否 | 元素树遍历深度,默认 2 |
## Use Cases
- 调试 UI 自动化问题
- 了解应用程序界面结构
- 查找正确的元素标识符用于点击/输入
## Examples
**检查当前窗口**:
```json
{}
```
**检查记事本,深度 3**:
```json
{"window_title": "记事本", "depth": 3}
```
## Returns
- 元素名称
- 元素类型
- 元素 ID
- 元素位置
- 子元素列表
## Related Skills
- `desktop-find-element`: 查找特定元素
- `desktop-window`: 窗口管理

View File

@@ -0,0 +1,6 @@
{
"zh": {
"name": "桌面截图",
"description": "捕获 Windows 桌面截图并自动保存文件,用于记录桌面状态和操作结果。"
}
}

View File

@@ -0,0 +1,62 @@
---
name: desktop-screenshot
description: Capture Windows desktop screenshot with automatic file saving. When you need to show desktop state, capture application windows, or record operation results. IMPORTANT - must actually call this tool, never say 'screenshot done' without calling. Returns file_path for deliver_artifacts.
system: true
handler: desktop
tool-name: desktop_screenshot
category: Desktop
---
# Desktop Screenshot
截取 Windows 桌面屏幕截图。
## Important
**用户要求截图时,必须实际调用此工具。禁止不调用就说"截图完成"**
## Parameters
| 参数 | 类型 | 必填 | 说明 |
|-----|------|-----|------|
| path | string | 否 | 保存路径(可选,自动生成) |
| window_title | string | 否 | 只截取指定窗口(模糊匹配) |
| analyze | boolean | 否 | 是否用视觉模型分析,默认 false |
| analyze_query | string | 否 | 分析查询(需要 analyze=true |
## Examples
**截取整个桌面**:
```json
{}
```
**截取指定窗口**:
```json
{"window_title": "记事本"}
```
**截取并分析**:
```json
{
"analyze": true,
"analyze_query": "找到所有按钮"
}
```
## Workflow
1. 调用此工具截图
2. 获取返回的 `file_path`
3.`deliver_artifacts` 发送给用户
## Notes
- 如果只涉及浏览器内的网页操作,请使用 `browser_screenshot`
- 截图默认保存到用户桌面
## Related Skills
- `browser-screenshot`: 截取浏览器页面
- `deliver-artifacts`: 发送截图给用户
- `desktop-click`: 点击桌面元素

View File

@@ -0,0 +1,6 @@
{
"zh": {
"name": "桌面滚动",
"description": "滚动鼠标滚轮,用于翻页、浏览长列表或配合 Ctrl 键缩放。"
}
}

View File

@@ -0,0 +1,49 @@
---
name: desktop-scroll
description: Scroll mouse wheel in specified direction. When you need to scroll page/document content, navigate long lists, or zoom in/out with Ctrl. Directions - up/down/left/right.
system: true
handler: desktop
tool-name: desktop_scroll
category: Desktop
---
# Desktop Scroll
滚动鼠标滚轮。
## Parameters
| 参数 | 类型 | 必填 | 说明 |
|------|------|------|------|
| direction | string | 是 | 滚动方向up/down/left/right |
| amount | integer | 否 | 滚动格数,默认 3 |
## Directions
- `up`: 向上滚动
- `down`: 向下滚动
- `left`: 向左滚动
- `right`: 向右滚动
## Examples
**向下滚动**:
```json
{"direction": "down"}
```
**向上滚动 5 格**:
```json
{"direction": "up", "amount": 5}
```
## Use Cases
- 滚动页面/文档内容
- 浏览长列表
- 配合 Ctrl 键缩放
## Related Skills
- `desktop-click`: 点击滚动区域
- `desktop-hotkey`: 快捷键操作

View File

@@ -0,0 +1,6 @@
{
"zh": {
"name": "桌面输入",
"description": "在桌面应用当前光标位置输入文本,用于填写对话框、输入框或文本编辑器。"
}
}

View File

@@ -0,0 +1,50 @@
---
name: desktop-type
description: Type text at current cursor position in desktop applications. When you need to enter text in dialogs, fill input fields, or type in text editors. Supports Chinese input. For browser webpage forms, use browser_type instead.
system: true
handler: desktop
tool-name: desktop_type
category: Desktop
---
# Desktop Type
在当前焦点位置输入文本。
## Parameters
| 参数 | 类型 | 必填 | 说明 |
|------|------|------|------|
| text | string | 是 | 要输入的文本 |
| clear_first | boolean | 否 | 是否先清空现有内容Ctrl+A 后输入),默认 false |
## Features
- 支持中文输入
- 支持先清空再输入
## Workflow
1. 先用 `desktop-click` 点击目标输入框获得焦点
2. 调用此工具输入文本
## Examples
**直接输入**:
```json
{"text": "Hello World"}
```
**清空后输入**:
```json
{"text": "New content", "clear_first": true}
```
## Warning
如果输入的是浏览器内的网页表单,请使用 `browser_type` 工具。
## Related Skills
- `desktop-click`: 先点击获取焦点
- `desktop-hotkey`: 快捷键操作

View File

@@ -0,0 +1,6 @@
{
"zh": {
"name": "等待元素",
"description": "等待 UI 元素或窗口出现,用于等待对话框打开、加载完成或同步应用状态。"
}
}

View File

@@ -0,0 +1,53 @@
---
name: desktop-wait
description: Wait for UI element or window to appear. When you need to wait for dialog to open, loading to complete, or synchronize with application state before next action. Default timeout is 10 seconds.
system: true
handler: desktop
tool-name: desktop_wait
category: Desktop
---
# Desktop Wait
等待某个 UI 元素或窗口出现。
## Parameters
| 参数 | 类型 | 必填 | 说明 |
|------|------|------|------|
| target | string | 是 | 元素描述或窗口标题 |
| target_type | string | 否 | 目标类型element默认/ window |
| timeout | integer | 否 | 超时时间(秒),默认 10 |
## Target Types
- `element`: 等待 UI 元素出现
- `window`: 等待窗口出现
## Use Cases
- 等待对话框打开
- 等待加载完成
- 在下一步操作前同步应用状态
## Examples
**等待保存对话框**:
```json
{"target": "另存为", "target_type": "window"}
```
**等待确定按钮**:
```json
{"target": "确定按钮", "timeout": 5}
```
## Returns
- 成功:元素/窗口信息
- 超时:错误信息
## Related Skills
- `desktop-click`: 等待后点击
- `desktop-find-element`: 查找元素

View File

@@ -0,0 +1,6 @@
{
"zh": {
"name": "窗口管理",
"description": "管理桌面窗口操作:列出窗口、切换窗口、最小化/最大化/还原和关闭窗口。"
}
}

View File

@@ -0,0 +1,58 @@
---
name: desktop-window
description: Window management operations. When you need to list all open windows, switch to a specific window, minimize/maximize/restore windows, or close windows. Use title parameter for targeting specific window (fuzzy match).
system: true
handler: desktop
tool-name: desktop_window
category: Desktop
---
# Desktop Window
窗口管理操作。
## Parameters
| 参数 | 类型 | 必填 | 说明 |
|------|------|------|------|
| action | string | 是 | 操作类型list/switch/minimize/maximize/restore/close |
| title | string | 否 | 窗口标题模糊匹配list 操作不需要 |
## Actions
| 操作 | 说明 | 需要 title |
|------|------|-----------|
| list | 列出所有窗口 | 否 |
| switch | 切换到指定窗口(激活并置顶) | 是 |
| minimize | 最小化窗口 | 是 |
| maximize | 最大化窗口 | 是 |
| restore | 恢复窗口 | 是 |
| close | 关闭窗口 | 是 |
## Examples
**列出所有窗口**:
```json
{"action": "list"}
```
**切换到记事本**:
```json
{"action": "switch", "title": "记事本"}
```
**最大化 Chrome**:
```json
{"action": "maximize", "title": "Chrome"}
```
## Returns (list action)
- 窗口标题
- 窗口句柄
- 窗口位置和大小
## Related Skills
- `desktop-screenshot`: 截取窗口
- `desktop-inspect`: 检查窗口结构

View File

@@ -0,0 +1,6 @@
{
"zh": {
"name": "深度思考开关",
"description": "控制深度思考模式的开启和关闭,对简单任务可临时关闭以加速响应。"
}
}

View File

@@ -0,0 +1,26 @@
---
name: enable-thinking
description: Control deep thinking mode. Default enabled. For very simple tasks (simple reminders, greetings, quick queries), can temporarily disable to speed up response. Auto-restores to enabled after completion.
system: true
handler: system
tool-name: enable_thinking
category: System
---
# Enable Thinking
控制深度思考模式。
## Parameters
| 参数 | 类型 | 必填 | 说明 |
|-----|------|-----|------|
| enabled | boolean | 是 | 是否启用 thinking 模式 |
| reason | string | 是 | 简要说明原因 |
## Notes
- 默认状态:启用
- 可临时关闭的场景:简单提醒、简单问候、快速查询
- 完成后会自动恢复默认启用状态
- 复杂任务建议保持启用

View File

@@ -0,0 +1,34 @@
---
name: export-agent
description: Export a local Agent profile as a portable .akita-agent package file. Use when user wants to share, backup, or distribute an Agent with its skills and configuration.
system: true
handler: agent_package
tool-name: export_agent
category: Agent Package
---
# Export Agent
将本地 Agent 导出为 `.akita-agent` 包文件,包含 Agent 配置、提示词和捆绑技能。
## Parameters
| 参数 | 类型 | 必填 | 说明 |
|-----|------|-----|------|
| profile_id | string | 是 | 要导出的 Agent Profile ID |
| author_name | string | 否 | 作者名称 |
| version | string | 否 | 版本号(默认 1.0.0 |
| include_skills | array | 否 | 要打包的技能列表(默认为 Agent 配置中的本地技能) |
## Usage
导出后的 `.akita-agent` 文件可以:
- 发送给其他用户导入使用
- 上传到 Agent Store 分享
- 作为 Agent 备份
## Related Skills
- `import-agent`: 导入 Agent 包
- `list-exportable-agents`: 列出可导出的 Agent
- `inspect-agent-package`: 预览包内容

View File

@@ -0,0 +1,6 @@
{
"zh": {
"name": "发现技能",
"description": "帮助用户发现和安装适合的技能,当用户问「怎么做某事」或「有没有某个功能」时使用。"
}
}

View File

@@ -0,0 +1,133 @@
---
name: find-skills
description: Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill.
system: true
handler: skills
tool-name: find_skills
category: Skills Management
---
# Find Skills
This skill helps you discover and install skills from the open agent skills ecosystem.
## When to Use This Skill
Use this skill when the user:
- Asks "how do I do X" where X might be a common task with an existing skill
- Says "find a skill for X" or "is there a skill for X"
- Asks "can you do X" where X is a specialized capability
- Expresses interest in extending agent capabilities
- Wants to search for tools, templates, or workflows
- Mentions they wish they had help with a specific domain (design, testing, deployment, etc.)
## What is the Skills CLI?
The Skills CLI (`npx skills`) is the package manager for the open agent skills ecosystem. Skills are modular packages that extend agent capabilities with specialized knowledge, workflows, and tools.
**Key commands:**
- `npx skills find [query]` - Search for skills interactively or by keyword
- `npx skills add <source>` - Install a skill from GitHub or other sources
- `npx skills check` - Check for skill updates
- `npx skills update` - Update all installed skills
**Browse skills at:** https://skills.sh/
## How to Help Users Find Skills
### Step 1: Understand What They Need
When a user asks for help with something, identify:
1. The domain (e.g., React, testing, design, deployment)
2. The specific task (e.g., writing tests, creating animations, reviewing PRs)
3. Whether this is a common enough task that a skill likely exists
### Step 2: Search for Skills
Run the find command with a relevant query:
```bash
npx skills find [query]
```
For example:
- User asks "how do I make my React app faster?" → `npx skills find react performance`
- User asks "can you help me with PR reviews?" → `npx skills find pr review`
- User asks "I need to create a changelog" → `npx skills find changelog`
The command will return results like:
```
Install with npx skills add <source>
vercel-labs/agent-skills@vercel-react-best-practices
└ https://skills.sh/vercel-labs/agent-skills/vercel-react-best-practices
```
### Step 3: Present Options to the User
When you find relevant skills, present them to the user with:
1. The skill name and what it does
2. The install command they can run
3. A link to learn more at skills.sh
Example response:
```
I found a skill that might help! The "vercel-react-best-practices" skill provides
React and Next.js performance optimization guidelines from Vercel Engineering.
To install it:
npx skills add vercel-labs/agent-skills@vercel-react-best-practices
Learn more: https://skills.sh/vercel-labs/agent-skills/vercel-react-best-practices
```
### Step 4: Offer to Install
If the user wants to proceed, you can install the skill for them:
```bash
npx skills add -g -y <source>
```
The `-g` flag installs globally (user-level) and `-y` skips confirmation prompts.
## Common Skill Categories
When searching, consider these common categories:
| Category | Example Queries |
| --------------- | ---------------------------------------- |
| Web Development | react, nextjs, typescript, css, tailwind |
| Testing | testing, jest, playwright, e2e |
| DevOps | deploy, docker, kubernetes, ci-cd |
| Documentation | docs, readme, changelog, api-docs |
| Code Quality | review, lint, refactor, best-practices |
| Design | ui, ux, design-system, accessibility |
| Productivity | workflow, automation, git |
## Tips for Effective Searches
1. **Use specific keywords**: "react testing" is better than just "testing"
2. **Try alternative terms**: If "deploy" doesn't work, try "deployment" or "ci-cd"
3. **Check popular sources**: Many skills come from `vercel-labs/agent-skills` or `ComposioHQ/awesome-claude-skills`
## When No Skills Are Found
If no relevant skills exist:
1. Acknowledge that no existing skill was found
2. Offer to help with the task directly using your general capabilities
3. Suggest the user could create their own skill with `npx skills init`
## Related Skills
- `list-skills`: 查看已安装技能
- `install-skill`: 安装新技能
- `get-skill-info`: 获取技能详情

View File

@@ -0,0 +1,108 @@
---
name: generate-agents-md
description: "Generate or update AGENTS.md for the current project. Use when user asks to create project guidelines, initialize AGENTS.md, standardize project conventions, or says '生成 AGENTS.md', '初始化项目规范'."
system: true
category: Development
allowed-tools: ["read_file", "write_file", "run_shell", "list_directory"]
---
# Generate AGENTS.md — 项目开发规范生成器
> **AGENTS.md** 是 AI 编码 Agent 的行业标准项目指引文件([agents.md](https://agents.md/)
> 被 Cursor、Codex、Copilot、Jules、Windsurf、Aider、opencode 等 20+ 工具支持。
> 一份文件,所有 AI 工具通用。
## When to Use
- 用户说"生成 AGENTS.md"、"初始化项目规范"、"创建项目指引"
- 用户开始用 OpenAkita 开发一个新项目,还没有 AGENTS.md
- 用户说"帮我规范这个项目"、"让 AI 更好地理解这个项目"
## Workflow
### Step 1: 扫描项目结构
使用 `list_directory``read_file` 收集以下信息:
1. **项目根文件**:检查 `package.json``pyproject.toml``Cargo.toml``go.mod``pom.xml``Gemfile``composer.json` 等,识别语言和框架
2. **README.md**:读取项目描述和现有文档
3. **配置文件**`.eslintrc*``ruff.toml``pyproject.toml [tool.ruff]``.prettierrc``tsconfig.json` 等代码风格配置
4. **CI/CD**`.github/workflows/``.gitlab-ci.yml``Jenkinsfile`
5. **测试**`tests/``__tests__/``spec/``test/` 目录;`jest.config.*``vitest.config.*``pytest.ini``conftest.py`
6. **目录结构**:顶层目录布局,识别 monorepo`apps/``packages/``workspaces`
7. **现有 AGENTS.md**:如果已存在,读取后在其基础上更新
### Step 2: 生成 AGENTS.md
按以下模板结构生成,**只写与项目相关的段落**,省略不适用的部分:
```markdown
# [Project Name]
[一句话描述项目做什么]
## Tech Stack
- Language: [语言及版本]
- Framework: [框架]
- Package Manager: [包管理器]
## Dev Environment Setup
[环境准备步骤,如 Python 版本、Node 版本、依赖安装命令]
## Build & Run
[构建、启动、热重载等命令]
## Testing
[测试框架、运行命令、覆盖率要求]
## Code Style
[lint 工具、格式化工具、关键规则]
## Project Structure
[关键目录说明,不要列出每个文件]
## Architecture Notes
[核心架构设计、数据流、重要模块关系]
## PR & Commit Conventions
[提交信息格式、分支策略]
## Known Gotchas
[新手容易踩的坑、特殊约定]
```
### Step 3: 写入文件
使用 `write_file` 写入到项目根目录的 `AGENTS.md`
### Step 4: Monorepo 检查
如果检测到 monorepo 结构(`apps/``packages/``services/` 等子项目),**询问用户**是否需要为子项目也生成嵌套的 AGENTS.md。子项目的 AGENTS.md 只写该子项目特有的内容,不重复根级内容。
## Important Rules
- **控制长度**AGENTS.md 建议 150 行以内,不要写成完整文档
- **只写有用的**:不要填充模板中每个段落,省略不适用的
- **面向 AI Agent**:内容是给 AI 看的,不需要"入门教程"级别的解释
- **可执行的命令**构建、测试、lint 等必须是可以直接复制执行的命令
- **不要暴露敏感信息**:不要写 API key、密码、内部 URL 等
- **中英文皆可**跟随项目的主要语言README 是中文就用中文)
## Examples
用户说:"帮我生成 AGENTS.md"
→ 执行 Step 1-4扫描项目后生成文件。
用户说:"更新一下 AGENTS.md"
→ 先读取现有 AGENTS.md结合项目当前状态更新过时的内容。

View File

@@ -0,0 +1,6 @@
{
"zh": {
"name": "文生图",
"description": "根据提示词生成图片并保存为本地 PNG 文件,需要配置 DASHSCOPE_API_KEY。"
}
}

View File

@@ -0,0 +1,66 @@
---
name: generate-image
description: 文生图Qwen-Image。根据提示词生成图片并保存为本地 PNG 文件;需要配置 DASHSCOPE_API_KEY可选配置 DASHSCOPE_IMAGE_API_URL。生成后可用 deliver_artifacts 发送到 IM。
system: true
handler: system
tool-name: generate_image
category: System
priority: high
---
# generate_image - 文生图Qwen-Image
使用通义百炼 Qwen-Image 系列模型(如 `qwen-image-max`)根据提示词生成图片,并自动下载保存为本地 PNG 文件。
## 前置条件
- 环境变量:`DASHSCOPE_API_KEY`(与通义其它模型共用)
- 可选:`DASHSCOPE_IMAGE_API_URL`
- 北京地域(默认):`https://dashscope.aliyuncs.com/api/v1/services/aigc/multimodal-generation/generation`
- 新加坡地域:`https://dashscope-intl.aliyuncs.com/api/v1/services/aigc/multimodal-generation/generation`
API 参考:`https://help.aliyun.com/zh/model-studio/qwen-image-api`
## 用法
```json
{
"prompt": "一张极简风格的产品海报白色背景中心是一只橘猫的线稿标题“OPENAKITA”",
"model": "qwen-image-max",
"size": "1328*1328",
"prompt_extend": true,
"watermark": false
}
```
## 参数
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
| prompt | string | 是 | 正向提示词 |
| model | string | 否 | 模型名,默认 `qwen-image-max` |
| negative_prompt | string | 否 | 反向提示词 |
| size | string | 否 | 分辨率,格式 `宽*高`,默认 `1664*928` |
| prompt_extend | boolean | 否 | 是否开启提示词智能改写,默认 true |
| watermark | boolean | 否 | 是否加水印,默认 false |
| seed | integer | 否 | 随机种子 |
| output_path | string | 否 | 输出路径;不填会落到 `data/generated_images/` |
## 返回值
返回 JSON 字符串,包含:
- `saved_to`: 本地 PNG 路径
- `image_url`: 临时图片 URL通常 24 小时有效)
## 发送到 IM可选
生成后如需发送图片到聊天,请调用 `deliver_artifacts`
```json
{
"artifacts": [
{"type": "image", "path": "data/generated_images/xxx.png", "caption": "生成的图片"}
]
}
```

View File

@@ -0,0 +1,6 @@
{
"zh": {
"name": "获取聊天记录",
"description": "获取当前聊天历史,包括用户消息、回复和系统通知。"
}
}

View File

@@ -0,0 +1,35 @@
---
name: get-chat-history
description: Get current chat history including user messages, your replies, and system task notifications. When user says 'check previous messages' or 'what did I just send', use this tool.
system: true
handler: im_channel
tool-name: get_chat_history
category: IM Channel
---
# Get Chat History
获取当前聊天的历史消息记录。
## Parameters
| 参数 | 类型 | 必填 | 说明 |
|-----|------|-----|------|
| limit | integer | 否 | 获取最近多少条消息,默认 20 |
| include_system | boolean | 否 | 是否包含系统消息(如任务通知),默认 True |
## Returns
- 用户发送的消息
- 你之前的回复
- 系统任务发送的通知
## When to Use
- 用户说"看看之前的消息"
- 用户说"刚才发的什么"
- 需要回顾对话上下文
## Related Skills
- `deliver-artifacts`: 发送附件给用户

View File

@@ -0,0 +1,6 @@
{
"zh": {
"name": "获取图片文件",
"description": "获取用户发送的图片的本地文件路径,用于处理或分析图片内容。"
}
}

View File

@@ -0,0 +1,27 @@
---
name: get-image-file
description: Get local file path of image sent by user. When user sends image, system auto-downloads it. When you need to process user's image or analyze image content.
system: true
handler: im_channel
tool-name: get_image_file
category: IM Channel
---
# Get Image File
获取用户发送的图片的本地文件路径。
## Parameters
无参数。
## Workflow
1. 用户发送图片
2. 系统自动下载到本地
3. 使用此工具获取文件路径
## Related Skills
- `get-voice-file`: 获取语音文件
- `deliver-artifacts`: 发送文件给用户

View File

@@ -0,0 +1,6 @@
{
"zh": {
"name": "MCP 使用说明",
"description": "获取 MCP 服务器的详细使用说明INSTRUCTIONS.md了解服务器完整功能。"
}
}

View File

@@ -0,0 +1,29 @@
---
name: get-mcp-instructions
description: Get MCP server detailed usage instructions (INSTRUCTIONS.md). When you need to understand server full capabilities or learn server-specific usage patterns.
system: true
handler: mcp
tool-name: get_mcp_instructions
category: MCP
---
# Get MCP Instructions
获取 MCP 服务器的详细使用说明。
## Parameters
| 参数 | 类型 | 必填 | 说明 |
|-----|------|-----|------|
| server | string | 是 | 服务器标识符 |
## Returns
- 服务器功能说明
- 工具使用指南
- 示例和最佳实践
## Related Skills
- `list-mcp-servers`: 列出服务器
- `call-mcp-tool`: 调用工具

View File

@@ -0,0 +1,6 @@
{
"zh": {
"name": "记忆统计",
"description": "获取记忆系统统计信息,包括记忆总数和按类型的分布。"
}
}

View File

@@ -0,0 +1,29 @@
---
name: get-memory-stats
description: Get memory system statistics including total count and breakdown by type. When you need to check memory usage or understand memory distribution.
system: true
handler: memory
tool-name: get_memory_stats
category: Memory
---
# Get Memory Stats
获取记忆系统统计信息。
## Parameters
无参数。
## Returns
- 总记忆数量
- 今日会话数
- 待处理会话数
- 按类型分布
- 按优先级分布
## Related Skills
- `add-memory`: 添加记忆
- `search-memory`: 搜索记忆

View File

@@ -0,0 +1,6 @@
{
"zh": {
"name": "查看计划进度",
"description": "获取当前计划的执行状态,显示所有步骤及其完成情况。"
}
}

View File

@@ -0,0 +1,29 @@
---
name: get-plan-status
description: Get the current plan execution status. Shows all steps and their completion status. Use to check progress during multi-step task execution.
system: true
handler: plan
tool-name: get_plan_status
category: Plan
---
# Get Plan Status
获取当前计划的执行状态。
## Parameters
无需参数。
## Returns
- 计划总览task_summary
- 各步骤状态
- 已完成/待执行数量
- 执行日志
## Related Skills
- `create-plan`: 创建计划
- `update-plan-step`: 更新步骤状态
- `complete-plan`: 完成计划

View File

@@ -0,0 +1,6 @@
{
"zh": {
"name": "会话日志",
"description": "获取当前会话的系统日志,用于排查命令执行失败、错误或理解操作结果。"
}
}

View File

@@ -0,0 +1,31 @@
---
name: get-session-logs
description: Get current session system logs. IMPORTANT - when commands fail, encounter errors, or need to understand previous operation results, call this tool. Logs contain command details, error info, system status.
system: true
handler: system
tool-name: get_session_logs
category: System
---
# Get Session Logs
获取当前会话的系统日志。
## Parameters
| 参数 | 类型 | 必填 | 说明 |
|-----|------|-----|------|
| count | integer | 否 | 返回的日志条数,默认 20最大 200 |
| level | string | 否 | 过滤日志级别DEBUG, INFO, WARNING, ERROR |
## When to Use
1. 命令返回错误码
2. 操作没有预期效果
3. 需要了解之前发生了什么
## Returns
- 命令执行详情
- 错误信息
- 系统状态

View File

@@ -0,0 +1,6 @@
{
"zh": {
"name": "技能详情",
"description": "获取技能的详细使用说明和指南,了解技能的功能和使用方法。"
}
}

View File

@@ -0,0 +1,33 @@
---
name: get-skill-info
description: Get skill detailed instructions and usage guide (Level 2 disclosure). When you need to understand how to use a skill, check skill capabilities, or learn skill parameters.
system: true
handler: skills
tool-name: get_skill_info
category: Skills Management
---
# Get Skill Info
获取技能的详细信息和指令Level 2 披露)。
## Parameters
| 参数 | 类型 | 必填 | 说明 |
|-----|------|-----|------|
| skill_name | string | 是 | 技能名称 |
## Returns
- 完整的 SKILL.md 内容(使用说明和指令)
- 参考文档列表(如有)
## Important
大多数外部技能xlsx, docx, pptx, pdf 等)是**指令型技能**,没有预置脚本。
读取指令后应按照指令编写代码,通过 `run_shell` 执行,而非调用 `run_skill_script`
## Related Skills
- `list-skills`: 列出所有技能
- `run-shell`: 执行按技能指令编写的代码

View File

@@ -0,0 +1,6 @@
{
"zh": {
"name": "技能参考文档",
"description": "获取技能的参考文档,提供详细技术文档、示例和高级用法说明。"
}
}

View File

@@ -0,0 +1,24 @@
---
name: get-skill-reference
description: Get skill reference documentation for additional guidance. When you need to get detailed technical docs, find examples, or understand advanced usage.
system: true
handler: skills
tool-name: get_skill_reference
category: Skills Management
---
# Get Skill Reference
获取技能的参考文档。
## Parameters
| 参数 | 类型 | 必填 | 说明 |
|-----|------|-----|------|
| skill_name | string | 是 | 技能名称 |
| ref_name | string | 否 | 参考文档名称,默认 REFERENCE.md |
## Related Skills
- `get-skill-info`: 获取主要说明
- `run-shell`: 执行按技能指令编写的代码

View File

@@ -0,0 +1,6 @@
{
"zh": {
"name": "工具详情",
"description": "获取系统工具的详细参数定义,了解工具的使用方法和参数说明。"
}
}

View File

@@ -0,0 +1,28 @@
---
name: get-tool-info
description: Get system tool detailed parameter definition (Level 2 disclosure). When you need to understand unfamiliar tool usage, check tool parameters, or learn tool examples. Call before using unfamiliar tools.
system: true
handler: system
tool-name: get_tool_info
category: System
---
# Get Tool Info
获取系统工具的详细参数定义Level 2 披露)。
## Parameters
| 参数 | 类型 | 必填 | 说明 |
|-----|------|-----|------|
| tool_name | string | 是 | 工具名称 |
## When to Use
- 了解不熟悉的工具用法
- 查看工具参数
- 学习工具示例
## Tip
在调用不熟悉的工具前,先用此工具了解其完整用法、参数说明和示例。

View File

@@ -0,0 +1,6 @@
{
"zh": {
"name": "获取用户画像",
"description": "获取当前用户的画像摘要,了解用户偏好和上下文信息。"
}
}

View File

@@ -0,0 +1,27 @@
---
name: get-user-profile
description: Get current user profile summary to understand user's preferences and context. When you need to check known user info or personalize responses.
system: true
handler: profile
tool-name: get_user_profile
category: User Profile
---
# Get User Profile
获取当前用户档案信息摘要。
## Parameters
无参数。
## Returns
- 已填写的档案项
- 用户偏好设置
- 工作相关信息
## Related Skills
- `update-user-profile`: 更新档案
- `skip-profile-question`: 跳过问题

View File

@@ -0,0 +1,6 @@
{
"zh": {
"name": "获取语音文件",
"description": "获取用户发送的语音消息的本地文件路径,用于处理语音内容。"
}
}

View File

@@ -0,0 +1,28 @@
---
name: get-voice-file
description: Get local file path of voice message sent by user. When user sends voice message, system auto-downloads it. When you need to process user's voice message or transcribe voice to text.
system: true
handler: im_channel
tool-name: get_voice_file
category: IM Channel
---
# Get Voice File
获取用户发送的语音消息的本地文件路径。
## Parameters
无参数。
## Workflow
1. 用户发送语音消息
2. 系统自动下载到本地
3. 使用此工具获取文件路径
4. 用语音识别脚本处理
## Related Skills
- `get-image-file`: 获取图片文件
- `deliver-artifacts`: 发送文件给用户

View File

@@ -0,0 +1,29 @@
# DingTalk 健康检查记录
## 背景
- 报错:`openakita.channels.adapters.dingtalk` 发送图片失败服务端返回“robot 不存在”。
- 常见原因:`robotCode` 配置错误/为空、机器人未创建或未启用、应用与群绑定不匹配。
## 当前本地配置发现(基于 `.env`
- DINGTALK_ENABLED = true
- DINGTALK_CLIENT_ID = dingo7jnkd1c3hquoacu
- DINGTALK_CLIENT_SECRET = (已配置)
⚠️ 说明OpenAkita 当前钉钉适配器将 `robotCode` 直接使用 `app_key`(即 DINGTALK_CLIENT_ID。若你的机器人 `robotCode` 并非该值,则会导致 “robot 不存在”。
## 健康检查
由于缺少可用的 webhook / openConversationId / userId 等目标参数(本仓库配置中未发现),无法对“发送消息/图片”接口做真实探测。
建议人工补充以下至少一项后重试:
1. 任一会话的 `sessionWebhook`(从钉钉机器人回调消息中可获取),或
2. 群聊的 `openConversationId`,或
3. 单聊目标 `userId`
可用于探测的接口:
- OAuth2 token: `POST https://api.dingtalk.com/v1.0/oauth2/accessToken`(仅验证 appKey/appSecret 是否有效)
- 单聊发送:`POST https://api.dingtalk.com/v1.0/robot/oToMessages/batchSend`
- 群聊发送:`POST https://api.dingtalk.com/v1.0/robot/groupMessages/send`
## 处理结论
- 本次未对核心代码做修改(遵循限制)。
- 需要人工确认并提供正确的 `robotCode`(通常为机器人编码,不一定等于 appKey以及可投递目标userId/openConversationId 或 sessionWebhook

View File

@@ -0,0 +1,31 @@
---
name: import-agent
description: Import an Agent from a .akita-agent package file. Installs the Agent profile and any bundled skills to the local system.
system: true
handler: agent_package
tool-name: import_agent
category: Agent Package
---
# Import Agent
`.akita-agent` 包文件导入 Agent安装 Agent 配置和捆绑技能到本地。
## Parameters
| 参数 | 类型 | 必填 | 说明 |
|-----|------|-----|------|
| package_path | string | 是 | .akita-agent 包文件路径 |
| force | boolean | 否 | 如果 ID 冲突是否强制覆盖(默认 false |
## Import Behavior
1. 校验包格式和安全性
2. 安装捆绑技能到 `skills/custom/` 目录
3. 创建 Agent Profiletype 强制为 custom
4. 如果 ID 冲突且未 force自动追加后缀
## Related Skills
- `export-agent`: 导出 Agent 包
- `inspect-agent-package`: 导入前预览包内容

View File

@@ -0,0 +1,32 @@
---
name: inspect-agent-package
description: Preview the contents of a .akita-agent package file without installing it. Shows manifest, profile, bundled skills, and validation status.
system: true
handler: agent_package
tool-name: inspect_agent_package
category: Agent Package
---
# Inspect Agent Package
预览 `.akita-agent` 包文件内容,不执行安装。
## Parameters
| 参数 | 类型 | 必填 | 说明 |
|-----|------|-----|------|
| package_path | string | 是 | .akita-agent 包文件路径 |
## Returns
返回包详情:
- `manifest`: 包元数据
- `profile`: Agent 配置
- `bundled_skills`: 捆绑技能列表
- `validation_errors`: 校验错误(如有)
- `id_conflict`: 是否与本地已有 Agent 冲突
- `package_size`: 包文件大小
## Related Skills
- `import-agent`: 确认后导入

View File

@@ -0,0 +1,57 @@
---
name: install-hub-agent
description: Download and install an Agent from the OpenAkita Platform Agent Store
system: true
handler: agent_hub
tool-name: install_hub_agent
category: Platform
---
# install-hub-agent
Download and install an Agent from the OpenAkita Platform Agent Store to the local system.
## When to Use
- User wants to install a specific Agent from the hub
- User says "安装这个 Agent" after browsing search results
- User provides an Agent ID to install
## Workflow
1. (Optional) Call `search_hub_agents` first to find the Agent
2. (Optional) Call `get_hub_agent_detail` to preview Agent details
3. Call `install_hub_agent` with the `agent_id`
4. The system will:
- Download the `.akita-agent` package from the platform
- Extract and install bundled skills (version-aware, skips if same/newer exists locally)
- Fetch required external skills from their original GitHub repos
- Register the Agent profile locally
- Auto-reload skills so the Agent is immediately usable
## Tools
### install_hub_agent
| Parameter | Required | Description |
|-----------|----------|-------------|
| `agent_id` | Yes | The platform Agent ID (from search results) |
| `force` | No | Force overwrite if local ID conflict (default: false) |
### get_hub_agent_detail
| Parameter | Required | Description |
|-----------|----------|-------------|
| `agent_id` | Yes | The platform Agent ID to inspect |
## Important Notes
- Installed Agents appear in the local Agent list immediately
- Bundled skills go to `skills/custom/`, external skills go to `skills/community/`
- Skills are version-deduplicated: if a newer version already exists locally, it is kept
- Each installed skill gets a `.openakita-origin.json` tracking its source and version
- The Agent's `hub_source` field records where it came from
## Fallback
If the platform is unavailable, the user can still:
- Import Agents from `.akita-agent` files using `import_agent`
- Export local Agents using `export_agent`

View File

@@ -0,0 +1,6 @@
{
"zh": {
"name": "安装技能",
"description": "从 URL 或 Git 仓库安装技能到本地 skills/ 目录,支持 GitHub 简写格式。"
}
}

View File

@@ -0,0 +1,35 @@
---
name: install-skill
description: Install skill from URL or Git repository to local skills/ directory. When you need to add new skill from GitHub or install SKILL.md from URL. Supports Git repos and single SKILL.md files.
system: true
handler: skills
tool-name: install_skill
category: Skills Management
---
# Install Skill
从 URL 或 Git 仓库安装技能到本地 skills/ 目录。
## Parameters
| 参数 | 类型 | 必填 | 说明 |
|-----|------|-----|------|
| source | string | 是 | Git 仓库 URL 或 SKILL.md 文件 URL |
| name | string | 否 | 技能名称(可选,自动从 SKILL.md 提取) |
| subdir | string | 否 | Git 仓库中技能所在的子目录路径 |
| extra_files | array | 否 | 额外需要下载的文件 URL 列表 |
## Supported Sources
1. **Git 仓库** (如 https://github.com/user/repo)
- 自动克隆仓库并查找 SKILL.md
- 支持指定子目录路径
2. **单个 SKILL.md 文件 URL**
- 创建规范目录结构scripts/, references/, assets/
## Related Skills
- `list-skills`: 查看已安装技能
- `find-skills`: 搜索可用技能

View File

@@ -0,0 +1,59 @@
---
name: install-store-skill
description: Install a Skill from the OpenAkita Platform Skill Store
system: true
handler: skill_store
tool-name: install_store_skill
category: Platform
---
# install-store-skill
Install a Skill from the OpenAkita Platform Skill Store to the local system.
## When to Use
- User wants to install a specific Skill from the store
- User says "安装这个技能" after browsing search results
- User provides a Skill ID to install
## Workflow
1. (Optional) Call `search_store_skills` first to find the Skill
2. (Optional) Call `get_store_skill_detail` to preview details, license, ratings
3. Call `install_store_skill` with the `skill_id`
4. The system will:
- Fetch the Skill's install URL from the platform
- Clone the Skill from its original GitHub repository
- Auto-reload skills so the Skill is immediately available
## Tools
### install_store_skill
| Parameter | Required | Description |
|-----------|----------|-------------|
| `skill_id` | Yes | The platform Skill ID (from search results) |
### get_store_skill_detail
| Parameter | Required | Description |
|-----------|----------|-------------|
| `skill_id` | Yes | The platform Skill ID to inspect |
### submit_skill_repo
| Parameter | Required | Description |
|-----------|----------|-------------|
| `repo_url` | Yes | GitHub repository URL to submit as a new Skill |
## Important Notes
- Skills are installed from their **original GitHub repository**, not redistributed by the platform
- Each skill's open-source license applies — check the license before using in production
- After installation, the Skill is auto-loaded and immediately usable
- If a skill with the same name already exists locally, it will be updated
## Fallback
If the platform is unavailable, the user can still:
- Install skills directly from GitHub using `install_skill`
- Browse and install from skills.sh marketplace via Setup Center
- Manage local skills using `list_skills`, `enable_skill`, `disable_skill`

View File

@@ -0,0 +1,6 @@
{
"zh": {
"name": "列出目录",
"description": "列出目录内容,包括文件和子目录,用于浏览目录结构和查找文件。"
}
}

View File

@@ -0,0 +1,41 @@
---
name: list-directory
description: List directory contents including files and subdirectories. When you need to explore directory structure, find specific files, or check what exists in a folder.
system: true
handler: filesystem
tool-name: list_directory
category: File System
---
# List Directory
列出目录内容。
## Parameters
| 参数 | 类型 | 必填 | 说明 |
|-----|------|-----|------|
| path | string | 是 | 目录路径 |
## Returns
- 文件名和类型
- 文件大小
- 修改时间
## Examples
**列出当前目录**:
```json
{"path": "."}
```
**列出指定目录**:
```json
{"path": "/home/user/documents"}
```
## Related Skills
- `read-file`: 读取文件内容
- `write-file`: 写入文件

View File

@@ -0,0 +1,29 @@
---
name: list-exportable-agents
description: List all Agent profiles that can be exported as .akita-agent packages. Shows both system and custom agents.
system: true
handler: agent_package
tool-name: list_exportable_agents
category: Agent Package
---
# List Exportable Agents
列出所有可导出的 Agent包括系统预设和自定义 Agent。
## Parameters
无参数。
## Returns
返回 Agent 列表,每项包含:
- `id`: Agent ID
- `name`: 显示名称
- `type`: 类型system/custom
- `category`: 分类
- `skills_count`: 技能数量
## Related Skills
- `export-agent`: 导出指定 Agent

View File

@@ -0,0 +1,6 @@
{
"zh": {
"name": "MCP 服务器列表",
"description": "列出所有已配置的 MCP 服务器及其连接状态。"
}
}

View File

@@ -0,0 +1,28 @@
---
name: list-mcp-servers
description: List all configured MCP servers and their connection status. When you need to check available MCP servers or verify server connections.
system: true
handler: mcp
tool-name: list_mcp_servers
category: MCP
---
# List MCP Servers
列出所有配置的 MCP 服务器及其连接状态。
## Parameters
无参数。
## Returns
- 服务器标识符
- 服务器名称
- 连接状态
- 可用工具数量
## Related Skills
- `call-mcp-tool`: 调用 MCP 工具
- `get-mcp-instructions`: 获取使用说明

View File

@@ -0,0 +1,6 @@
{
"zh": {
"name": "定时任务列表",
"description": "列出所有定时任务,包括 ID、名称、类型、状态和下次执行时间。"
}
}

View File

@@ -0,0 +1,44 @@
---
name: list-scheduled-tasks
description: List all scheduled tasks with their ID, name, type, status, and next execution time. When you need to check existing tasks, find task ID for cancel/update, or verify task creation.
system: true
handler: scheduled
tool-name: list_scheduled_tasks
category: Scheduled Tasks
---
# List Scheduled Tasks
列出所有定时任务。
## Parameters
| 参数 | 类型 | 必填 | 说明 |
|-----|------|-----|------|
| enabled_only | boolean | 否 | 是否只列出启用的任务,默认 false |
## Returns
- 任务 ID
- 名称
- 类型reminder/task
- 状态enabled/disabled
- 下次执行时间
## Examples
**列出所有任务**:
```json
{}
```
**只列出启用的任务**:
```json
{"enabled_only": true}
```
## Related Skills
- `schedule-task`: 创建新任务
- `cancel-scheduled-task`: 取消任务
- `update-scheduled-task`: 更新任务设置

View File

@@ -0,0 +1,6 @@
{
"zh": {
"name": "列出技能",
"description": "列出所有已安装的技能,查看可用技能或查找适合任务的技能。"
}
}

View File

@@ -0,0 +1,28 @@
---
name: list-skills
description: List all installed skills following Agent Skills specification. When you need to check available skills, find skill for a task, or verify skill installation.
system: true
handler: skills
tool-name: list_skills
category: Skills Management
---
# List Skills
列出已安装的技能(遵循 Agent Skills 规范)。
## Parameters
无参数。
## Returns
- 技能名称
- 技能描述
- 是否可自动调用
- 系统技能 vs 外部技能标识
## Related Skills
- `get-skill-info`: 获取技能详情
- `install-skill`: 安装新技能

View File

@@ -0,0 +1,6 @@
{
"zh": {
"name": "加载技能",
"description": "从 skills/ 目录加载新创建的技能,使其立即可用。"
}
}

View File

@@ -0,0 +1,43 @@
---
name: load-skill
description: Load a newly created skill from skills/ directory to make it immediately available
system: true
handler: skills
tool-name: load_skill
category: skills-management
---
# load-skill
加载新创建的技能到系统中,使其立即可用。
## 使用场景
- 使用 `skill-creator` 创建技能后
- 手动在 `skills/` 目录创建技能后
- 需要立即使用新技能时
## 使用方法
```
load_skill(skill_name="my-new-skill")
```
## 参数
| 参数 | 类型 | 必填 | 说明 |
|------|------|------|------|
| skill_name | string | 是 | 技能名称(即 skills/ 下的目录名)|
## 完整工作流
1. 使用 `skill-creator` 技能创建 SKILL.md
2. 将文件保存到 `skills/<skill-name>/SKILL.md`
3. 调用 `load_skill("<skill-name>")` 加载技能
4. 技能立即可用
## 注意事项
- 技能目录必须包含有效的 `SKILL.md` 文件
- 如果技能已存在,请使用 `reload_skill` 重新加载
- 加载成功后,技能会出现在 `list_skills` 列表中

Some files were not shown because too many files have changed in this diff Show More