diff --git a/manifest.json b/manifest.json index 690724a..47fa94b 100644 --- a/manifest.json +++ b/manifest.json @@ -28,7 +28,7 @@ "stats": { "totalAgents": 1, "totalSkills": 23, - "lastUpdated": "2026-05-04" + "lastUpdated": "2026-05-05" }, "features": [ "verified-only", diff --git a/skills/dev-environment-setup/SKILL.md b/skills/dev-environment-setup/SKILL.md index eea283c..d8c69c4 100644 --- a/skills/dev-environment-setup/SKILL.md +++ b/skills/dev-environment-setup/SKILL.md @@ -12,7 +12,7 @@ description: >- cross-cutting environment question. 使用场景:用户提到 环境配置、PATH、 容器、Docker、Podman、WSL、WSL2、办公依赖、系统工具,或不确定属于 Python / Node.js 时的入口指引。 -version: 2.0.1 +version: 2.0.2 type: procedural risk_level: low status: enabled @@ -27,7 +27,7 @@ tags: - router metadata: author: desirecore - updated_at: '2026-05-02' + updated_at: '2026-05-05' i18n: default_locale: en-US source_locale: zh-CN diff --git a/skills/dev-environment-setup/references/probe-snapshot.md b/skills/dev-environment-setup/references/probe-snapshot.md index 167451c..89c9f08 100644 --- a/skills/dev-environment-setup/references/probe-snapshot.md +++ b/skills/dev-environment-setup/references/probe-snapshot.md @@ -9,7 +9,7 @@ | `platform` | `"darwin" \| "linux" \| "win32"` | 操作系统标识 | | `arch` | `"arm64" \| "x64" \| ...` | CPU 架构 | | `desirecore_api` | `string` | 探测到的 DesireCore agent-service URL,不可达时为 `""` | -| `desirecore_port_file` | `string` | `~/.desirecore/agent-service.port` 是否存在 | +| `desirecore_port_file` | `boolean` | `~/.desirecore/agent-service.port` 是否存在(probe.sh / probe.ps1 输出原生 JSON boolean) | ## probe.sh / probe.ps1(父级 dev-environment-setup) @@ -95,7 +95,7 @@ Windows 上 `wsl` 字段值类似 `{ "installed": true, "version": "2", "default 1. **JSON 必合法**:缺字段也保留键并赋空字符串/`null`,避免 Claude 解析失败。 2. **不阻塞**:每个外部命令都加 `2>/dev/null`,失败用空值,不让脚本中途退出。 -3. **超时控制**:HTTP 探测 0.5s 超时;CLI 调用最长 5s。 +3. **超时控制**:HTTP 探测 0.5s 超时(curl `--max-time`/PowerShell `TimeoutSec`);CLI 调用(`--version` 等)依赖工具自身实现,无显式 timeout 包装,正常情况通常 <5s 完成。 4. **跨平台**:`probe.sh` / `probe-python.sh` / `probe-node.sh` 共用 POSIX 子集;Windows 同等功能由 `probe.ps1` 提供(仅父级提供,python/nodejs 子 skill 可由 PowerShell 直接 invoke 父级或自行实现)。 5. **路径展开**:所有 `~` 在 JSON 中展开为绝对路径,避免下游解析歧义。 diff --git a/skills/manage-skills/SKILL.md b/skills/manage-skills/SKILL.md index a795735..4e51529 100644 --- a/skills/manage-skills/SKILL.md +++ b/skills/manage-skills/SKILL.md @@ -4,7 +4,7 @@ description: >- 管理 Agent 的技能生命周期:通过 HTTP API 导入、安装、更新、删除技能, 或通过 AgentFS 文件系统直接编写符合规范的 SKILL.md。Use when 用户要求 安装技能、从 URL/Git 导入技能、编写新技能、或管理已有技能。 -version: 1.0.2 +version: 1.0.3 type: meta risk_level: low status: enabled @@ -17,7 +17,7 @@ tags: - agentfs metadata: author: desirecore - updated_at: '2026-03-03' + updated_at: '2026-05-05' i18n: default_locale: en-US source_locale: zh-CN @@ -508,7 +508,7 @@ covering completed items, to-dos, and important decisions. | `risk_level` | Recommended | enum | `low` / `medium` / `high` | | `status` | Recommended | enum | `enabled` / `disabled` | | `tags` | Optional | string[] | List of tags, used for search and categorization | -| `disable-model-invocation` | Optional | boolean | `true` = L0+L1 auto-injected into the system prompt; `false` = full L0+L1+L2 content injected; default `true` | +| `disable-model-invocation` | Optional | boolean | `false` = opt-in auto-injection of full content into the system prompt; `true` (or omitted) = no auto-injection, only loaded when explicitly invoked via the Skill tool; default `true` | | `requires` | Optional | object | Dependency declaration: `tools`, `optional_tools`, `connections` | | `metadata` | Optional | object | Meta information: `author`, `updated_at` | | `market` | Optional | object | Market display metadata (only required for Skills published to the Market) | diff --git a/skills/manage-skills/SKILL.zh-CN.md b/skills/manage-skills/SKILL.zh-CN.md index 2efa482..e71dad1 100644 --- a/skills/manage-skills/SKILL.zh-CN.md +++ b/skills/manage-skills/SKILL.zh-CN.md @@ -447,7 +447,7 @@ metadata: | `risk_level` | 推荐 | enum | `low` / `medium` / `high` | | `status` | 推荐 | enum | `enabled` / `disabled` | | `tags` | 可选 | string[] | 标签列表,用于搜索和分类 | -| `disable-model-invocation` | 可选 | boolean | `true`=L0+L1 自动注入 system prompt;`false`=L0+L1+L2 完整内容注入;默认 `true` | +| `disable-model-invocation` | 可选 | boolean | `false`=opt-in 自动注入完整内容到 system prompt;`true` 或缺省=不自动注入,仅显式 Skill 工具调用时才加载;默认 `true` | | `requires` | 可选 | object | 依赖声明:`tools`、`optional_tools`、`connections` | | `metadata` | 可选 | object | 元信息:`author`、`updated_at` | | `market` | 可选 | object | 市场展示元数据(仅市场发布的技能需要) | diff --git a/skills/minimax-music-gen/SKILL.md b/skills/minimax-music-gen/SKILL.md index 50e53e8..6fa3d55 100644 --- a/skills/minimax-music-gen/SKILL.md +++ b/skills/minimax-music-gen/SKILL.md @@ -7,7 +7,7 @@ description: >- AI 作曲、创作歌曲、写一首歌、音乐生成、AI 音乐、MiniMax 音乐、 作词作曲、纯音乐、伴奏、翻唱、cover。 license: Complete terms in LICENSE.txt -version: 1.1.1 +version: 1.1.2 type: procedural risk_level: low status: enabled @@ -24,7 +24,7 @@ requires: - Bash metadata: author: desirecore - updated_at: '2026-05-03' + updated_at: '2026-05-05' i18n: default_locale: en-US source_locale: zh-CN @@ -123,7 +123,7 @@ PORT=$(cat ~/.desirecore/agent-service.port) curl -sk -X POST "https://127.0.0.1:${PORT}/api/media-proxy" \ -H "Content-Type: application/json" \ -d '{ - "provider": "minimax", + "providerId": "provider-minimax-media-001", "endpoint": "/music_generation", "body": { "model": "music-2.6", @@ -146,7 +146,7 @@ PORT=$(cat ~/.desirecore/agent-service.port) curl -sk -X POST "https://127.0.0.1:${PORT}/api/media-proxy" \ -H "Content-Type: application/json" \ -d '{ - "provider": "minimax", + "providerId": "provider-minimax-media-001", "endpoint": "/music_generation", "body": { "model": "music-2.6", @@ -259,7 +259,7 @@ PORT=$(cat ~/.desirecore/agent-service.port) curl -sk -X POST "https://127.0.0.1:${PORT}/api/media-proxy" \ -H "Content-Type: application/json" \ -d '{ - "provider": "minimax", + "providerId": "provider-minimax-media-001", "endpoint": "/music_generation", "body": { "model": "music-2.6", diff --git a/skills/minimax-music-gen/SKILL.zh-CN.md b/skills/minimax-music-gen/SKILL.zh-CN.md index 8b492fd..0e1856e 100644 --- a/skills/minimax-music-gen/SKILL.zh-CN.md +++ b/skills/minimax-music-gen/SKILL.zh-CN.md @@ -58,7 +58,7 @@ PORT=$(cat ~/.desirecore/agent-service.port) curl -sk -X POST "https://127.0.0.1:${PORT}/api/media-proxy" \ -H "Content-Type: application/json" \ -d '{ - "provider": "minimax", + "providerId": "provider-minimax-media-001", "endpoint": "/music_generation", "body": { "model": "music-2.6", @@ -81,7 +81,7 @@ PORT=$(cat ~/.desirecore/agent-service.port) curl -sk -X POST "https://127.0.0.1:${PORT}/api/media-proxy" \ -H "Content-Type: application/json" \ -d '{ - "provider": "minimax", + "providerId": "provider-minimax-media-001", "endpoint": "/music_generation", "body": { "model": "music-2.6", @@ -194,7 +194,7 @@ PORT=$(cat ~/.desirecore/agent-service.port) curl -sk -X POST "https://127.0.0.1:${PORT}/api/media-proxy" \ -H "Content-Type: application/json" \ -d '{ - "provider": "minimax", + "providerId": "provider-minimax-media-001", "endpoint": "/music_generation", "body": { "model": "music-2.6", diff --git a/skills/skill-creator/SKILL.md b/skills/skill-creator/SKILL.md index b6ccee4..ef85c85 100644 --- a/skills/skill-creator/SKILL.md +++ b/skills/skill-creator/SKILL.md @@ -5,7 +5,7 @@ description: >- (frontmatter 元数据 + L0/L1/L2 分层内容 + 脚本/参考/资产)和 Claude Code 基础格式。Use when 用户要求创建新技能、更新已有技能、或将经验封装为可复用 的技能包。 -version: 1.0.1 +version: 1.0.2 type: meta risk_level: low status: enabled @@ -18,7 +18,7 @@ tags: - authoring metadata: author: desirecore - updated_at: '2026-04-03' + updated_at: '2026-05-05' i18n: default_locale: en-US source_locale: zh-CN @@ -161,7 +161,7 @@ A SKILL.md consists of two parts: **Frontmatter (YAML metadata)** and **Body (Ma | Field | Type | Default | Description | |------|------|------|------| -| `disable-model-invocation` | boolean | `true` | `true` = L0+L1 auto-injected into the system prompt (lazy load, small footprint); `false` = full L0+L1+L2 content injected into the system prompt | +| `disable-model-invocation` | boolean | `true` | `false` = opt-in auto-injection of full SKILL.md content into the system prompt (auto-loaded); `true` (or omitted) = no auto-injection, only loaded when an Agent explicitly invokes the Skill tool (aligned with Claude Skills: disabled by default, opt-in) | | `user-invocable` | boolean | `true` | `false` = does not appear in command completion; serves only as background knowledge | | `allowed-tools` | string[] | — | Restricts the list of tools available at execution time | | `requires` | object | — | Dependency declaration: `tools`, `optional_tools`, `connections` | diff --git a/skills/skill-creator/SKILL.zh-CN.md b/skills/skill-creator/SKILL.zh-CN.md index aa5f961..480eb09 100644 --- a/skills/skill-creator/SKILL.zh-CN.md +++ b/skills/skill-creator/SKILL.zh-CN.md @@ -100,7 +100,7 @@ SKILL.md 由两部分组成:**Frontmatter(YAML 元数据)** 和 **Body(M | 字段 | 类型 | 默认 | 说明 | |------|------|------|------| -| `disable-model-invocation` | boolean | `true` | `true`=L0+L1 自动注入 system prompt(按需加载,体积小);`false`=L0+L1+L2 完整内容注入 system prompt | +| `disable-model-invocation` | boolean | `true` | `false`=opt-in 自动注入完整 SKILL.md 内容到 system prompt(自动加载);`true` 或缺省=不自动注入,仅当 Agent 显式调用 Skill 工具时才加载(与 Claude Skills 对齐:默认禁用,需显式启用) | | `user-invocable` | boolean | `true` | `false`=不出现在命令补全,仅作为背景知识 | | `allowed-tools` | string[] | — | 限制执行时可用的工具列表 | | `requires` | object | — | 依赖声明:`tools`、`optional_tools`、`connections` |