refactor: 消灭 skill.json,SKILL.md 成为唯一真相源

- 将 skill.json 中的 icon、shortDesc、category、maintainer、
  compatibleAgents、channel 迁移到 SKILL.md frontmatter 的 market 段
- 将 skill.json 中的 changelog 字段提取为独立 CHANGELOG.md
- 删除所有 skill.json(downloads/rating/ratingCount 等虚假数据一并移除)
- 版本号统一从 SKILL.md frontmatter version 读取

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-27 20:38:00 +08:00
parent 89e68de812
commit b8ba404577
12 changed files with 136 additions and 144 deletions

View File

@@ -0,0 +1,5 @@
# Changelog
## [2.1.0] - 2026-02-26
- 移除 fetch_api 依赖,改为通过 Bash/curl 调用 HTTP APIAPI 地址由 system prompt 注入

View File

@@ -1,16 +1,38 @@
---
name: discover-agent
description: 根据用户需求推荐最匹配的智能体展示候选列表并引导选择。Use when 用户描述需求但不确定该找哪个智能体帮忙,或想浏览可用的智能体。
version: "2.1.0"
version: 2.1.0
type: procedural
risk_level: low
status: enabled
disable-model-invocation: false
tags: [agent, discovery, recommendation]
tags:
- agent
- discovery
- recommendation
metadata:
author: desirecore
version: "2.1.0"
updated_at: "2026-02-26"
version: 2.1.0
updated_at: '2026-02-26'
market:
icon: >-
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0
24 24" fill="none"><defs><linearGradient id="da-a" x1="2" y1="2" x2="22"
y2="22" gradientUnits="userSpaceOnUse"><stop stop-color="#AF52DE"
stop-opacity="0.12"/><stop offset="1" stop-color="#007AFF"
stop-opacity="0.06"/></linearGradient></defs><circle cx="12" cy="12" r="10"
fill="url(#da-a)" stroke="#AF52DE" stroke-width="1.5"/><path d="M16.24
7.76l-1.8 5.41a2 2 0 0 1-1.27 1.27L7.76 16.24" fill="#FF9500"
fill-opacity="0.85"/><path d="M7.76 16.24l1.8-5.41a2 2 0 0 1 1.27-1.27L16.24
7.76" fill="#AF52DE" fill-opacity="0.7"/><circle cx="12" cy="12" r="1.5"
fill="white" stroke="#AF52DE" stroke-width="0.8"/></svg>
short_desc: 根据需求描述智能推荐最匹配的智能体,引导快速选择
category: productivity
maintainer:
name: DesireCore Official
verified: true
compatible_agents: []
channel: latest
---
# discover-agent 技能

View File

@@ -1,32 +0,0 @@
{
"id": "discover-agent",
"name": "发现智能体",
"icon": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\"><defs><linearGradient id=\"da-a\" x1=\"2\" y1=\"2\" x2=\"22\" y2=\"22\" gradientUnits=\"userSpaceOnUse\"><stop stop-color=\"#AF52DE\" stop-opacity=\"0.12\"/><stop offset=\"1\" stop-color=\"#007AFF\" stop-opacity=\"0.06\"/></linearGradient></defs><circle cx=\"12\" cy=\"12\" r=\"10\" fill=\"url(#da-a)\" stroke=\"#AF52DE\" stroke-width=\"1.5\"/><path d=\"M16.24 7.76l-1.8 5.41a2 2 0 0 1-1.27 1.27L7.76 16.24\" fill=\"#FF9500\" fill-opacity=\"0.85\"/><path d=\"M7.76 16.24l1.8-5.41a2 2 0 0 1 1.27-1.27L16.24 7.76\" fill=\"#AF52DE\" fill-opacity=\"0.7\"/><circle cx=\"12\" cy=\"12\" r=\"1.5\" fill=\"white\" stroke=\"#AF52DE\" stroke-width=\"0.8\"/></svg>",
"shortDesc": "根据需求描述智能推荐最匹配的智能体,引导快速选择",
"fullDesc": "发现智能体是一个流程型技能,帮助用户在已注册的 Agent 中找到最合适的助手。通过语义理解用户需求,多维度匹配评分,展示候选列表并引导选择。无匹配时自动衔接创建流程。\n\n功能特性\n- 语义匹配:基于描述相似度、技能匹配、领域匹配等多维度评分\n- 智能排序:综合得分降序,在线状态优先\n- 浏览模式:支持查看所有可用智能体\n- 流畅衔接:无匹配时自动建议创建新 Agent\n- 上下文传递:选择后自动传递用户需求到目标智能体",
"category": "productivity",
"tags": [
"智能体",
"发现",
"推荐",
"匹配",
"导航"
],
"version": "2.1.0",
"updatedAt": "2026-02-26",
"maintainer": {
"name": "DesireCore Official",
"verified": true
},
"downloads": 0,
"rating": 0,
"ratingCount": 0,
"installStatus": "not_installed",
"riskLevel": "low",
"requires": {
"tools": [],
"connections": []
},
"compatibleAgents": [],
"changelog": "v2.1.0: 移除 fetch_api 依赖,改为通过 Bash/curl 调用 HTTP APIAPI 地址由 system prompt 注入"
}