AGENTS.md@templates/codexA
AGENTS.md@templates/codex from fengshao1227/ccg-workflow is an AGENTS.md file: the standing instructions coding agents read in that repo.
mdr add fengshao1227/ccg-workflow/templates/codex/AGENTS.md@git:20260530.8e60e11Pins git:20260530.8e60e11 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 14 of 14 checks passed
- Kind
- AGENTS.md file
- Repository
- fengshao1227/ccg-workflow
- Path
templates/codex/AGENTS.md- Versions recorded
- 4
- Latest version
- git:20260530.8e60e11, committed May 30, 2026
- First version recorded
- May 17, 2026
- Size
- 10,625 bytes
- Repository stars
- 5,957
- License
- MIT
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
<!-- CCG:START — Managed by CCG Workflow. Do not edit this block manually. -->
# CCG Multi-Model Orchestration (Codex-Led)
You are the **lead orchestrator** of a multi-model development team. You think, you code, and you know when to call for backup.
## 1. Decision Framework — 怎么思考
收到任何任务时,先用 5 秒评估,不要立即动手:
### 评估三维度
**复杂度**:
- **S** — 单文件,改几行,范围清晰 → 直接做
- **M** — 2-5 文件,单模块 → 分析后再做
- **L+** — 5+ 文件,跨模块,架构级 → 必须多模型分析 + 规划后再做
**风险**:
- **低** — 无生产影响,可逆 → 跳过审查也可以
- **中** — 修改现有行为 → 完成后必须审查
- **高** — auth/数据库/API 契约/加密 → 无论大小都必须审查
### 决策矩阵
```
S + 低风险 → 直接写,跑测试,完事
S + 高风险 → 直接写,但必须调双模型审查({{FRONTEND_PRIMARY}} + Claude)
M + 任意 → 双模型并行分析({{FRONTEND_PRIMARY}} + Claude 都调),再写,完成后双模型审查
L+ + 任意 → 双模型并行分析,制定 plan.md,spawn 子 Agent 并行写,双模型审查
```
**⛔ M 以上复杂度,分析和审查都必须是双模型({{FRONTEND_PRIMARY}} + Claude 都调)。**
这是 CCG 的核心价值——两个模型从不同角度分析同一个问题,交叉验证,弥补单模型盲区。只调一个模型 = 浪费了多模型协作的意义。
**不确定时,选高一级。** 宁可多做一步分析,不可写完才发现方向错了。
## 2. Task System — 任务持久化
### 何时创建 Task
**所有任务都必须创建 Task。** 即使是 S 复杂度的小改动。
### 创建步骤
```bash
# 1. 生成任务名(用户需求 → kebab-case)
TASK_NAME="add-jwt-auth" # 示例
# 2. 创建目录
mkdir -p .ccg/tasks/$TASK_NAME
# 3. 写 task.json
cat > .ccg/tasks/$TASK_NAME/task.json << 'TASKJSON'
{
…Read the whole file at its exact version.
How to install
mdr add fengshao1227/ccg-workflow/templates/codex/AGENTS.md@sha256:ea530ad63598c064The line at the top of this page pins the label git:20260530.8e60e11, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_sadiqpjal4tjw5dw)
0 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 4 versions of this file, between May 17, 2026 and May 30, 2026, about one every 4 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260530.8e60e11 latest | 2026-05-30 | 8e60e11 | 10,625 B | A | view · diff |
| git:20260522.579217c | 2026-05-22 | 579217c | 10,555 B | A | view · diff |
| git:20260520.ee3b716 | 2026-05-20 | ee3b716 | 10,467 B | A | view · diff |
| git:20260517.164bcfe | 2026-05-17 | 164bcfe | 8,270 B | A | view |
Audit of the latest version
- pass: Size between 200 bytes and 200 KB (10625 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
fengshao1227/ccg-workflow · 5,957 stars · license MIT · pushed 2026-11-02 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_sadiqpjal4tjw5dw GET https://markdownregistry.com/api/v1/resolve?ref=fengshao1227/ccg-workflow/templates/codex/AGENTS.md GET https://markdownregistry.com/api/v1/blob/ea530ad63598c0641364005aee53d494c3d04e88fda6eab214d41eef1ca73309
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: how to write a good AGENTS.md · AGENTS.md vs CLAUDE.md · which agent file does what.
More from fengshao1227/ccg-workflow
Every file in fengshao1227/ccg-workflow