Files
beaver_project/skills/skills-admin/versions/v0001/SKILL.md
steven_li 8aeb97a5fc feat(app): 移除内置agents并添加CORS支持和技能上传优化
移除了agents/registry.json中的所有内置agents配置,将agents数组清空。
为web应用添加了CORS中间件支持,允许指定的前端地址跨域访问。
重构了技能上传功能,增加了LLM重写机制,自动规范化上传的技能格式。
新增了工具名称提取逻辑,从技能正文中自动识别Required Tools段落。
更新了技能学习候选者和草稿的载荷结构,添加评估报告统计信息。
修改了意图路由技能的说明,改进任务状态管理逻辑。
2026-06-12 13:25:20 +08:00

71 lines
2.1 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: skills-admin
description: 技能Skill列表查看和内容加载。用于浏览已发布技能、读取技能正文和支持文件。
tools:
- skills_list
- skill_view
---
# Skills Admin
## Overview
技能Skill列表查看和内容加载。用于浏览已发布技能、读取技能正文和支持文件。
## When to Use
- Use when the task requires Skills Admin guidance.
## Required Tools
- `skills_list`
- `skill_view`
## 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 Admin — 技能查看
查看已发布的技能列表并加载技能详情。
#### 工具说明
##### skills_list
列出系统中所有可用技能及其描述。
- 返回技能名称、描述和版本
- 用于浏览当前可用的技能
##### skill_view
加载某个技能的完整正文或支持文件。
- `name` (str): 技能名称
- `file_path` (str | None): 可选的支持文件路径
- 不传文件路径时返回 SKILL.md 主内容
- 支持按需加载 references/、templates/ 等目录
#### 使用原则
1. 需要参考某个技能的详细内容时,先 `skills_list` 找到名称,再用 `skill_view` 加载
2. 用户问“你有哪些技能”时,优先使用 `skills_list` 获取当前可见技能
3. 用户问某个技能如何工作时,用 `skill_view` 读取正文或支持文件
4. 这个默认技能不创建草稿;技能创作能力属于单独的 authoring/admin skill
## 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.