Multi-Brain Protocol

# Multi-Brain Protocol

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "Multi-Brain Protocol" with this command: npx skills add dannydvm/openclaw-multi-brain

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:
mkdir -p hooks/turn-preflight
# Copy HOOK.md and handler.js from this package
  1. Set Kimi API key:
echo "your-moonshot-api-key" > .kimi-api-key
  1. Install Codex CLI:
npm install -g @openai/codex
codex auth   # OAuth login
  1. Enable in openclaw.json:
{
  "hooks": {
    "internal": {
      "enabled": true,
      "entries": {
        "turn-preflight": { "enabled": true }
      }
    }
  }
}

Trigger Modes

Configure TRIGGER_MODE in handler.js:

ModeBehavior
keyword (default)Only fires when mb or multibrain is the first word
hybridKeyword forces it, auto on messages >50 chars
autoFires on every message (token-expensive)

LLMs

LLMRoleProviderLatency
Claude Opus 4.6Primary agentOpenClaw (Anthropic)n/a
Kimi K2.5Second perspectiveMoonshot API~5s
GPT 5.3 CodexThird perspectivecodex 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

Source: https://github.com/Dannydvm/openclaw-multi-brain

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

miaoda-app-chat-sync

Convert Git repository code to structured JSON instructions for AI agents. Fetches code from Git repositories (GitHub, GitLab, etc.), generates structured JS...

Registry SourceRecently Updated
Coding

Golang Modernize

Continuously modernize Golang code to use the latest language features, standard library improvements, and idiomatic patterns. Use this skill whenever writin...

Registry SourceRecently Updated
2040samber
Coding

Reliable Tool Context

Build reliable tool context from command output using artifacts and compact reproducible code queries.

Registry SourceRecently Updated
Coding

qwencloud-text

[QwenCloud] Generate text, have conversations, write code, reason, and call functions with Qwen models. TRIGGER when: user asks to chat with Qwen, generate t...

Registry SourceRecently Updated