Automatically generates and saves alternative perspectives from a secondary LLM for every user message to enhance reasoning and response quality.
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install dual-brain或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install dual-brain⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/dual-brain/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
What it does: Provides cognitive diversity by automatically generating perspectives from a secondary LLM (different from your primary model) for every user message.
Before responding to any user message, check for a dual-brain perspective:
cat ~/.dual-brain/perspectives/{your-agent-id}-latest.md
If the file exists and contains a recent perspective (check timestamp in comment), consider it alongside your own reasoning. The perspective may highlight:
Integration:
Example workflow:
~/.dual-brain/perspectives/{agent-id}-latest.mdSetup:
npm install -g openclaw-dual-brain
dual-brain setup # Interactive configuration
dual-brain start # Start daemon
Providers:
ollama - Local models (zero cost, requires Ollama)moonshot - Kimi/Moonshot API (Chinese LLM, fast)openai - GPT-4o, GPT-4-turbo, etc.groq - Fast inference with Llama modelsCommands:
dual-brain setup - Configure provider, model, API keydual-brain start - Run daemon (foreground)dual-brain stop - Stop daemondual-brain status - Check running statusdual-brain logs - View recent activitydual-brain install-daemon - Install as system serviceConfig location: ~/.dual-brain/config.json
Perspectives location: ~/.dual-brain/perspectives/
User Message → OpenClaw Session (JSONL)
↓
Dual-Brain Daemon (polling)
↓
Secondary LLM Provider
(ollama/moonshot/openai/groq)
↓
Perspective Generated (2-3 sentences)
↓
~/.dual-brain/perspectives/{agent}-latest.md
↓
Primary Agent reads & synthesizes
↓
Response to User
If Engram (semantic memory) is running on localhost:3400, perspectives are also stored as memories for long-term recall.
---
Source:
安装 Dual-Brain 后,可以对 AI 说这些话来触发它
Help me get started with Dual-Brain
Explains what Dual-Brain does, walks through the setup, and runs a quick demo based on your current project
Use Dual-Brain to automatically generates and saves alternative perspectives from a s...
Invokes Dual-Brain with the right parameters and returns the result directly in the conversation
What can I do with Dual-Brain in my marketing & growth workflow?
Lists the top use cases for Dual-Brain, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/dual-brain/ 目录(个人级,所有项目可用),或 .claude/skills/dual-brain/(项目级)。重启 AI 客户端后,用 /dual-brain 主动调用,或让 AI 根据上下文自动发现并使用。
Dual-Brain 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Dual-Brain 可免费安装使用。请查阅仓库了解许可证信息。
Automatically generates and saves alternative perspectives from a secondary LLM for every user message to enhance reasoning and response quality.
Dual-Brain 属于「Marketing & Growth」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my marketing & growth tasks using Dual-Brain
Identifies repetitive steps in your workflow and sets up Dual-Brain to handle them automatically