因为对 Superpowers 使用比较顺手,又想要多模型能力,受风佬项目启发,自己改造了一个。

GitHub - BryanHoo/superpowers-ccg: Claude Code superpowers: core skills library
觉得好用请留下你的 Star

Superpowers-CCG 是基于 Superpowers 的增强版本,融合了 ccg-workflow(Claude + Codex + Gemini)多模型协作能力。

快速开始

1. 安装 Superpowers-CCG 插件

Claude Code(通过 Plugin Marketplace)

# 添加 marketplace
/plugin marketplace add BryanHoo/superpowers-ccg

# 安装插件
/plugin install superpowers-ccg@BryanHoo-superpowers-ccg

安装完成后,codeagent-wrapper 会自动配置到 ~/.claude/bin/ 目录,无需手动复制。

2. 配置多模型调用能力(可选但推荐)

不配置全局提示在某些情况下,Claude 默认倾向自己解决

~/.claude/CLAUDE.md 中添加以下内容,让 Claude 知道它拥有这个能力

**⚠️ Important Notice: You Have Multi-Model Invocation Capabilities**

If you are Claude, please note: You can invoke external models (Codex and Gemini) through the `codeagent-wrapper` tool. This is NOT a hypothetical capability - it is a real and available feature.

**Your Capabilities:** - Invoke **Codex** for backend tasks (APIs, databases, algorithms, performance optimization)
- Invoke **Gemini** for frontend tasks (UI, components, styles, interactions)
- Invoke **dual-model cross-validation** for complex full-stack problems

**How to Use:**
Check the `coordinating-multi-model-work` skill for the complete routing decision framework and invocation methods. This skill includes:

- Semantic routing decision process (`routing-decision.md`)
- Invocation templates and integration patterns (`INTEGRATION.md`)
- Collaboration checkpoint logic (`checkpoints.md`)

核心特性

  • Superpowers 方法论 - 完整的软件开发工作流(brainstorming → planning → TDD → code review)
  • 多模型协作 - 自动路由任务到最适合的模型(Codex 后端、Gemini 前端)
  • 交叉验证 - 复杂问题和设计决策时双模型验证

多模型能力

核心模块,提供自动路由和交叉验证能力:

路由机制:

  • 语义分析 - Claude 分析任务描述、文件类型和技术栈,智能判断应该路由到哪个模型
  • 决策因素 - 任务本质(UI / 逻辑 / 数据)、技术领域(前端 / 后端)、复杂度(单一 / 跨域)
  • 路由目标 - Gemini(前端)、Codex(后端)、交叉验证(全栈 / 不确定)、Claude(简单任务)

交叉验证触发:

  • 全栈问题(前后端交互)
  • 高不确定性(多种可能原因)
  • 设计决策(架构选择)
  • 复杂 bug(难以定位)

多模型协作检查点

该框架现在在 8 个关键技能中嵌入了协作检查点:

  • CP1(任务分析) - 任务开始前评估
  • CP2(中期审查) - 在关键决策点调用
  • CP3(质量门) - 完成前审查

这些检查点集成到:

  • brainstorming: CP1(想法分析),CP2(方法探索)
  • writing-plans: CP1(计划开始),CP3(执行交接)
  • executing-plans: CP1/CP2/CP3(每项任务检查点)
  • developing-with-subagents: CP1/CP2/CP3(分派 / 执行 / 审查)
  • practicing-test-driven-development: CP1(RED 阶段),CP3(GREEN 阶段)
  • debugging-systematically: CP1(调查),CP2(假设测试)
  • requesting-code-review: CP3(审查调用)
  • verifying-before-completion: CP3(最终验证)

增强的 Skills

Skill多模型能力
debugging-systematically交叉验证诊断及嵌入检查点
brainstorming多模型设计评估及 CP1/CP2 检查点
writing-plans任务路由标注及 CP1/CP3 检查点
executing-plans自动路由执行及 CP1/CP2/CP3 检查点
developing-with-subagents多模型任务分发及 CP1/CP2/CP3 检查点
requesting-code-review双模型代码审查及 CP3 检查点
practicing-test-driven-development测试生成路由及 CP1/CP3 检查点
verifying-before-completion交叉验证确认及 CP3 检查点

Skills 库

测试

  • practicing-test-driven-development - 精简的 RED-GREEN-REFACTOR 循环,含主动多模型检查点(包含测试反模式参考)

调试

  • debugging-systematically - 精简的 4 阶段根因分析流程,含主动多模型检查点(包含 root-cause-tracing、defense-in-depth、condition-based-waiting 技术)
  • verifying-before-completion - 确保问题真正修复(含 CP3 检查点)

协作

  • brainstorming - 苏格拉底式设计提炼
  • writing-plans - 详细实施计划
  • executing-plans - 分批执行带检查点
  • dispatching-parallel-agents - 并发 subagent 工作流
  • requesting-code-review - 预审查清单
  • receiving-code-review - 响应反馈
  • using-git-worktrees - 并行开发分支
  • finishing-development-branches - 合并 / PR 决策工作流
  • developing-with-subagents - 快速迭代带两阶段审查

多模型

  • coordinating-multi-model-work - 多模型调用核心(路由规则、交叉验证、提示词模板、主动协作检查点)

设计理念

  • 测试驱动开发 - 始终先写测试
  • 系统化优于临时 - 流程优于猜测
  • 降低复杂度 - 简单性是首要目标
  • 证据优于声明 - 验证后再宣布成功
  • 多模型协作 - 专业模型处理专业任务
  • 简化文档 - 遵循 Anthropic 最佳实践,删除 Claude 已知的冗余解释内容
  • 主动协作 - 嵌入自主决策检查点用于多模型协作

📌 转载信息
转载时间:
2026/1/18 15:45:23

标签: Claude, Gemini, Codex, 多模型协作, Superpowers

添加新评论