awesome-cursorrules-zh: Instructions file for Codex

AGENTS.md

awesome-cursorrules-zh AGENTS.md is an instructions file for Codex, OpenCode from holtwood/awesome-cursorrules-zh. It costs 652 tokens per session, scanned A, original, MIT.

A guide for Awesome Cursor Rules 中文版, a collection of more than 132 rule files that tell Cursor, an AI code editor, how to work in different technical areas.

In plain words
What is it for?
Use it when developing, validating, building, or contributing to the Chinese and English VitePress documentation website.
Why use it?
It identifies the authoritative rule files, documentation sources, site structure, supported tools, and project conventions.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions CLAUDE.md; mentions Claude Code; mentions AGENTS.md.

This is holtwood/awesome-cursorrules-zh's own configuration. It tells Codex and OpenCode how to work on awesome-cursorrules-zh itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything awesome-cursorrules-zh configures →

Reuse

Borrowing it

Nothing to install: this file belongs to holtwood/awesome-cursorrules-zh. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/holtwood/awesome-cursorrules-zh/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/holtwood/awesome-cursorrules-zh

Made for: Codex, OpenCode.

Wrote 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.

agentmods badge for awesome-cursorrules-zh AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/holtwood/awesome-cursorrules-zh/agents-md/github.svg)](https://agentmods.dev/instructions/holtwood/awesome-cursorrules-zh/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/holtwood/awesome-cursorrules-zh/agents-md"><img src="https://agentmods.dev/badge/instructions/holtwood/awesome-cursorrules-zh/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.

agentmods 80×15 button for awesome-cursorrules-zh AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/holtwood/awesome-cursorrules-zh/agents-md"><img src="https://agentmods.dev/badge/instructions/holtwood/awesome-cursorrules-zh/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 652 This file is loaded in full into every session.
When invoked 652 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00652 $0.00652
Opus 5.5 $0.00261 $0.00261
Sonnet 5.5 $0.00130 $0.00130
Haiku 4.5 $0.00065 $0.00065

Measured 1mo ago against content hash e42e9fd152b8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

awesome-cursorrules-zh 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.

AGENTS.md · 56 lines

What it actually says

AGENTS.md

项目定位

Awesome Cursor Rules 中文版 —— Cursor AI 编辑器规则集合。提供 132 个 .cursorrules 规则文件,覆盖 32 个技术领域,配套 VitePress 双语文档站。

权威源

路径 用途
docs/rules/ 规则资产源:32 个领域目录,共 132 个 .cursorrules
docs/zh/、docs/en/ 中英文文档源文件(真实目录,非符号链接)
docs/.vitepress/ 站点配置、主题组件、站点数据
docs/public/ 站点静态资源(字体、logo、og-image)
docs/scripts/sync-site-facts.mjs 构建前同步站点事实数据
tests/site-ia.test.mjs 站点信息架构一致性测试

技术栈

技术 版本 用途
Node.js >=20.0.0 运行时
VitePress ^1.6.4 静态站点生成
markdownlint-cli2 ^0.23.2 Markdown 检查

常用命令

npm run docs:dev       # 开发服务器(内部先 sync 站点数据)
npm run docs:build     # 构建站点
npm run docs:preview   # 预览构建结果
npm run lint           # Markdown 格式检查
npm test               # 站点 IA 一致性测试
npm run check          # lint + test + docs 构建

开发边界

  • 对外文档优先中文,技术术语保持英文原文
  • 文档改动须同时覆盖 docs/zh/ 与 docs/en/
  • 不要绕过 sync 直接调用 vitepress build,否则站点数据会过期
  • CI 仅在 docs/** 或 workflow 文件变更时触发

提交规范

使用约定式提交:feat / fix / docs / style / refactor / chore / translate

相关文档

Changes

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.

  1. 1mo ago Changed · +8 lines · +256 tokens per session e42e9fd152b8
  2. 2mo ago First seen · 48 lines · 396 tokens per session scan A f76e2e458c8c

Subscribe to this mod's changes

awesome-cursorrules-zh AGENTS.md is an instructions file published in the GitHub repository holtwood/awesome-cursorrules-zh (241 stars, last pushed 18d ago), licensed MIT. It adds 652 tokens to every session, about $0.0026 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.

Related

awesome-cursorrules-zh AGENTS.md compared with instructions from other repositories

awesome-cursorrules-zh AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
awesome-cursorrules-zh AGENTS.mdholtwood/awesome-cursorrules-zhInstructions file24118d agoMITA652Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode