mirror of
https://git.openapi.site/https://github.com/desirecore/market.git
synced 2026-02-28 13:38:10 +08:00
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:
5
skills/update-agent/CHANGELOG.md
Normal file
5
skills/update-agent/CHANGELOG.md
Normal file
@@ -0,0 +1,5 @@
|
||||
# Changelog
|
||||
|
||||
## [2.1.0] - 2026-02-26
|
||||
|
||||
- 移除 fetch_api 依赖,改为通过 Bash/curl 调用 HTTP API;API 地址由 system prompt 注入;新增 PUT /api/agents/:id/files/* 端点说明
|
||||
@@ -1,16 +1,42 @@
|
||||
---
|
||||
name: update-agent
|
||||
description: 安全更新现有智能体的配置、人格、原则、技能与记忆,输出可审阅 diff 并在确认后应用与提交。Use when 用户要求修改 Agent 行为、安装/卸载技能、调整配置、回滚变更或修订规则。
|
||||
version: "2.1.0"
|
||||
description: >-
|
||||
安全更新现有智能体的配置、人格、原则、技能与记忆,输出可审阅 diff 并在确认后应用与提交。Use when 用户要求修改 Agent
|
||||
行为、安装/卸载技能、调整配置、回滚变更或修订规则。
|
||||
version: 2.1.0
|
||||
type: meta
|
||||
risk_level: high
|
||||
status: enabled
|
||||
disable-model-invocation: true
|
||||
tags: [agent, update, meta]
|
||||
tags:
|
||||
- agent
|
||||
- update
|
||||
- meta
|
||||
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="ua-a" x1="2" y1="7" x2="14"
|
||||
y2="21" gradientUnits="userSpaceOnUse"><stop stop-color="#AF52DE"/><stop
|
||||
offset="1" stop-color="#007AFF"/></linearGradient></defs><circle cx="9"
|
||||
cy="7" r="4" fill="url(#ua-a)" fill-opacity="0.15" stroke="url(#ua-a)"
|
||||
stroke-width="1.5"/><path d="M10 15H6a4 4 0 0 0-4 4v2" fill="url(#ua-a)"
|
||||
fill-opacity="0.1" stroke="url(#ua-a)" stroke-width="1.5"/><circle cx="18"
|
||||
cy="15" r="3" fill="#007AFF" fill-opacity="0.12" stroke="#007AFF"
|
||||
stroke-width="1.3"/><path d="m14.3
|
||||
16.53.92-.38m.01-2.3-.92-.38m1.5-1.24-.38-.92m0
|
||||
5.54-.38.92m2.3.01.38-.92m.3-4.84-.38-.92m1.24 1.5.92-.38m0 2.3.92.38"
|
||||
stroke="#AF52DE" stroke-width="1.3" stroke-linecap="round"/></svg>
|
||||
short_desc: 安全更新智能体配置、人格、规则与技能,支持 diff 预览与版本回滚
|
||||
category: productivity
|
||||
maintainer:
|
||||
name: DesireCore Official
|
||||
verified: true
|
||||
compatible_agents: []
|
||||
channel: latest
|
||||
---
|
||||
|
||||
# update-agent 技能
|
||||
|
||||
@@ -1,32 +0,0 @@
|
||||
{
|
||||
"id": "update-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=\"ua-a\" x1=\"2\" y1=\"7\" x2=\"14\" y2=\"21\" gradientUnits=\"userSpaceOnUse\"><stop stop-color=\"#AF52DE\"/><stop offset=\"1\" stop-color=\"#007AFF\"/></linearGradient></defs><circle cx=\"9\" cy=\"7\" r=\"4\" fill=\"url(#ua-a)\" fill-opacity=\"0.15\" stroke=\"url(#ua-a)\" stroke-width=\"1.5\"/><path d=\"M10 15H6a4 4 0 0 0-4 4v2\" fill=\"url(#ua-a)\" fill-opacity=\"0.1\" stroke=\"url(#ua-a)\" stroke-width=\"1.5\"/><circle cx=\"18\" cy=\"15\" r=\"3\" fill=\"#007AFF\" fill-opacity=\"0.12\" stroke=\"#007AFF\" stroke-width=\"1.3\"/><path d=\"m14.3 16.53.92-.38m.01-2.3-.92-.38m1.5-1.24-.38-.92m0 5.54-.38.92m2.3.01.38-.92m.3-4.84-.38-.92m1.24 1.5.92-.38m0 2.3.92.38\" stroke=\"#AF52DE\" stroke-width=\"1.3\" stroke-linecap=\"round\"/></svg>",
|
||||
"shortDesc": "安全更新智能体配置、人格、规则与技能,支持 diff 预览与版本回滚",
|
||||
"fullDesc": "更新智能体是一个元技能,允许通过自然语言对话修改 Agent 的各项配置。所有修改都会生成可审阅的 diff 补丁,经用户确认后才会应用,并通过 Git 支持版本回滚。\n\n功能特性:\n- 多维更新:支持 persona、principles、skills、memory、tools 等全方位修改\n- Diff 预览:变更以直观的 diff 形式展示,清晰明了\n- 风险分级:低/中/高/受保护四级,按风险等级要求不同确认流程\n- 受保护路径:核心身份与安全红线自动阻断修改\n- 版本回滚:通过 Git 管理版本历史,支持回滚到任意时间点",
|
||||
"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": "high",
|
||||
"requires": {
|
||||
"tools": [],
|
||||
"connections": []
|
||||
},
|
||||
"compatibleAgents": [],
|
||||
"changelog": "v2.1.0: 移除 fetch_api 依赖,改为通过 Bash/curl 调用 HTTP API;API 地址由 system prompt 注入;新增 PUT /api/agents/:id/files/* 端点说明"
|
||||
}
|
||||
Reference in New Issue
Block a user