ccg-workflow

A collaboration workflow that divides coding and document work among Coder, Codex, and Gemini roles. Coder makes changes, Codex reviews them, and Gemini provides additional advice when needed.

In plain words
What is it for?
Use it to plan code or document changes, delegate implementation, review results, consult on difficult designs, and coordinate work in separate modules.
Why use it?
It gives each task a clear owner and adds review checkpoints, reducing confusion and catching problems before work is accepted.

Skill for Claude CodeCodex

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 skills/fredericmn/coder-codex-gemini/ccg-workflow
Any agent
npx skills add FredericMN/Coder-Codex-Gemini --skill ccg-workflow
Clone the repo
git clone --depth 1 https://github.com/FredericMN/Coder-Codex-Gemini

Made for: Claude Code, Codex.

Per session 68 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 685 The whole file, excluding the scripts and references it only reads on demand.
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.00068 $0.00685
Opus 5 $0.00034 $0.00342
Sonnet 5 $0.00014 $0.00137
Haiku 4.5 $0.00007 $0.00068

Measured 2d ago against content hash 53388656be79, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

ccg-workflow 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.

skills/ccg-workflow/SKILL.md · 66 lines

What it actually says

CCG 协作流程

角色分工

  • Claude:架构师 + 验收者 + 最终决策者
  • Coder:执行者(代码/文档改动)
  • Codex:审核者 + 高级代码顾问
  • Gemini:高阶顾问(按需) → 详见 /gemini-collaboration

任务拆分原则(分发给 Coder)

⚠️ 一次调用,一个目标。禁止向 Coder 堆砌多个不相关需求。

  • 精准 Prompt:目标明确、上下文充分、验收标准清晰
  • 按模块拆分:相关改动可合并,独立模块分开
  • 阶段性 Review:每模块 Claude 验收,里程碑后 Codex 审核

核心流程

1. 执行:Coder 处理所有改动

所有代码、文档等内容改动任务,直接委托 Coder 执行

调用前(复杂任务推荐):

  • 搜索受影响的文件/符号
  • 在 PROMPT 中列出修改清单
  • 复杂问题可先与 Codex 沟通:架构设计或复杂方案可先咨询后再委托 Coder 执行

2. 验收:Claude 快速检查

Coder 执行完毕后,Claude 快速读取验收:

  • 无误 → 继续下一任务
  • 有误 → Claude 自行修复

3. 审核:Codex 阶段性 Review

阶段性开发完成后,调用 Codex review:

  • 检查代码质量、潜在 Bug
  • 结论:✅ 通过 / ⚠️ 优化 / ❌ 修改

工具参考

工具 用途 sandbox 重试
Coder 执行改动 workspace-write 默认不重试
Codex 代码审核 read-only 默认 1 次
Gemini 顾问/执行 workspace-write (yolo) 默认 1 次

💡 Gemini 详细指南:如需了解 Gemini 的具体调用方式和触发场景,请执行 /gemini-collaboration 技能。

会话复用:保存 SESSION_ID 保持上下文。

独立决策

Coder/Codex/Gemini 的意见仅供参考。你(Claude)是最终决策者,需批判性思考,做出最优决策。

详细参数:coder-guide.md | codex-guide.md

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 First seen · 66 lines · 68 tokens per session scan A 53388656be79

Subscribe to this mod's changes

ccg-workflow is a skill published in the GitHub repository FredericMN/Coder-Codex-Gemini (180 stars, last pushed 7mo ago), licensed MIT. It adds 68 tokens to every session and 685 once invoked, about $0.0003 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.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.

obra/superpowers · 37 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

agent-host-chat-contributions

Build and review cross-cutting agent-host chat behavior through lifecycle contributions. Use when adding turn lifecycle side effects, prompt or context injection, restored-history transformation, protocol-action observation, or when reviewing changes that add code to AgentSideEffects or AgentService.

microsoft/vscode · 56 tokens

auto-perf-optimize

Run agent-driven VS Code performance or memory investigations. Use when asked to launch Code OSS, automate a VS Code scenario, run the Chat memory smoke runner, capture renderer heap snapshots, take workflow screenshots, compare run summaries, or drive a repeatable scenario before heap-snapshot analysis.

microsoft/vscode · 62 tokens