Borrowing it
Nothing to install: this file belongs to jiangwangyang/openagents. 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/jiangwangyang/openagents/main/AGENTS.mdgit clone --depth 1 https://github.com/jiangwangyang/openagentsWrote 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/jiangwangyang/openagents/agents-md)<a href="https://agentmods.dev/instructions/jiangwangyang/openagents/agents-md"><img src="https://agentmods.dev/badge/instructions/jiangwangyang/openagents/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/jiangwangyang/openagents/agents-md"><img src="https://agentmods.dev/badge/instructions/jiangwangyang/openagents/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.00365 | $0.00365 |
| Opus 5.5 | $0.00146 | $0.00146 |
| Sonnet 5.5 | $0.00073 | $0.00073 |
| Haiku 4.5 | $0.00036 | $0.00036 |
Grade A, and why
openagents 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 2mo 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
AGENTS.md
规范
- 禁止修改非项目文件,只允许修改当前目录下的文件。
- 禁止运行程序,代码编写完后仅允许编译检验。
- 禁止直接安装任何软件或依赖,但可以向我提出安装申请。
工作流
- 了解阶段:使用
ls等命令查看当前项目结构。 - 需求阶段:明确需求,包括输入输出等。若需求模糊,先向我提出澄清问题。
- 分析阶段:分析需求是否合理,应该如何实现,应该采用什么技术。
- 方案阶段:规划改动范围,包括文件,函数,框架等。待我确认后再生成代码。
- 生成阶段:按照要求严格生成代码,禁止修改其它内容,且代码风格要和项目其它代码保持一致。
- 整理阶段:如果有格式化工具,使用格式化工具格式化代码。
- 检查阶段:生成后,自我审查是否遵循了上述所有规范,然后汇总归纳。
编码规范
- 默认使用函数编程,禁止编写类和方法,实体类 (绑定数据)除外。
- 函数的参数,返回值需要明确声明类型。
- 业务代码需在一个函数内编写完,禁止拆分为多个函数调用。
- 统一使用单行注释 (
#,//),禁止使用多行注释 (''',""",/**/等)。 - 代码风格保持一致,注释风格保持一致,注释内容与代码一致,禁止使用全角标点。
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.
- 2mo ago First seen · 26 lines · 365 tokens per session scan A e41342c2137c
openagents AGENTS.md is an instructions file published in the GitHub repository jiangwangyang/openagents (2 stars, last pushed 2mo ago), licensed MIT. It adds 365 tokens to every session, about $0.0015 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-31.
openagents AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| openagents AGENTS.mdjiangwangyang/openagents | Instructions file | 2 | 2mo ago | MIT | A | 365 | Codex, OpenCode |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | today | MIT | A | 7,461 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 5,649 | GitHub Copilot |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | today | MIT | A | 4,680 | Codex, OpenCode |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 3,093 | GitHub Copilot |
| vscode model-prompts.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 2,022 | GitHub Copilot |