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.

Install it, pinned
mdr add fengshao1227/ccg-workflow/templates/codex/AGENTS.md@git:20260530.8e60e11

Pins 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

The exact contents, by fingerprint
mdr add fengshao1227/ccg-workflow/templates/codex/AGENTS.md@sha256:ea530ad63598c064

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

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_sadiqpjal4tjw5dw.svg)](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.

versioncommittedcommitsizeaudit
git:20260530.8e60e11 latest2026-05-30 8e60e11 10,625 BA view · diff
git:20260522.579217c2026-05-22 579217c 10,555 BA view · diff
git:20260520.ee3b7162026-05-20 ee3b716 10,467 BA view · diff
git:20260517.164bcfe2026-05-17 164bcfe 8,270 BA view

Audit of the latest version

A  14 of 14 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • 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

GitHub

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

openspec-apply-change SKILL.md skill
fengshao1227/ccg-workflow · .agents/skills/openspec-apply-change/SKILL.md · Implement tasks from an OpenSpec change. Use when the user wants to start implementing, continue implementation, or…
v1.0 · audit A · 5,957 stars
openspec-archive-change SKILL.md skill
fengshao1227/ccg-workflow · .agents/skills/openspec-archive-change/SKILL.md · Archive a completed change in the experimental workflow. Use when the user wants to finalize and archive a change after…
v1.0 · audit A · 5,957 stars
openspec-bulk-archive-change SKILL.md skill
fengshao1227/ccg-workflow · .agents/skills/openspec-bulk-archive-change/SKILL.md · Archive multiple completed changes at once. Use when archiving several parallel changes.
v1.0 · audit A · 5,957 stars
openspec-continue-change SKILL.md skill
fengshao1227/ccg-workflow · .agents/skills/openspec-continue-change/SKILL.md · Continue working on an OpenSpec change by creating the next artifact. Use when the user wants to progress their change…
v1.0 · audit A · 5,957 stars
openspec-explore SKILL.md skill
fengshao1227/ccg-workflow · .agents/skills/openspec-explore/SKILL.md · Enter explore mode - a thinking partner for exploring ideas, investigating problems, and clarifying requirements. Use…
v1.0 · audit A · 5,957 stars
openspec-ff-change SKILL.md skill
fengshao1227/ccg-workflow · .agents/skills/openspec-ff-change/SKILL.md · Fast-forward through OpenSpec artifact creation. Use when the user wants to quickly create all artifacts needed for…
v1.0 · audit A · 5,957 stars
openspec-new-change SKILL.md skill
fengshao1227/ccg-workflow · .agents/skills/openspec-new-change/SKILL.md · Start a new OpenSpec change using the experimental artifact workflow. Use when the user wants to create a new feature…
v1.0 · audit A · 5,957 stars
openspec-onboard SKILL.md skill
fengshao1227/ccg-workflow · .agents/skills/openspec-onboard/SKILL.md · Guided onboarding for OpenSpec - walk through a complete workflow cycle with narration and real codebase work.
v1.0 · audit A · 5,957 stars
openspec-sync-specs SKILL.md skill
fengshao1227/ccg-workflow · .agents/skills/openspec-sync-specs/SKILL.md · Sync delta specs from a change to main specs. Use when the user wants to update main specs with changes from a delta…
v1.0 · audit A · 5,957 stars
openspec-verify-change SKILL.md skill
fengshao1227/ccg-workflow · .agents/skills/openspec-verify-change/SKILL.md · Verify implementation matches change artifacts. Use when the user wants to validate that implementation is complete…
v1.0 · audit A · 5,957 stars
CLAUDE.md CLAUDE.md file
fengshao1227/ccg-workflow · CLAUDE.md
git:20261102.2f12cc5 · audit A · 5,957 stars
CLAUDE.md@codeagent-wrapper CLAUDE.md file
fengshao1227/ccg-workflow · codeagent-wrapper/CLAUDE.md
git:20261102.2f12cc5 · audit A · 5,957 stars

Every file in fengshao1227/ccg-workflow

Other files named AGENTS.md@templates/codex

AGENTS.md@templates/codex AGENTS.md file
bovinphang/frontend-craft · templates/codex/AGENTS.md
git:20260611.9d7f5e4 · audit A · 22 stars
AGENTS.md@templates/codex AGENTS.md file
ucsahinn/agentchef · templates/codex/AGENTS.md
git:20261019.77261b3 · audit A · 6 stars

Browse by kind, by grade A, or by owner.