bambu-studio-ai
Bambu Lab 3D printer control and automation. Activate when user mentions: printer status, 3D printing, slice, analyze model, generate 3D, AMS filament, print monitor, Bambu Lab, or any 3D printing task. Full pi...
Multi Brain Protocol
请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。
SkillHub CLI
skillhub install dannydvm/openclaw-multi-brain打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。
将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。
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.
Multi-Brain is system-enforced via a turn:before hook. No manual steps needed.
When triggered (user types mb as first word), the hook:
Perspectives appear in your context as:
[KIMI K2.5 PERSPECTIVE]
<perspective text>
[CODEX 5.3 PERSPECTIVE]
<perspective text>
mkdir -p hooks/turn-preflight
# Copy HOOK.md and handler.js from this package
echo "your-moonshot-api-key" > .kimi-api-key
npm install -g @openai/codex
codex auth # OAuth login
{
"hooks": {
"internal": {
"enabled": true,
"entries": {
"turn-preflight": { "enabled": true }
}
}
}
}
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) |
| 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 |
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)
[Perspecti...
这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。
Multi-LLM perspective synthesis for OpenClaw agents via hooks.
Give your AI agents cognitive diversity by generating perspectives from multiple LLMs (Kimi K2.5 + GPT 5.3 Codex) before the primary agent responds. Three brains instead of one.
Uses OpenClaw's turn:before hook to intercept every qualifying message and call external LLMs in parallel.
User Message (with "mb" prefix)
|
v
[turn:before hook fires]
|
+---> Kimi K2.5 (Moonshot API, ~5s)
+---> GPT 5.3 Codex (codex exec CLI, ~4s)
| (parallel)
v
[Perspectives injected into system content]
|
v
Claude Opus 4.6 responds with all 3 viewpoints synthesized
System-enforced. No protocol compliance needed. Fail-open.
Multi-brain only fires when triggered. Default mode is keyword-only.
| 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) |
Examples:
mb should we change pricing? -> fires, AIs see "should we change pricing?"need a 500mb upload -> does NOT fire (mb is not first word)hey check this out -> does NOT fire (no keyword)mkdir -p /path/to/workspace/hooks/turn-preflight
---
name: turn-preflight
description: "Multi-Brain: Kimi K2.5 + Codex 5.3 perspectives before every agent turn"
metadata:
openclaw:
emoji: "🧬"
events: ["turn:before"]
handler: "handler.js"
install: [{ id: "workspace", kind: "workspace", label: "Workspace hook" }]
---
Copy hooks/turn-preflight/handler.js from this repo.
echo "your-moonshot-api-key" > /path/to/workspace/.kimi-api-key
npm install -g @openai/codex
codex auth #...
# 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:
1. Calls Kimi K2.5 and GPT 5.3 Codex in parallel
2. Injects their perspectives into your system context
3. You synthesize all viewpoints into your response
4. 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
1. Install the hook:
```bash
mkdir -p hooks/turn-preflight
# Copy HOOK.md and handler.js from this package
```
2. Set Kimi API key:
```bash
echo "your-moonshot-api-key" > .kimi-api-key
```
3. Install Codex CLI:
```bash
npm install -g @openai/codex
codex auth # OAuth login
```
4. Enable in openclaw.json:
```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)
[Perspecti...# 🧬 openclaw-multi-brain
**Multi-LLM perspective synthesis for OpenClaw agents via hooks.**
Give your AI agents cognitive diversity by generating perspectives from multiple LLMs (Kimi K2.5 + GPT 5.3 Codex) before the primary agent responds. Three brains instead of one.
## Architecture
Uses OpenClaw's `turn:before` hook to intercept every qualifying message and call external LLMs in parallel.
```
User Message (with "mb" prefix)
|
v
[turn:before hook fires]
|
+---> Kimi K2.5 (Moonshot API, ~5s)
+---> GPT 5.3 Codex (codex exec CLI, ~4s)
| (parallel)
v
[Perspectives injected into system content]
|
v
Claude Opus 4.6 responds with all 3 viewpoints synthesized
```
**System-enforced. No protocol compliance needed. Fail-open.**
## Trigger System
Multi-brain only fires when triggered. Default mode is **keyword-only**.
| 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) |
**Examples:**
- `mb should we change pricing?` -> fires, AIs see "should we change pricing?"
- `need a 500mb upload` -> does NOT fire (mb is not first word)
- `hey check this out` -> does NOT fire (no keyword)
## Quick Start
### 1. Create hook directory
```bash
mkdir -p /path/to/workspace/hooks/turn-preflight
```
### 2. Add HOOK.md
```yaml
---
name: turn-preflight
description: "Multi-Brain: Kimi K2.5 + Codex 5.3 perspectives before every agent turn"
metadata:
openclaw:
emoji: "🧬"
events: ["turn:before"]
handler: "handler.js"
install: [{ id: "workspace", kind: "workspace", label: "Workspace hook" }]
---
```
### 3. Add handler.js
Copy `hooks/turn-preflight/handler.js` from this repo.
### 4. Set Kimi API key
```bash
echo "your-moonshot-api-key" > /path/to/workspace/.kimi-api-key
```
### 5. Install Codex CLI
```bash
npm install -g @openai/codex
codex auth #...Bambu Lab 3D printer control and automation. Activate when user mentions: printer status, 3D printing, slice, analyze model, generate 3D, AMS filament, print monitor, Bambu Lab, or any 3D printing task. Full pi...
Generative Engine Optimization (GEO) for AI search visibility. Optimize content to appear in ChatGPT, Perplexity, Claude, and Google AI Overviews. Use when optimizing websites, pages, or content for LLM discove...
Local speech-to-text with NVIDIA Parakeet TDT 0.6B v3 (ONNX on CPU). 30x faster than Whisper, 25 languages, auto-detection, OpenAI-compatible API. Use when transcribing audio files, converting speech to text, o...
飞书消息自动处理与进度反馈技能。安装后后台运行,监听飞书任务消息并自动创建独立进程处理。 在处理前后发送实时进度反馈(任务确认、进度百分比、完成通知)。 支持任务类型识别、智能解析、错误重试、并发控制、状态持久化...