Internal preview

WeHub Research Blog

这是一篇暂时内部分享的技术博客预览。请输入团队预览口令。

Runtime matrix

六大 runtime skill adapter matrix

六大 runtime skill adapter matrix。Agent Skills portable core / runtime adapter deep dive.

2026-06-06Internal previewAgent Skills · Runtime Adapter

六大 runtime skill adapter matrix

这个 matrix 的目标不是给六个系统排名,而是帮助判断:一段 skill 内容应该放在 portable core,还是应该放进 runtime adapter。

维度Claude CodeCodexOpenCodeCursorOpenClawHermes
核心定位命令 + 自动触发上下文workflow 作者格式 + plugin 分发terminal agent 的 on-demand skill toolIDE agent 的 scoped procedural workflowgateway 能力包与安全门长期 agent 程序化记忆
典型入口.claude/skills、plugin skills、历史 commands.agents/skills、用户/系统 skills、plugins.opencode/skills、兼容 .claude / .agents.cursor/skills.agents/skills、rules 迁移workspace/global skills、ClawHub、bundled skills~/.hermes/skills/<category>/<name>、bundled skills
触发方式/skill-name 或模型按描述触发$skill/skills 或模型隐式匹配agent 调用 native skill toolslash menu、模型发现、路径 scopeslash command、模型调用、tool dispatchsession/profile/toolset 中的技能加载
上下文策略description 先入,正文用时加载初始列表有预算,选中后加载正文available_skills 在 tool description,正文按需加载IDE context + rules + skills 组合eligible skills 编译进紧凑提示块长期技能库按 profile/session 组织
权限边界settings、permission mode、hooks、MCPsandbox、approval、plugin、app configpermission.skill allow/deny/askmode、tools、MCP、rules、workspace trustmetadata gating、secret scope、sandboxenabled toolsets、profile、gateway
分发边界Claude plugin 或本地 .claudeplugin 是分发单元,skill 是作者格式config directory +兼容路径IDE settings、team/rules、skillsClawHub/local/git/upload + verifybundled catalog + local user skills
最容易污染 core 的内容Claude 工具名、slash command 参数agents/openai.yaml、plugin metadatapermission.skill 和 native tool 调用paths、rules、IDE modemetadata.openclaw、channel 消息协议profile/toolset/channel/memory 语义
Adapter 应回答怎么调用、哪些工具、是否自动触发放哪里、如何分发、依赖什么 plugin谁能 load、是否 ask/deny、是否禁用 skill tool哪些文件触发、与 rules 怎么分工是否 eligible、如何安装、secret/channel 怎么处理哪个 profile/toolset、如何复用长期经验

读法

如果一段内容只描述任务判断、步骤、输入输出和验收,它通常属于 portable core。

如果一段内容提到路径、工具名、权限、secret、sandbox、UI、slash command、IDE file scope、terminal permission、gateway channel 或 profile/toolset,它通常属于 adapter。

最危险的误解是把 SKILL.md 当成完整 runtime contract。SKILL.md 是共同外壳;真正决定 skill 能否运行的,是每个 runtime 的发现、权限、分发、上下文和消息边界。

Sources

继续阅读