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 agentmods add instructions/jiangwangyang/openagents/agents-mdgit clone --depth 1 https://github.com/jiangwangyang/openagentsWhat 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 | $0.00365 | $0.00365 |
| Opus 5 | $0.00182 | $0.00182 |
| Sonnet 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 2d 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.
- 2d 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 11d ago), licensed MIT. It adds 365 tokens to every session, about $0.0018 per session on Opus 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.
Other instructions, from other repositories
spec-kit AGENTS.md
AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.
vscode buildNext.instructions.md
Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).
codex AGENTS.md
AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.
langchain AGENTS.md
AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.
vscode oss-third-party-notices.instructions.md
Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).
next.js AGENTS.md
Instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.