移除了agents/registry.json中的所有内置agents配置,将agents数组清空。 为web应用添加了CORS中间件支持,允许指定的前端地址跨域访问。 重构了技能上传功能,增加了LLM重写机制,自动规范化上传的技能格式。 新增了工具名称提取逻辑,从技能正文中自动识别Required Tools段落。 更新了技能学习候选者和草稿的载荷结构,添加评估报告统计信息。 修改了意图路由技能的说明,改进任务状态管理逻辑。
66 lines
2.0 KiB
Markdown
66 lines
2.0 KiB
Markdown
---
|
||
name: skills-authoring-admin
|
||
description: 技能草稿创建管理。用于显式创建新 Skill draft,默认不向普通 Agent 暴露。
|
||
tools:
|
||
- skill_manage
|
||
---
|
||
|
||
# Skills Authoring Admin
|
||
|
||
## Overview
|
||
|
||
技能草稿创建管理。用于显式创建新 Skill draft,默认不向普通 Agent 暴露。
|
||
|
||
## When to Use
|
||
|
||
- Use when the task requires Skills Authoring Admin guidance.
|
||
|
||
## Required Tools
|
||
|
||
- `skill_manage`
|
||
|
||
## Workflow
|
||
|
||
- Identify whether the user's request matches the skill's trigger conditions.
|
||
- Read the relevant source guidance below and apply only the steps that fit the current task.
|
||
- Use the required tools deliberately and keep tool output tied to the user's goal.
|
||
|
||
### Source Guidance
|
||
|
||
### Skills Authoring Admin — 技能草稿创建
|
||
|
||
创建新的技能草稿。这个能力用于管理员、开发者或受控的技能创作流程,不属于默认初始 Agent 能力。
|
||
|
||
#### 工具说明
|
||
|
||
##### skill_manage
|
||
创建新技能草稿(draft)。
|
||
- `action` (str): 仅支持 "create_draft"
|
||
- `name` (str): 技能名称
|
||
- `description` (str): 技能描述
|
||
- `content` (str): 技能正文(SKILL.md 格式)
|
||
- 创建的草稿需经过 review → publish 流程
|
||
|
||
#### 使用原则
|
||
|
||
1. 只有用户明确要求创建或沉淀一个 Skill 时才使用
|
||
2. 创建草稿前确认 skill 名称、触发场景、工具依赖和正文边界
|
||
3. 技能正文使用标准 frontmatter + Markdown 格式
|
||
4. Draft 创建后必须经过 review → publish 流程才能生效
|
||
5. 自学习候选生成草稿不依赖这个 tool;自学习流程走 SkillLearningPipelineService
|
||
|
||
## Validation
|
||
|
||
- Verify the requested outcome with the most direct available check.
|
||
- Report any skipped step, unavailable dependency, or remaining uncertainty explicitly.
|
||
|
||
## Boundaries
|
||
|
||
- Do not broaden the task beyond the user's request.
|
||
- Do not use tools that are not listed or clearly available in the current runtime.
|
||
|
||
## Anti-Patterns
|
||
|
||
- Do not summarize the skill instead of applying it.
|
||
- Do not claim completion without validation evidence.
|