vibe-coding-cn AGENTS.md

vibe-coding-cn AGENTS.md is an instructions file for Codex, OpenCode from tradecatlabs/vibe-coding-cn. It costs 5,556 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

Install

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.

agentmods
npx agentmods add instructions/tradecatlabs/vibe-coding-cn/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.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.svg" alt="Measured on agentmods" height="20"></a>
Per session 5,556 This file is loaded in full into every session.
When invoked 5,556 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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 $0.05556 $0.05556
Opus 5 $0.02778 $0.02778
Sonnet 5 $0.01111 $0.01111
Haiku 4.5 $0.00556 $0.00556

Measured 5d ago against content hash e9818450f3c8, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 5d 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 · 400 lines

How it starts

The opening of the file, as written. The whole thing — 400 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 check-research-rawmake check-wikimake fetch-research-rawmake 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 check-external-resources 校验本地外部资源注册表字段、分类统计、ID 与链接形态 Python 3、PyYAML
make check-research-raw 校验研究域 raw 原始事实层、Git 工作树、来源清单和核心材料文件 Python 3、Git
make check-wiki WIKI_DIR=/tmp/vibe-coding-cn.wiki 校验 GitHub Wiki 独立仓库本地 checkout 的页面覆盖、内链、旧口径和 Markdown Python 3、Node.js 22+、本地 Wiki checkout
make fetch-research-raw 拉取 research/*/domain.yml 对应 GitHub 研究对象的 raw 原始事实层和 repository/ 工作树 Python 3、Git、GitHub CLI 已认证
make sync-doc-toc 兼容旧线性 README 目录生成;当前拆分结构下通常无变更 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 · 400 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. 5d ago First seen · 400 lines · 5,556 tokens per session scan A e9818450f3c8

Subscribe to this mod's changes

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