feat: support one-shot remote skill batches
Pipelines as Code CI / hwlab-web-probe-sentinel-nc01- Success
Pipelines as Code CI / platform-infra-gitea-nc01- Success
Pipelines as Code CI / unidesk-host- Success

This commit is contained in:
pikastech
2026-07-19 14:49:27 +02:00
parent e476a48d74
commit bb3dc3fc69
2 changed files with 13 additions and 1 deletions
+1 -1
View File
@@ -134,4 +134,4 @@ targets:
- id: superapi
configRef: /root/superapi/config/superapi.yaml
path: publicExposure
sourceCommit: f43fd139e99d2336c3496ff2324883fe8ca7eb50
sourceCommit: f9b357b0dd3f312c98803f34bb3521d9f9780bb7
@@ -339,6 +339,18 @@ gateway 注入目录应要求 Agent 在任务匹配 Remote Skill 时先一次性
输出到标准输出供当次任务使用,不在客户端持久化;客户端网络或工具权限不足时
应明确报告阻断,禁止仅依据 description 伪装成已加载完整 Skill。
- 多 Skill 同时匹配或用户明确要求读取全部绑定 Skill 时:
- catalog 必须提供由当前公开文档 ID 生成的批量读取 URL;
- catalog 必须提供 Windows、Linux 和 macOS 的单命令读取方式;
- Agent 应按当前系统直接执行其中一条命令读取批量 URL;
- 动态批量 URL 不应先交给网页搜索、浏览器或索引型 URL reader;
- Linux 与 macOS 命令应避免继承无效的本地代理配置;
- 批量响应必须包含每份完整 `SKILL.md` 的名称和明确边界;
- Agent 不应再逐个请求 catalog 中的单 Skill URL。
- 只有一个 Skill 匹配时:
- Agent 继续读取该 Skill 的单独 `SKILL.md` URL
- 单 Skill 与批量读取均保持公开、无鉴权且不携带 API Key。
请求历史的分块模式应把 Remote Skill 的文档 URL 与名称、description 一并解析,
且继续保持每个 Skill 一行摘要、展开后查看完整字段。L0 应同时覆盖普通 Skill
兼容行为和 Remote Skill URL 渲染;L1 应使用没有本地同名 Skill 的真实 Codex