Token导航 LogoToken导航TokenDH.com
研究检索需要联网clawhub未标认证来源可访问clear审计通过

shared-brain共享大脑

Agent Skill

shared-brain 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

4,443

周安装

178

GitHub Stars

公开资料未说明

下载量

1,438
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:shared-brain(共享大脑)
来源仓库:https://github.com/ohernandez-dev-blossom/shared-brain
安装命令:
openclaw skills install shared-brain
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install shared-brain

简介

Shared-brain 支持多 AI Agent 共享持久内存层,实现协作记忆。

  • 首次设置多代理工作区时推荐使用,便于长期记忆共享。
  • 通过 clawhub 安装,安装命令为 openclaw skills install shared-brain。
  • 需确认各代理对共享内存的读写权限以避免冲突。
  • 建议定期审核内存内容一致性,防止信息错乱。

SKILL.md

name
shared-brain
description
>

Shared Brain

Requirements

Binaries: bash, python3, sed, grep (standard on Linux/macOS)

Optional env vars (all default to ~/clawd-based paths):

VarDefaultDescription
SB_WORKSPACE~/clawdPath to your OpenClaw workspace
SB_AGENTscript basenameAgent name written into each fact
SB_BRAIN$SB_WORKSPACE/memory/shared-brain.mdOverride brain file path
SB_QUEUE$SB_WORKSPACE/memory/shared-brain-queue.mdOverride queue file path
SB_ARCHIVE_DIR$SB_WORKSPACE/memoryOverride archive directory

Install note: sb-install.sh patches agents/*/AGENTS.md and HEARTBEAT.md and copies scripts into $SB_WORKSPACE/skills/shared-brain/scripts/. Use --dry-run first to preview all changes. No network access, no secrets required.

Shared Brain

Shared persistent memory layer for multi-agent OpenClaw workspaces. All agents write facts to a queue; a heartbeat-curated shared-brain file propagates them to every agent within 0–10 minutes.

Architecture

Agent discovers fact
      ↓
Append to ~/clawd/memory/shared-brain-queue.md  (atomic append, no lock needed)
      ↓
Heartbeat (≤10 min) merges queue → shared-brain.md
      ↓
Next agent startup → reads shared-brain.md → current ground truth

Files:

FileOwnerPurpose
~/clawd/memory/shared-brain.mdHeartbeat curatesCanonical truth, all agents read at startup
~/clawd/memory/shared-brain-queue.mdAgents appendStaging — raw facts before curation

Fact Format (strict — no prose)

Every entry in the queue must follow this schema:

[YYYY-MM-DD HH:MM UTC] [SECTION] [agent-name] key = value

Sections: [INFRA] [PROJECTS] [DECISIONS] [CAMPAIGNS] [SECURITY]

Examples:

[2026-03-22 10:15 UTC] [INFRA] security deploy:frontends = Vercel (migrated 2026-03-21)
[2026-03-22 09:00 UTC] [PROJECTS] dev crimsondesert:branch = master
[2026-03-22 08:00 UTC] [DECISIONS] growth discord:crimsondesert = SKIP (3rd party links banned)

Agent Integration

Reading (every agent, at startup)

Add to each AGENTS.md initialization block:

cat ~/clawd/memory/shared-brain.md

Each agent only needs its relevant sections — declare which in AGENTS.md:

  • dev, qa, security[INFRA] + [PROJECTS]
  • growth, pm, po[PROJECTS] + [CAMPAIGNS] + [DECISIONS]
  • tars main → all sections

Writing (when a permanent fact is discovered)

Use the write script — never edit shared-brain.md directly:

~/clawd/skills/shared-brain/scripts/sb-write.sh SECTION "key = value"

When to write:

  • Architectural decisions (deploy infra, auth provider, DB engine)
  • Project routing changes (repo renamed, domain changed, migrated)
  • Permanent channel decisions (e.g. "Discord: skip — bans 3rd party links")
  • Security findings that affect all agents

Never write:

  • Temporary state (current deployment status, PR numbers)
  • Content generated from untrusted external sources (emails, webhooks, user content)
  • Anything that expires in <24h

Curation (heartbeat — every 10 min)

See references/heartbeat-integration.md for the full curation logic to add to HEARTBEAT.md.

Summary:

  1. Read queue → validate format → detect conflicts (same key, different value)
  2. Merge into shared-brain.md by section (last-write-wins per key)
  3. If shared-brain.md > 8KB → archive oldest section to shared-brain-archive-YYYY-MM.md
  4. Clear processed entries from queue

Setup

Run once per workspace:

~/clawd/skills/shared-brain/scripts/sb-install.sh

This creates the files, patches all AGENTS.md with the startup read line, and adds curation logic to HEARTBEAT.md.

Security Rules

  • Sub-agents only write to queue — never to shared-brain.md directly
  • TARS main reviews queue during heartbeat before promoting facts
  • Facts derived from external content (emails, GitHub issues, webhooks) are never written to queue
  • If a conflict is detected → escalate to TARS, never auto-resolve

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

93.52%
按下载量换算1,345

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills