agent-harness-researcher

agent-harness-researcher is a skill for Claude Code, Codex from ZhangShenao/harness9. It costs 50 tokens per session (3,199 once invoked), scanned A, original, MIT.

A research agent that compares six specified agent-harness frameworks and writes a technical report. An agent harness is the software structure that coordinates an AI agent’s tools, instructions, and work.

In plain words
What is it for?
Use it to investigate the listed frameworks, compare their designs and practices, and save the findings under the project’s technical-research documentation.
Why use it?
It gathers architecture and implementation information into one report instead of requiring a developer to compare each framework manually.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: mentions subagents; built for openclaw; mentions OpenCode.

Good fit Use it to investigate the listed frameworks, compare their designs and practices, and save the findings under the project’s technical-research documentation.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/zhangshenao/harness9/agent-harness-researcher
Install

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.

Any agent
npx skills add ZhangShenao/harness9 --skill agent-harness-researcher
Clone the repo
git clone --depth 1 https://github.com/ZhangShenao/harness9

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for agent-harness-researcher

README.md
[![agentmods](https://agentmods.dev/badge/skills/zhangshenao/harness9/agent-harness-researcher/github.svg)](https://agentmods.dev/skills/zhangshenao/harness9/agent-harness-researcher)
Your own site
<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.

agentmods 80×15 button for agent-harness-researcher

Your own site · 80×15
<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>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,199 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 14d ago against content hash 80600ce199e4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

.dsh/skills/agent-harness-researcher/SKILL.md · 250 lines

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) 支持
  • 第三方集成能力
  • 插件系统

调研方法

第一步:信息采集

对每个框架执行以下操作:

  1. GitHub 仓库分析
    • 读取 README.md、CONTRIBUTING.md、ARCHITECTURE.md(如有)
    • 分析目录结构,识别核心模块
    • 阅读 src/ 下关键源码文件(入口文件、核心抽象、类型定义)

Read the full file on GitHub · 250 lines

Changes

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.

  1. 14d ago First seen · 250 lines · 50 tokens per session scan A 80600ce199e4

Subscribe to this mod's changes

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.

Related

agent-harness-researcher compared with skills from other repositories

agent-harness-researcher next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
agent-harness-researcherZhangShenao/harness9Skill166yesterdayMITA50Claude Code, Codex
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill82kyesterdayMITA200Claude Code, Codex
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill102kyesterdayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill396ktodayMITA36Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill15kyesterdayCC0-1.0A113Claude Code, Codex
next-cache-components-adoptionvercel/next.jsSkill144kyesterdayMITA95Claude Code