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 autodevgit 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/autodev)<a href="https://agentmods.dev/skills/zhangshenao/harness9/autodev"><img src="https://agentmods.dev/badge/skills/zhangshenao/harness9/autodev/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/autodev"><img src="https://agentmods.dev/badge/skills/zhangshenao/harness9/autodev.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 1 finding, up to high
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- high Privilege Escalation · line 82 Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
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.00046 | $0.01224 |
| Opus 5.5 | $0.00018 | $0.00490 |
| Sonnet 5.5 | $0.00009 | $0.00245 |
| Haiku 4.5 | $0.00005 | $0.00122 |
Grade A, and why
autodev 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 — 131 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/autodev — Feature Auto-Development Workflow
当用户输入 /autodev <功能描述> 时,你按以下三个阶段工作。
Phase 1: 需求澄清
首先用 read 读取 AGENTS.md,了解项目当前模块、架构和规范(重点:第 4 节项目结构、第 5 节开发流程)。
然后向用户提 2-3 个关键澄清问题,每次只问一个:
- 功能边界:明确实现什么、不实现什么
- 验收标准:什么样的测试证明功能完成(单元测试?eval 用例?)
- 影响范围:新增文件为主还是修改已有模块
2-3 轮澄清后直接进入 Phase 2,不要过度追问。
Phase 2: Spec 生成与确认
以如下格式生成并展示 spec:
## Feature Spec: <标题>
### 功能描述
<简洁描述该功能做什么>
### 实现范围
新增文件:
- internal/<pkg>/<file>.go
- internal/<pkg>/<file>_test.go
修改文件:
- cmd/harness9/main.go(如需注册新工具)
### 验收标准
- [ ] go build ./... 通过
- [ ] go test ./... 通过
- [ ] (如涉及 Agent 行为)internal/evals/dataset/ 新增 eval 用例
### 不在范围内
- <明确列出不做的事>
展示完成后,输出以下提示,不要调用任何工具,直接结束本轮回复(DSH 会在本轮结束后等待用户输入):
请确认 spec(输入「确认」继续实现),或告知需要修改的地方。
如果用户要求修改,更新 spec 后重新展示,再次等待确认。 只有用户明确输入「确认」后才进入 Phase 3。
Phase 3: 前置检查 + 委派实现
3.1 前置检查
依次用 bash 执行以下检查,任一失败则停下来告知用户并等待修复:
# 检查 Go 已安装(项目要求 1.25+)
go version
# 检查 git 可用
git --version
DSH 侧无需额外沙箱配置:子代理与主 Agent 使用同一会话权限预设。若会话处于 read-only 预设,先切到 workspace-write(权限不足时向用户说明,不要绕过审批)。
3.2 创建 git worktree
从 spec 标题生成 slug(全小写,空格替换为 -,去掉非 ASCII 字母数字字符),然后执行:
示例:"Add WebSocket 支持" → "add-websocket-"(中文字符去掉)→ 可简化为 "add-websocket-support"
git worktree add .autodev/<slug> -b feature/autodev-<slug>
用 bash 获取绝对路径(macOS 的 readlink 不支持 -f,用下面的写法):
cd .autodev/<slug> && pwd
3.3 委派 dev sub-agent
DSH 用 subagent 工具委派,prompt 必须让子代理自己加载角色技能(子代理不继承本会话上下文):
subagent(
description="autodev 实现",
prompt="调用 skill 工具加载 `agent-dev`,并严格按该技能执行。\n\nFeature Spec:\n<spec 全文>\n\n工作目录(git worktree 绝对路径):<worktreePath>"
)
subagent 只返回「已启动」,不会阻塞等待。本轮到此结束,等子代理的完成通知再继续:通知里应包含 AUTODEV_RESULT: SUCCESS/FAILED 与 BRANCH: <branch-name>。
3.4 处理结果
成功(完成通知里 AUTODEV_RESULT: SUCCESS):
从 sub-agent 返回结果中提取 BRANCH: <branch-name>,然后执行合并:
# 将 feature 分支合并到当前分支
git merge feature/autodev-<slug>
若合并成功:
- 展示:「✓ 已合并到当前分支:feature/autodev-」
- 清理 worktree:
git worktree remove .autodev/<slug>
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 Changed · -1 lines · +21 tokens per session 45d2978a8974
- 3mo ago Changed 8b8285ec1128
- 3mo ago First seen · 132 lines · 25 tokens per session scan A 99b1a15a190b
autodev is a skill published in the GitHub repository ZhangShenao/harness9 (166 stars, last pushed yesterday), licensed MIT. It adds 46 tokens to every session and 1,224 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-08-30.
autodev compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| autodevZhangShenao/harness9 | Skill | 166 | yesterday | MIT | A | 46 | 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 |