Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/visionTw/godot-ai-harnessnpx agentmods add commands/visiontw/godot-ai-harness/generate-harness-sync-briefWrote 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/commands/visiontw/godot-ai-harness/generate-harness-sync-brief)<a href="https://agentmods.dev/commands/visiontw/godot-ai-harness/generate-harness-sync-brief"><img src="https://agentmods.dev/badge/commands/visiontw/godot-ai-harness/generate-harness-sync-brief/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/commands/visiontw/godot-ai-harness/generate-harness-sync-brief"><img src="https://agentmods.dev/badge/commands/visiontw/godot-ai-harness/generate-harness-sync-brief.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.00000 | $0.00445 |
| Opus 5 | $0.00000 | $0.00222 |
| Sonnet 5 | $0.00000 | $0.00089 |
| Haiku 4.5 | $0.00000 | $0.00044 |
Grade A, and why
generate-harness-sync-brief 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 10d 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.
What it actually says
/generate-harness-sync-brief
快速生成"近期提交可提炼到 harness 的候选清单",作为 /sync-learnings-to-harness 的起点。
何时执行
- 在打算做
/sync-learnings-to-harness之前。 - 阶段中期想看看"最近哪些工作有反向沉淀价值"时。
- 用户问"最近有什么可以沉淀到 harness 的"时。
执行命令
./tools/harness/generate-harness-sync-brief.command
可选:指定分析最近提交数(默认 12)
./tools/harness/generate-harness-sync-brief.command 20
输出位置
docs/harness-sync-briefs/YYYY-MM-DD_HHMM.md
输出包含
- 最近 N 条 commit 列表(hash + subject)
- 这些 commit 涉及的所有文件(去重)
- 三段空白分类模板(rules / skills / commands)等待人工填写
- "AI 问答复盘"模板段落
- "同步执行记录"模板(最终回填 harness commit + game commit)
后续动作
- 打开生成的 brief 文件,人工补充:
- "可提炼到 Harness(候选)"段:哪些通用经验值得提炼
- "留在项目仓库(专有)"段:哪些必须留在业务仓
- "AI 问答复盘"段:会话中的关键决策与踩坑
- 执行
/sync-learnings-to-harness完成实际沉淀
前置脚本
业务仓需要存在 tools/harness/generate-harness-sync-brief.command。
新业务仓可以从 harness 模板拷贝:
cp vendor/godot-ai-harness/templates/generate-harness-sync-brief.command tools/harness/
chmod +x tools/harness/generate-harness-sync-brief.command
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.
- 10d ago First seen · 52 lines · 0 tokens per session scan A 9b9706a51b85
generate-harness-sync-brief is a command published in the GitHub repository visionTw/godot-ai-harness (2 stars, last pushed 23d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 445 tokens. 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-31.
Other commands, from other repositories
git
The pre-finish status: branch, hygiene findings, message checks, workflow lint, template state.
commit
A command that examines staged Git changes and proposes a commit message using the Conventional Commits format, such as feat, fix, or docs. Git is a tool for tracking changes to code.
commit-claude-config
Version the Solana AI Kit config in git (un-ignores .claude/, CLAUDE.md, .mcp.json, .gitmodules and commits them).
session-report
Capture what changed this session and why, scoped to the current branch. Read by ship verbs when synthesizing the commit message; deleted after a successful commit.
feat
Quick feature commit. Use for new feature, add feature, implement, create new.
step6-ship
Pipeline Step 6 — Ship the completed phase: commit, update roadmap, capture postmortem, optionally push and create PR.