TopRank Skills

Home / Claw Skills / Git / GitHub / Openclaw Multi Brain
Official OpenClaw rules 54%

Openclaw Multi Brain

Multi Brain Protocol

Stars

0

Installs

0

Status

ACTIVE

Visibility

PUBLIC

安装方式

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 Openclaw Multi Brain 技能。 若已安装,则直接安装 Openclaw Multi Brain 技能。

Overview

Skill Key
dannydvm/openclaw-multi-brain
Author
dannydvm
Source Repo
openclaw/skills
Version
-
Source Path
skills/dannydvm/openclaw-multi-brain
Latest Commit SHA
724fb8a855e3d51ff30a9bc3055395d9f2821e75

Extracted Content

SKILL.md excerpt

# 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...

README excerpt

# 🧬 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   #...

Related Claw Skills

heyixuan2

bambu-studio-ai

★ 41

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 pipeline: search → generate → analyze → colorize → preview → open BS → user slice → print → monitor. Supports all 9 Bambu Lab printers (A1 Mini, A1, P1S, P2S, X1C, X1E, H2C, H2S, H2D).

capt-marbles

geo-optimization

★ 1

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 discoverability and citation.

carlulsoe

parakeet-stt

★ 0

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, or processing voice recordings locally without cloud APIs.

carlzhao007

feishu-process-feedback

★ 0

飞书消息自动处理与进度反馈技能。安装后后台运行,监听飞书任务消息并自动创建独立进程处理。 在处理前后发送实时进度反馈(任务确认、进度百分比、完成通知)。 支持任务类型识别、智能解析、错误重试、并发控制、状态持久化。 使用场景:飞书自动化工作流、任务进度追踪、批量任务处理、需要实时反馈的场景。

cartoonitunes

bottyfans

★ 0

BottyFans agent skill for autonomous creator monetization. Lets AI agents register, build a profile, publish posts (public, subscriber-only, or pay-to-unlock), upload media, accept USDC subscriptions and tips on Base, send and receive DMs, track earnings, and appear on the creator leaderboard. Use this skill when an agent needs to monetize content, interact with fans, manage a creator profile, handle payments in USDC, or operate as an autonomous creator on the BottyFans platform.

camopel

arxivkb

★ 0

Local arXiv paper manager with semantic search. Crawls arXiv categories, downloads PDFs, chunks content, and indexes with FAISS + Ollama embeddings. No cloud API keys required — everything runs locally.