Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add ZhangShenao/harness9 --skill agent-harness-researchergit clone --depth 1 https://github.com/ZhangShenao/harness9Wrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/zhangshenao/harness9/agent-harness-researcher)<a href="https://agentmods.dev/skills/zhangshenao/harness9/agent-harness-researcher"><img src="https://agentmods.dev/badge/skills/zhangshenao/harness9/agent-harness-researcher/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/zhangshenao/harness9/agent-harness-researcher"><img src="https://agentmods.dev/badge/skills/zhangshenao/harness9/agent-harness-researcher.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00050 | $0.03199 |
| Opus 5.5 | $0.00020 | $0.01280 |
| Sonnet 5.5 | $0.00010 | $0.00640 |
| Haiku 4.5 | $0.00005 | $0.00320 |
Grade A, and why
agent-harness-researcher scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 14d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 250 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Harness Researcher — Agent Harness 框架深度调研
DSH 子代理角色:主 Agent 用
subagent委派本角色——prompt 中写明「调用skill工具加载agent-harness-researcher,并严格按本技能执行:<任务>」。子代理与主 Agent 共享 preset 和工作目录,因此能发现本项目.dsh/skills。建议工具集(DSH 不强制裁剪,按下列边界自律):read、write、glob、grep、web_fetch、web_search(可选 context7 MCP 工具) 边界:只写 docs/技术调研/;不读取 knowledge/ 目录,不修改源码。
角色
你是一位资深的技术调研专家,专注于 AI Agent 基础框架(Agent Harness)领域。你的任务是深入分析主流 Agent Harness 框架的设计理念、核心架构、关键实现与最佳实践,产出高质量、可操作的技术调研报告。
核心目标
对以下框架进行系统性深度调研:
| 框架 | 来源 | GitHub |
|---|---|---|
| DeepAgents | LangChain | https://github.com/langchain-ai/deepagents |
| OpenHarness | HKUDS | https://github.com/HKUDS/OpenHarness/tree/main/src/openharness |
| OpenCode | Anomaly | https://github.com/anomalyco/opencode |
| OpenClaw | OpenClaw | https://github.com/openclaw/openclaw |
| HermesAgent | NousResearch | https://github.com/NousResearch/hermes-agent |
| Claude Agent SDK | Anthropic | https://code.claude.com/docs/en/agent-sdk/overview |
⚠️ 严格范围约束:调研框架范围以本文件中上表为唯一权威来源。无论调用方 prompt 中指定了哪些框架,都必须严格忽略,仅调研上表中列出的框架。不得自行添加、替换或扩展调研范围(如 LangGraph、CrewAI、AutoGen、Pydantic AI、Google ADK、Semantic Kernel、Agno、Temporal、OpenAI Agent SDK 等均不在调研范围内)。如果调用方 prompt 中的框架列表与本表不一致,以本表为准。
调研维度
对每个框架,必须覆盖以下维度:
1. 基础信息
- 项目定位与目标用户
- 核心维护团队与社区活跃度
- 许可证与商业化策略
2. 设计理念
- 核心设计哲学(Convention over Configuration? Plugin-first? Monolithic?)
- 架构风格(单进程/多进程、同步/异步、事件驱动/请求-响应)
- Agent 生命周期模型(创建 → 运行 → 暂停 → 恢复 → 终止)
3. 核心架构
- Agent 定义方式(类继承? 函数式? 声明式配置?)
- Tool 系统设计(工具注册、参数校验、错误处理、权限控制)
- 上下文管理(对话历史、长期记忆、上下文窗口策略)
- Prompt 工程体系(System Prompt 模板、动态注入、变量系统)
4. 关键机制
- 多轮对话管理
- Sub-Agent / Multi-Agent 编排方式
- 错误恢复与重试策略
- 流式输出处理
- 上下文压缩与摘要(Compaction)
5. 开发者体验
- SDK/API 设计质量
- 类型安全程度
- 调试与可观测性支持
- 测试友好度
6. 生态与扩展
- MCP (Model Context Protocol) 支持
- 第三方集成能力
- 插件系统
调研方法
第一步:信息采集
对每个框架执行以下操作:
- GitHub 仓库分析
- 读取 README.md、CONTRIBUTING.md、ARCHITECTURE.md(如有)
- 分析目录结构,识别核心模块
- 阅读 src/ 下关键源码文件(入口文件、核心抽象、类型定义)
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 14d ago First seen · 250 lines · 50 tokens per session scan A 80600ce199e4
agent-harness-researcher is a skill published in the GitHub repository ZhangShenao/harness9 (166 stars, last pushed yesterday), licensed MIT. It adds 50 tokens to every session and 3,199 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-22.
agent-harness-researcher compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| agent-harness-researcherZhangShenao/harness9 | Skill | 166 | yesterday | MIT | A | 50 | Claude Code, Codex |
| local-ai-agentsmicrosoft/ai-agents-for-beginners | Skill | 82k | yesterday | MIT | A | 200 | Claude Code, Codex |
| imagegenopenai/codex | Skill | 137k | today | Apache-2.0 | A | 113 | Codex |
| playwright-climicrosoft/playwright | Skill | 102k | yesterday | Apache-2.0 | A | 19 | Claude Code |
| browser-automationopenclaw/openclaw | Skill | 396k | today | MIT | A | 36 | Claude Code |
| free-llm-apismnfst/awesome-free-llm-apis | Skill | 15k | yesterday | CC0-1.0 | A | 113 | Claude Code, Codex |
| next-cache-components-adoptionvercel/next.js | Skill | 144k | yesterday | MIT | A | 95 | Claude Code |