Install any skill in seconds. Free to start, no credit card required.
Get Started Free →bytepioneer-ai/codexhost-add-harness
为 codexhost 新增或规划外部 Harness 接入。当需要实现、初始化、审查或补全 Harness Adapter,注册新的编码 Agent,或者检查新 Harness 必须支持哪些 codexhost 公共能力时使用。应先读取仓库中的当前接口;本 Skill 的参考文档是能力检查清单,不是接口定义副本。
Passed 13 of 19 test cases with the skill, and 3 of 19 without it.
and 11 more in the full report
11 fixed4 passed either way7 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 11 test cases the skill fixed. Same model, same prompt, with and without the skill.
When adding a new harness plugin as a preinstalled bundle in the repository, should we add the plugin package as a direct npm dependency in the host package.json?
| Checked | Without skill | With skill |
|---|---|---|
| Forbids adding specific adapter dependencies to core host packages. | Missed | Passed |
The instructions your model reads when the skill loads.
目标:交付一个通过公共契约工作的独立插件,而不是在 Host 中增加一套 Harness 专用流程。插件是交付与加载单元,HarnessAdapter / HarnessSession 是运行时接口;不要求继承基类,也不要求使用 ACP。
本文代码路径以仓库根目录为基准,references/ 链接相对于本 Skill。接口签名、字段限制和当前行为以源码为准;参考文档是实现与验收清单,不是第二份接口定义。
Host
├─ 发现 Manifest、读取显式启用配置、调用插件工厂
├─ 通过 HarnessAdapter / HarnessSession 执行业务
└─ 拥有 Thread 映射、持久化事务、委派和 Desktop 协议投影
│ 公共契约
▼
插件
├─ Manifest:身份、版本、展示信息、入口
├─ 工厂:把 Host Context 转成原生构造参数
├─ HarnessAdapter:检查、打开 Session、关闭共享资源
└─ HarnessSession:执行、输出、状态、历史、关闭
│ 插件内部
▼
原生 SDK / RPC / 服务 / CLI
harness-discovery 实现搜索机制,插件声明命令名、环境变量和安装目录策略。从用户请求判断范围;只有会影响实现边界的歧义才询问,不默认扩展为全产品改造。
| 交付范围 | 必须完成 | 不自动包含 |
|---|---|---|
| 插件后端 | 原生适配、Manifest/工厂、可运行依赖、隔离目录加载、公共行为测试 | 仓库预装、Desktop UI |
| 预装发行 | 插件后端 + Workspace 构建、预装清单、独立 Bundle、许可与发行验收 | Renderer 自动发现 |
| Desktop 产品接入 | 插件后端 + Picker、配置、恢复、展示及 UI 验收 | 必须成为预装插件 |
test cases passed, vs 3 / 19 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.