vibe-coding-cn: Instructions file for Codex

AGENTS.md

vibe-coding-cn AGENTS.md is an instructions file for Codex, OpenCode from tradecatlabs/vibe-coding-cn. It costs 3,945 tokens per session, scanned A, original, MIT.

Repository instructions for vibe-coding-cn, covering how agents may work on its documents, prompts, skills, tools, and checks.

In plain words
What is it for?
Use them when editing the repository, running its lint and validation commands, updating documentation or skills, or preparing a compliant commit.
Why use it?
They define allowed and forbidden changes, sensitive files, required checks, and the project’s preferred workflow.

Instructions file for CodexOpenCode

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

This is tradecatlabs/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 →

About the project

vibe-coding-cn is a Chinese tutorial on using AI as a programming partner, covering prompts, reusable skills, workflows, context management, and software engineering practices. It guides developers from an initial idea through implementation and verification with AI coding tools such as Claude Code and Codex. The catalogue entries are the project’s documented skills, instruction, plugin, and command for applying this workflow.

tradecatlabs/vibe-coding-cn · 17,750 stars · on GitHub · tradecatlabs.com

Reuse

Borrowing it

Nothing to install: this file belongs to tradecatlabs/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/tradecatlabs/vibe-coding-cn/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/tradecatlabs/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/tradecatlabs/vibe-coding-cn/agents-md/github.svg)](https://agentmods.dev/instructions/tradecatlabs/vibe-coding-cn/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/tradecatlabs/vibe-coding-cn/agents-md"><img src="https://agentmods.dev/badge/instructions/tradecatlabs/vibe-coding-cn/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 vibe-coding-cn AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/tradecatlabs/vibe-coding-cn/agents-md"><img src="https://agentmods.dev/badge/instructions/tradecatlabs/vibe-coding-cn/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 3,945 This file is loaded in full into every session.
When invoked 3,945 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.03945 $0.03945
Opus 5.5 $0.01578 $0.01578
Sonnet 5.5 $0.00789 $0.00789
Haiku 4.5 $0.00394 $0.00394

Measured 2d ago against content hash 22ae2deef330, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-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 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

AGENTS.md · 110 lines

How it starts

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

Vibe Coding工具箱:仓库操作指南

目标与边界

  • 以Pi Agent和已授权的OpenAI GPT作为主体底座,复用原生工具、资源加载与模型选择;不新造Agent、模型客户端、Lambda解释器或资源管理框架。
  • 只组织现有资产;三域主入口为.github/context/、.github/skills/、.github/extensions/,域内对象平铺。Context入门、提示词、机器索引、AI引用和模板文件平铺在.github/根;仅重名的README.md、AGENTS.md用集合名区分,其他文件保留原名。包内部源码、资料集合与共享实现不另算新的一级资源分类。
  • 根README.md是唯一主页;.github/README.md禁止创建。llms.txt是AI短入口;大资料按需读取,不全部注入系统上下文。
  • 读者按问题、设计、实现、代价及比较/共性/适用条件理解工具;Lambda记号只辅助表达输入输出与组合,不证明纯函数、正确、确定或终止。
  • 功法与法器442个对象的活动说明使用.github/tool-explanation-template-v1.md:保留v0的15项并新增“结论、连接规则、依据”,共18项;v0仅作历史模板,两个版本的原始模板均在.github/根目录。第16项为主张、第18项为事实依据、第17项须按图尔敏模型写明从证据到主张的具体推理规则;不得用字段交叉引用冒充连接规则。不得用AI自拟版本替代已登记模板,不借模板迁移改写原15项、来源或评级。主页集合级说明也按活动v1模板18项名序组织;作为集合摘要,第16–18项仅陈述集合层级可核的结论、推理与依据,不合并或替代对象级说明。

目录职责

路径 唯一职责
.github/context/ 公开规则、知识、文档、数据和参考资料;研究档案仅保留在已有本机副本;详见本域AGENTS
.github/skills/ 仅保留skill一个自有指令入口,使用原生工具;专属封装已退役
.github/extensions/ 剩余固定上游源码、配置与小工具;对象清单以本域README为准,不是全部可由Pi的-e加载
.github/ISSUE_TEMPLATE/及固定配置 现有GitHub协作入口;本次仅退役workflows,不扩改其他平台配置
.github/CONTRIBUTORS.md 根README迁出的贡献者名单与鸣谢;只维护独立文档
.github/check-*.py、test-*.py、4个资料维护脚本、平铺共享模块及requirements 仓库维护层;校验、测试和共享实现清单以.github/AGENTS.md为准,不保留lib目录,不属于用户侧Extensions工具
Makefile 本地可重复命令入口
.github/根的集合说明文件与原名平铺文件、.github/tool-explanation-template-v*.md Context入门、提示词、机器索引与AI引用文件;仅重名指南使用集合名,规则见.github/AGENTS.md

Context资料集合保留在.github/context/,其中gongfa与faqi各有唯一data.json维护源;原入门、提示词、机器索引、AI引用文件及两个工具说明模板已平铺到.github/根。仅冲突的README.md与AGENTS.md改用集合名区分,其他迁移文件保留原名。通用附件集合与外部资源集合已从当前树移除;FaQi使用的固定外部来源快照保存在faqi/data.json。研究档案只在已有本机副本保留,不进入GitHub当前文件树。 当前1个自有Skill和现有Extensions清单分别在其README,不另建工具注册层;16个官方引用入口已按用户要求移除。 用户点名的chat-vault、my-nvim、codex-config、MCPlayerTransfer、XHS-image-to-PDF-conversion、两个xhs图文HTML、html-tools-main说明及三份独立HTML工具均已从当前树移除;活动入口与位置绑定清理,原始快照/初审/排除保留,历史链接不是安装授权。 Lambda演算已按用户要求加入功法,品级天级上品(现行tian-advanced),总表及首页学习入口列在拼好码之前;冻结原文与既有评级不变,不新增解释器或执行器。

原始数据与来源

Read the full file on GitHub · 110 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. 2d ago Changed · +10 tokens per session 22ae2deef330
  2. 4d ago Changed · +1 lines · +264 tokens per session f35ca9dbce26
  3. 5d ago Changed · +2 lines · +153 tokens per session ba37a844c138
  4. 6d ago Changed · +138 tokens per session dfc7cb5a6fc3
  5. 7d ago Changed · +95 tokens per session 515fc0776d8f
  6. 8d ago Changed · +6 lines · +544 tokens per session c3b71410ba0f
  7. 9d ago Changed · -317 lines · -5,418 tokens per session 8546ab112921
  8. 10d ago Changed · +20 lines · +745 tokens per session 7cee6c8cf322
  9. 13d ago Changed · -46 lines · -519 tokens per session 0de59e1002bf
  10. 14d ago First seen · 444 lines · 7,933 tokens per session scan A 4edbc0121b41

Subscribe to this mod's changes

vibe-coding-cn AGENTS.md is an instructions file published in the GitHub repository tradecatlabs/vibe-coding-cn (17,750 stars, last pushed 2d ago), licensed MIT. It adds 3,945 tokens to every session, about $0.0158 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

Other instructions, from other repositories

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 · 9,715 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,786 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, cache eligibility and rollout and applying the notice (cutover).

microsoft/vscode · 5,262 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,680 tokens

vscode copilot-instructions.md

Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).

microsoft/vscode · 2,731 tokens

deno copilot-instructions.md

Copilot instructions for denoland/deno, covering deno development guide for github copilot, network access, high level overview, key directories and key files to understand first.

denoland/deno · 3,077 tokens