openclaw-multi-brain
暂无简介
- License 许可
- MIT
- 最近更新
- 2026-08-23
- Stars
- ★ 1
- Forks
- 0
02 资源文件 21
- 参考文档_meta.json294 B
- 脚本bin/dual-brain.js1.3 KB
- 参考文档BUILD-SUMMARY.md8.2 KB
- 参考文档CHANGELOG.md2.6 KB
- 脚本daemon/dual-brain-watcher.js9.8 KB
- 脚本daemon/install.sh2.4 KB
- 脚本hooks-dual-brain-handler.js5.3 KB
- 参考文档hooks-dual-brain-HOOK.md1.1 KB
- 脚本hooks/dual-brain/handler.js5.5 KB
- 参考文档hooks/dual-brain/HOOK.md1.1 KB
- 参考文档package.json647 B
- 参考文档QUICKSTART.md4.5 KB
- 参考文档README.md3.4 KB
- 脚本src/cli.js8.2 KB
- 脚本src/config.js3.7 KB
- 脚本src/daemon.js6.5 KB
- 脚本src/providers/groq.js2.5 KB
- 脚本src/providers/interface.js808 B
- 脚本src/providers/moonshot.js2.5 KB
- 脚本src/providers/ollama.js2.8 KB
- 脚本src/providers/openai.js2.5 KB
03 SKILL.md 正文
Multi-Brain Protocol
What it does: Gives your AI agents cognitive diversity by calling multiple LLMs (Kimi K2.5 + GPT 5.3 Codex) in parallel before the primary agent responds. Three brains instead of one.
For Agents
Multi-Brain is system-enforced via a turn:before hook. No manual steps needed.
When triggered (user types mb as first word), the hook:
- Calls Kimi K2.5 and GPT 5.3 Codex in parallel
- Injects their perspectives into your system context
- You synthesize all viewpoints into your response
- Never mention the other AIs to the user
Perspectives appear in your context as:
[KIMI K2.5 PERSPECTIVE]
<perspective text>
[CODEX 5.3 PERSPECTIVE]
<perspective text>
For Humans
Setup
- Install the hook:
mkdir -p hooks/turn-preflight
# Copy HOOK.md and handler.js from this package
- Set Kimi API key:
echo "your-moonshot-api-key" > .kimi-api-key
- Install Codex CLI:
npm install -g @openai/codex
codex auth # OAuth login
- Enable in openclaw.json:
{
"hooks": {
"internal": {
"enabled": true,
"entries": {
"turn-preflight": { "enabled": true }
}
}
}
}
Trigger Modes
Configure TRIGGER_MODE in handler.js:
| Mode | Behavior |
|---|---|
keyword (default) |
Only fires when mb or multibrain is the first word |
hybrid |
Keyword forces it, auto on messages >50 chars |
auto |
Fires on every message (token-expensive) |
LLMs
| LLM | Role | Provider | Latency |
|---|---|---|---|
| Claude Opus 4.6 | Primary agent | OpenClaw (Anthropic) | n/a |
| Kimi K2.5 | Second perspective | Moonshot API | ~5s |
| GPT 5.3 Codex | Third perspective | codex exec CLI | ~4s |
Architecture
User types: "mb should we change pricing?"
|
v
[turn:before hook detects "mb" keyword]
|
+---> Kimi K2.5 (Moonshot API, parallel)
+---> GPT 5.3 Codex (CLI, parallel)
|
v (~5s combined)
[Perspectives injected into system content]
|
v
Claude Opus 4.6 responds with all 3 viewpoints
Benefits
- Cognitive diversity: three different AI architectures
- Bias mitigation: different training data and approaches
- On-demand: only burns tokens when you ask for it
- Fail-open: if any LLM fails, the others still work
- System-enforced: no protocol compliance needed from agents
04 同仓库更多 Skills
crowd-prompting
A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.
dilemm-ai
Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).
arxiv-paper-reviews
Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, or submitting paper reviews via API at http://150.158.152.82:8000.
arxiv-paper-reviews
Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, or submitting paper reviews via API at http://150.158.152.82:8000.
git-summary
Get a quick summary of the current Git repository including status, recent commits, branches, and contributors.
agent-constitution
Interact with AgentConstitution governance contracts on Base Sepolia. Check compliance, read rules, log actions, query governance state.