返回顶部
t

three-minds三心协作

三个能干活的 AI 分身协作系统。用 Claude Code 启动三个不同人设的 coding agent,共享同一个工作目录,多轮协作直到达成共识。适用于代码审查、方案评审、重构任务等需要多视角协作的场景。

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 0.1.0
安全检测
已通过
1,834
下载量
免费
免费
4
收藏
概述
安装方式
版本历史

three-minds

Three Minds - 三个臭皮匠顶个诸葛亮

真正能干活的多Agent协作系统。不是纸上谈兵,而是真的能读文件、改代码、跑测试。

核心特性

  • - 🔧 真正执行 - 每个agent都能读取文件、编写代码、运行测试
  • 👥 多视角协作 - 三个不同人设的agent互相审核
  • 共识机制 - 全员YES才结束,确保质量
  • 📁 共享目录 - 在同一个项目上协作
  • 📝 完整记录 - 自动保存讨论和改动历史

使用方法

bash

基础用法


three-minds 审查并改进这个项目的代码质量 --dir ./my-project

使用代码审查配置(安全+性能+质量三人组)

three-minds 审查 src/ 目录的所有代码 --config code-review --dir ./project

指定最大轮数

three-minds 重构这个模块 --dir ./module --max-rounds 5

保存结果到 JSON

three-minds 任务描述 --dir ./project --output result.json

触发词

  • - 三个臭皮匠
  • three minds
  • 多agent协作
  • 让三个agent一起审查
  • 协作完成这个任务

预设配置

默认配置 - 代码协作三人组

  • - 🏗️ 架构师 - 关注代码结构、设计模式、可扩展性
  • ⚙️ 工程师 - 关注代码质量、错误处理、性能优化
  • 🔍 审核员 - 关注代码规范、潜在bug、文档完整性

code-review - 代码审查三人组

  • - 🛡️ 安全专家 - 关注安全漏洞、注入风险、权限问题
  • 性能工程师 - 关注算法复杂度、内存使用、查询优化
  • 质量审查员 - 关注可读性、命名规范、测试覆盖

自定义配置

创建JSON配置文件:

json
{
name: 我的三人组,
agents: [
{
name: 专家A,
emoji: 🎯,
persona: 你是一位...关注...
},
{
name: 专家B,
emoji: 🔬,
persona: 你是一位...擅长...
},
{
name: 专家C,
emoji: 📊,
persona: 你是一位...负责...
}
],
maxRounds: 10,
projectDir: .
}

然后:three-minds 任务 --config ./my-config.json

工作流程

┌──────────────────────────────────────────┐
│ 第 N 轮 │
├──────────────────────────────────────────┤
│ 🏗️ 架构师 │
│ → 读取文件,审查结构 │
│ → 执行必要的重构 │
│ → 投票 [CONSENSUS: YES/NO] │
├──────────────────────────────────────────┤
│ ⚙️ 工程师 │
│ → 审查架构师的改动 │
│ → 补充实现细节,修复问题 │
│ → 投票 [CONSENSUS: YES/NO] │
├──────────────────────────────────────────┤
│ 🔍 审核员 │
│ → 审查所有改动 │
│ → 检查规范、bug、文档 │
│ → 投票 [CONSENSUS: YES/NO] │
└──────────────────────────────────────────┘

全员YES?→ 结束
↓ NO
继续下一轮...

输出

  1. 1. 终端实时输出 - 每个agent的工作进展和投票
  2. Markdown记录 - 自动保存在工作目录 three-minds-{timestamp}.md
  3. JSON结果 - 使用 --output 保存完整session数据

使用场景

  • - 代码审查 - 多角度审查PR或代码变更
  • 重构任务 - 协作完成复杂的代码重构
  • 新功能开发 - 从设计到实现的完整协作
  • Bug修复 - 定位问题并验证修复
  • 文档完善 - 补充和改进项目文档

注意事项

  • - 需要安装Claude Code CLI(claude 命令)
  • 每个agent会真的修改文件,建议在git分支上使用
  • 默认最大15轮,可通过 --max-rounds 调整
  • 如果长时间无法达成共识,检查任务描述是否清晰

依赖

  • - Node.js 18+
  • Claude Code CLI(claude 命令可用)

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 three-minds-1776372191 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 three-minds-1776372191 技能

通过命令行安装

skillhub install three-minds-1776372191

下载

⬇ 下载 three-minds v0.1.0(免费)

文件大小: 15.35 KB | 发布时间: 2026-4-17 15:18

v0.1.0 最新 2026-4-17 15:18
Three-minds 2.0.0 introduces a robust multi-agent coding collaboration framework.

- Leverages Claude Code to run three distinct coding agents with different personas on the same project directory
- Enables multi-round collaboration and review cycles until all agents reach consensus
- Adds built-in configurations for architecture, engineering, security, performance, and quality review roles
- Supports custom agent configuration, adjustable rounds, and multiple output formats (Markdown/JSON)
- Provides detailed usage examples and workflow documentation for code review, refactoring, and documentation tasks

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部