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.
npx agentmods add skills/fredericmn/coder-codex-gemini/ccg-workflownpx skills add FredericMN/Coder-Codex-Gemini --skill ccg-workflowgit clone --depth 1 https://github.com/FredericMN/Coder-Codex-GeminiWhat 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.
| Model | Per session | Once 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 |
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.
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
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.
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.
- 2d ago First seen · 66 lines · 68 tokens per session scan A 53388656be79
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.
Other skills, from other repositories
systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.
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.
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.
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…
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.
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.