Borrowing it
Nothing to install: this file belongs to Komagon/hermes-production-patterns. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/Komagon/hermes-production-patterns/main/AGENTS.mdgit clone --depth 1 https://github.com/Komagon/hermes-production-patternsWrote 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/instructions/komagon/hermes-production-patterns/agents-md)<a href="https://agentmods.dev/instructions/komagon/hermes-production-patterns/agents-md"><img src="https://agentmods.dev/badge/instructions/komagon/hermes-production-patterns/agents-md/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/instructions/komagon/hermes-production-patterns/agents-md"><img src="https://agentmods.dev/badge/instructions/komagon/hermes-production-patterns/agents-md.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.00841 | $0.00841 |
| Opus 5.5 | $0.00336 | $0.00336 |
| Sonnet 5.5 | $0.00168 | $0.00168 |
| Haiku 4.5 | $0.00084 | $0.00084 |
Grade A, and why
hermes-production-patterns AGENTS.md 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 1mo 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 — 56 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Hermes Production Patterns
项目概述
此仓库包含一套生产级的 Hermes Agent 工程模式、公约和模板。目标是帮助开发者从「手写提示词」进化到「设计自主运行的 Agent 系统」。
核心能力
| 能力 | 入口点 |
|---|---|
| Maker/Checker 分离 | conventions/maker-checker.md |
| 状态文件管理 | conventions/state-file-pattern.md |
| 控制流分离 | conventions/control-flow-separation.md |
| 错误压缩与自愈 | conventions/error-compact-pattern.md |
| 技能进化 | conventions/skill-evolution.md |
| Cron 任务设计 | conventions/cron-job-pattern.md |
| 检查点恢复 | conventions/checkpoint-pattern.md |
| 密钥管理 | conventions/secret-management.md |
| 数据驱动技能优化 | conventions/data-driven-optimization.md |
| 💡 反面模式 | conventions/anti-patterns.md |
| 🧩 模式组合指南 | conventions/pattern-composition.md |
| 📐 状态文件 Schema | conventions/state-schema.json |
| 🔄 自更新安全流程 | conventions/self-update-pattern.md |
| 🧠 认知记忆系统 | conventions/memory-os-pattern.md |
| 📈 进化闸门 | conventions/evolution-gate.md |
| 🔒 数据隐私 | conventions/data-retention-privacy.md |
| ⚖️ 决策契约(判断/授权/执行分离) | conventions/decision-contract.md |
| 回归反测集 | test-prompts.json(36 条,含 assertions/forbidden) |
| 模板 | templates/ |
| 设计模式 | patterns/ |
| 实战示例 | examples/ |
| 公众号文章流水线 | examples/wechat-article-pipeline.md |
| 🚀 Starter Kits(6 个可复制骨架) | starter-kits/(入口 starter-kits/index.md) |
| 🚀 Production Stacks(5 个官方组合) | stacks/(入口 stacks/index.md) |
| 🚀 10-Minute Quick Start | quickstart.md |
| 🚀 Production Recipes(7 个完整方案) | recipes/(入口 recipes/index.md) |
| 🚀 Production Audit + Readiness Score | audit/audit.md |
| 🚀 兼容性矩阵 | compatibility/README.md |
| 🚀 hpp CLI(init/add/validate/audit/doctor) | cli/hpp.py |
你的角色
- 新用户路径:读
quickstart.md→ 复制 starter-kit → 按验证清单跑通 - 阅读
conventions/理解工程模式 — 这些是可执行的技能文件 - 阅读
patterns/理解方法论 — 这些是设计决策的上下文 - 使用
templates/快速起步 — 填空即用 - 选场景方案 — 先看
stacks/组合,再看recipes/完整方案 - 验收项目 —
cli/hpp audit出五维得分,audit/checks/checklist.md逐项核对
约束
- 不要修改
conventions/文件的内容来绕过设计意图 - 所有 Cron 任务必须经过 L1→L2→L3 成熟度分级
- Maker 和 Checker 必须是独立的 Agent 实例
- 错误信息必须压缩后写入上下文
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.
- 1mo ago Changed · +2 lines · +46 tokens per session f70a90ff5f42
- 2mo ago Changed 0dcbee202868
- 2mo ago Changed · +10 lines · +241 tokens per session 08ebee8d7b20
- 2mo ago First seen · 44 lines · 554 tokens per session scan A 656a22c963f4
hermes-production-patterns AGENTS.md is an instructions file published in the GitHub repository Komagon/hermes-production-patterns (17 stars, last pushed 12d ago), licensed MIT. It adds 841 tokens to every session, about $0.0034 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.
hermes-production-patterns AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| hermes-production-patterns AGENTS.mdKomagon/hermes-production-patterns | Instructions file | 17 | 12d ago | MIT | A | 841 | Codex, OpenCode |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | yesterday | MIT | A | 7,461 | Codex, OpenCode |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | yesterday | MIT | A | 4,680 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 5,516 | GitHub Copilot |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 3,093 | GitHub Copilot |
| deepseek-harness AGENTS.mddeepseek-ai/deepseek-harness | Instructions file | 274k | 2d ago | MIT | A | 4,313 | Codex, OpenCode |