Borrowing it
Nothing to install: this file belongs to wenshao/codeagents. 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/wenshao/codeagents/main/AGENTS.mdgit clone --depth 1 https://github.com/wenshao/codeagentsWrote 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/wenshao/codeagents/agents-md)<a href="https://agentmods.dev/instructions/wenshao/codeagents/agents-md"><img src="https://agentmods.dev/badge/instructions/wenshao/codeagents/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/wenshao/codeagents/agents-md"><img src="https://agentmods.dev/badge/instructions/wenshao/codeagents/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.01523 | $0.01523 |
| Opus 5.5 | $0.00609 | $0.00609 |
| Sonnet 5.5 | $0.00305 | $0.00305 |
| Haiku 4.5 | $0.00152 | $0.00152 |
Grade A, and why
codeagents 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.
How it starts
The opening of the file, as written. The whole thing — 132 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md — 项目指令文件
本文件为所有 AI 编程代理提供项目级上下文。支持 Claude Code(通过符号链接)、Codex CLI、Kimi CLI、Copilot CLI、Qwen Code、OpenCode。
项目概述
这是一个中文技术文档项目,对比分析 18 款 AI 编程 Code Agent。所有分析基于源码验证, 确保技术声明的准确性。项目目标是为开发者提供中立、客观、可验证的 Agent 选型参考。
项目结构(118 文件,35,000+ 行)
docs/
├── tools/ # Agent 文档(10 目录 + 9 单文件)
│ ├── claude-code/ # 9 文件 + EVIDENCE.md(反编译分析)
│ ├── copilot-cli/ # 5 文件 + EVIDENCE.md(SEA 反编译)
│ ├── codex-cli/ # 5 文件 + EVIDENCE.md(Rust 二进制分析)
│ ├── gemini-cli/ # 7 文件 + EVIDENCE.md(源码分析)
│ ├── kimi-cli/ # 5 文件 + EVIDENCE.md
│ ├── aider/ # 5 文件 + EVIDENCE.md
│ ├── opencode/ # 5 文件 + EVIDENCE.md
│ ├── qwen-code/ # EVIDENCE.md(Gemini CLI 分叉分析)
│ ├── qoder-cli/ # 4 文件 + EVIDENCE.md(Go 二进制分析)
│ ├── goose/ # EVIDENCE.md(MCP 原生架构分析)
│ └── *.md # 9 个单文件 Agent(Cursor/Warp/Cline 等)
├── comparison/ # 对比文档(40 篇)
│ ├── features.md # 功能矩阵
│ ├── architecture-deep-dive.md # 架构深度对比
│ ├── slash-commands-deep-dive.md # 命令深度对比
│ ├── model-routing.md # 模型路由
│ ├── *-deep-dive.md # 15 篇系统能力 Deep-Dive
│ ├── review-command.md # /review 对比
│ ├── privacy-telemetry.md # 隐私/遥测/安全监控对比
│ ├── pricing.md # 定价/成本
│ ├── system-requirements.md # 系统要求
│ ├── claude-code-vs-*.md # 1v1 对比
│ └── qwen-code-*.md # Qwen 功能补全系列
├── guides/ # 使用指南(15 篇)
│ ├── getting-started.md
│ ├── workflows.md
│ ├── migration.md
│ ├── troubleshooting.md
│ ├── config-examples.md
│ ├── context-management.md
│ ├── skill-design.md
│ ├── agents-md.md
│ ├── hooks-config.md
│ ├── claude-code-user-guide.md
│ ├── qwen-code-user-guide.md
│ ├── copilot-cli-user-guide.md
│ ├── writing-claude-md.md
│ ├── security-hardening.md
│ └── effective-prompts.md
├── architecture/
├── benchmarks/
└── resources.md
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 · 132 lines · 1,523 tokens per session scan A b0a2eacabd46
codeagents AGENTS.md is an instructions file published in the GitHub repository wenshao/codeagents (89 stars, last pushed 4mo ago), licensed Apache-2.0. It adds 1,523 tokens to every session, about $0.0061 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.
codeagents AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| codeagents AGENTS.mdwenshao/codeagents | Instructions file | 89 | 4mo ago | Apache-2.0 | A | 1,523 | 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,516 | 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 |
| deepseek-harness AGENTS.mddeepseek-ai/deepseek-harness | Instructions file | 275k | 3d ago | MIT | A | 4,313 | Codex, OpenCode |