vibe-coding-cn: Instructions file for Codex

AGENTS.md

vibe-coding-cn AGENTS.md is an instructions file for Codex, OpenCode from ziiyuecheng/vibe-coding-cn. It costs 4,864 tokens per session, scanned A, a copy of vibe-coding-cn AGENTS.md, MIT.

Repository instructions for vibe-coding-cn, a project containing prompts, skills, tools, and documentation for AI-assisted coding.

In plain words
What is it for?
Use them when working in that repository, especially for editing prompts, skills, documentation, or tools and running its lint and structure checks.
Why use it?
They set clear allowed and forbidden changes, protect sensitive files, and define the checks and workflow expected before committing code.

Instructions file for CodexOpenCode

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

This is ziiyuecheng/vibe-coding-cn's own configuration. It tells Codex and OpenCode how to work on vibe-coding-cn 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 vibe-coding-cn configures →

Reuse

Borrowing it

Nothing to install: this file belongs to ziiyuecheng/vibe-coding-cn. 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/ziiyuecheng/vibe-coding-cn/develop/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/ziiyuecheng/vibe-coding-cn

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 vibe-coding-cn AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/ziiyuecheng/vibe-coding-cn/agents-md.svg)](https://agentmods.dev/instructions/ziiyuecheng/vibe-coding-cn/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/ziiyuecheng/vibe-coding-cn/agents-md"><img src="https://agentmods.dev/badge/instructions/ziiyuecheng/vibe-coding-cn/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 4,864 This file is loaded in full into every session.
When invoked 4,864 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 89% copy Near-identical to another mod 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.04864 $0.04864
Opus 5 $0.02432 $0.02432
Sonnet 5 $0.00973 $0.00973
Haiku 4.5 $0.00486 $0.00486

Measured 7d ago against content hash 52d389fab4ab, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

vibe-coding-cn 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 7d 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.

Origin

This is a copy

89% identical to vibe-coding-cn AGENTS.md — 60 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

AGENTS.md · 380 lines

How it starts

The opening of the file, as written. The whole thing — 380 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Repository Guidelines

本文件为 AI Agent 提供项目操作手册与约束清单,确保 Agent 行为可控、可复现。


1. Mission & Scope(目标与边界)

允许的操作

  • 读取、修改顶层文档:README.mdAGENTS.mdCONTRIBUTING.md
  • 读取、修改 docs/prompts/skills/tools/config/tools/external/ 下的文档与代码
  • 执行 make lintmake check-linksmake check-detailsmake check-doc-structuremake check-directory-docsmake check-metadatamake check-ai-citationmake sync-doc-toc、prompts-library 转换工具
  • 新增/修改提示词、技能、文档
  • 提交符合规范的 commit

禁止的操作

  • 修改 .github/workflows/ 中的 CI 配置(除非任务明确要求)
  • 修改 LICENSECODE_OF_CONDUCT.md
  • 在代码中硬编码密钥、Token 或敏感凭证
  • 未经确认的大范围重构

敏感区域(禁止自动修改)

  • .github/workflows/*.yml - CI/CD 配置
  • .env* 文件(如存在)

2. Golden Path(推荐执行路径)

# 1. 拉取最新代码
git pull --rebase origin develop

# 2. 初始化外部仓库指针
git submodule update --init --recursive

# 3. 运行 lint 检查
make lint

# 4. 执行修改任务
# ...

# 5. 再次 lint 验证
make lint

# 6. 提交变更
git add -A
git commit -m "feat|fix|docs|chore: scope - summary"
git push origin develop

3. Must-Run Commands(必须执行的命令清单)

环境要求

  • Node.js 22+(通过 npx --yes [email protected] 运行固定版本 Markdown lint)
  • Python 3.8+(用于 prompts-library 工具与链接检查脚本)
  • Git

核心命令

命令 用途 前置条件
make help 列出所有 Make 目标
make lint 校验全仓库 Markdown Node.js 22+;通过 npx --yes [email protected] 执行
make check-links 校验仓库内 Markdown 相对链接 Python 3
make check-details 校验 Markdown 折叠块 <details>/<summary> 结构 Python 3
make check-doc-structure 校验 docs 线性 README 标准块顺序、主章节顺序、重复锚点与目录入口 Python 3
make check-directory-docs 校验仓库自有目录 README/AGENTS 覆盖 Python 3
make check-metadata 校验 metadata 路径与锚点 Python 3
make check-ai-citation 校验 llms 与 AI 引用语料路径和锚点 Python 3
make sync-doc-toc 根据 taxonomy 和文档锚点重建 docs 细粒度目录 Python 3
make test 执行本地质量门禁 Node.js 22+、Python 3
git submodule update --init --recursive 初始化外部 Git 仓库指针 Git
cd tools/prompts-library && python3 main.py 提示词格式转换 pip install -r tools/prompts-library/requirements.txt

Read the full file on GitHub · 380 lines

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. 7d ago First seen · 380 lines · 4,864 tokens per session scan A 52d389fab4ab

Subscribe to this mod's changes

vibe-coding-cn AGENTS.md is an instructions file published in the GitHub repository ziiyuecheng/vibe-coding-cn (120 stars, last pushed 4mo ago), licensed MIT. It adds 4,864 tokens to every session, about $0.0243 per session on Opus 5. A static security scan graded it A with 0 findings. It is 89% identical to vibe-coding-cn AGENTS.md, differing in 60 lines, and is treated as a copy.

Related

Other instructions, from other repositories

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.

openai/codex · 5,182 tokens

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

microsoft/vscode · 6,785 tokens

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,296 tokens

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.

langchain-ai/langchain · 4,469 tokens

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

microsoft/vscode · 5,001 tokens

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.

github/spec-kit · 7,104 tokens