Token导航 LogoToken导航

Agent Skill · 研究检索

brain-memory-system(大脑记忆系统)

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

brain-memory-system 是研究检索类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为接触敏感数据;许可证为 MIT-0,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 16,879。

总安装 6,936周安装 289GitHub Stars 公开资料未说明下载 2,312核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
1.0.1

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install brain-memory-system

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

受大脑结构启发设计的情景-语义-程序记忆架构。分别管理事实、经验与操作流程三类信息。支持记忆衰减与关联激活机制模拟。brain-memory-system 属于研究检索类 Skill,可作为该场景下的辅助能力补充。需定义记忆分类标签与更新频率策略。适用宿主包括 OpenClaw,接入前应确认版本、权限和运行环境要求。

建议设置记忆容量上限防止性能下降。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install brain-memory-system;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

brain-memory-system 怎么安装?

在终端执行 openclaw skills install brain-memory-system。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

brain-memory-system 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

brain-memory-system 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

brain-memory-system 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

brain-memory-system 用的人多吗?

公开数据是累计安装 6,936 次,近一周安装 289 次,下载 2,312 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

brain-memory-system 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。
  • 需要许可证清楚、并且有第三方扫描结果的团队项目。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
brain-memory-system

大脑记忆系统 · 本页

6,936—接触敏感数据MIT-0通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
cognitive-brain
description
Unified cognitive memory system inspired by human brain architecture. Provides episodic memory (hippocampus), semantic facts (neocortex), procedural memory with LLM-driven evolution (cerebellum), attention filtering (thalamus), sleep consolidation, and soul erosion health metrics. Use when storing experiences, recalling memories, managing facts, creating/evolving procedures, filtering incoming information by importance, running memory consolidation, or checking memory health. Replaces separate facts/proc CLIs with a single brain command.

Cognitive Brain

Unified memory system modeled on human brain architecture. One CLI (brain) for all memory operations.

Architecture

SystemBrain RegionWhat it does
EpisodicHippocampusTime-stamped experiences with emotional tags
SemanticNeocortexStructured facts (entity/key/value with FTS5)
ProceduralCerebellumVersioned workflows that evolve from failures
AttentionThalamusScore incoming info → store/summarize/discard
ConsolidationSleep replayBatch-process episodes → extract facts
HealthSoul erosionDetect memory drift, conflicts, flatness

Installation

# 1. Initialize the database
sqlite3 brain.db < scripts/schema.sql

# 2. Link the CLI
ln -sf "$(pwd)/scripts/brain.sh" ~/.local/bin/brain
chmod +x scripts/brain.sh

# 3. (Optional) Migrate existing daily logs
python3 scripts/migrate-daily-logs.py --dir /path/to/memory/ --db brain.db

Environment Variables

VariableDefaultPurpose
BRAIN_DB<skill>/brain.dbPath to brain database
BRAIN_AGENTmargotAgent identity for scoping
BRAIN_FACTS_DBmemory/facts.dbLegacy facts database path
BRAIN_LLM_URLGoogle Gemini endpointOpenAI-compatible chat completions URL
BRAIN_LLM_KEY*(none — must be set)*API key for LLM provider (required for proc evolve)
BRAIN_LLM_MODELgemini-2.5-flashModel name for evolution reasoning

Credentials & Scope

Required for brain proc evolve only:

  • BRAIN_LLM_KEY — Your API key for the LLM provider. Set via env var or brain config set key <value>.
  • No credentials are auto-discovered or read from platform stores.
  • Without a key, proc evolve falls back to local pattern-based evolution (no LLM needed).

Data scope:

  • All data stays in your brain.db file (local SQLite).
  • brain facts reads/writes BRAIN_FACTS_DB (default: facts.db in skill directory).
  • brain wm reads/writes SESSION_STATE (default: SESSION-STATE.md in workspace root).
  • No data is sent externally except LLM API calls during proc evolve.

Quick Reference

Store & Recall

brain store "Fixed the deploy pipeline" --title "Deploy Fix" --emotion relieved --importance 8
brain ingest "Docker OOM at 3 AM" --title "OOM Event" --source mqtt  # attention-gated
brain recall "deploy pipeline" --type all --limit 5
brain episodes 2026-03-15
brain emotions 7
brain important 8 14

Facts (Semantic Memory)

brain facts get Darian favorite_movie
brain facts set Mae birthday "September 12" --category date --permanent
brain facts search "SSH" --limit 5
brain facts list --entity Darian --limit 10
brain facts stats

Procedures (Cerebellum)

brain proc create deploy-api --title "Deploy API" --steps '["Pull latest","Run tests","Deploy"]'
brain proc success deploy-api
brain proc fail deploy-api --step 2 --error "Tests timed out" --fix "Increased timeout to 60s"
brain proc evolve deploy-api           # LLM rewrites steps from failure patterns
brain proc evolve deploy-api --dry-run # preview without applying
brain proc history deploy-api          # full evolution timeline
brain proc list

Attention Filter

brain filter "GPU temperature 72°C" --source mqtt    # → discard (routine)
brain filter "SSH brute force from new IP" --source security  # → store (novel threat)

Consolidation

brain consolidate --dry-run    # preview what would be processed
brain consolidate              # run sleep replay

Health (Soul Erosion Detection)

brain health           # 7-metric scored report
brain health -v        # verbose with all details
brain health --json    # machine-readable for crons

Configuration

brain config show              # current LLM config
brain config set model gpt-4o  # change model
brain config set url http://localhost:11434/v1/chat/completions  # switch to Ollama

Multi-Agent

brain --agent bud store "Patrol complete" --title "Bud Patrol" --importance 3
brain --agent bud proc list   # sees own + shared procedures
brain who                     # show all agents in the system

Procedure Evolution Flow

The core innovation — procedures that rewrite themselves from failure patterns:

  1. Record failures with step-level granularity: brain proc fail <slug> --step N --error "desc"
  2. At 3+ failures, brain suggests evolution
  3. brain proc evolve <slug> analyzes patterns:

- Repeat offender steps (same step failing multiple times) - Brittle chains (consecutive step failures) - Error keyword clustering (timeout, auth, permission, etc.)

  1. LLM synthesizes and rewrites steps — adds pre-checks, reorders, annotates with [vN: reason]
  2. Local fallback if LLM unavailable — pattern-matching inserts defensive steps
  3. Full version history preserved: brain proc history <slug>

Health Metrics

Seven metrics, each scored 1-10:

MetricWhat it detects
Memory FreshnessTime since last recorded episode
Consolidation DebtBacklog of unprocessed episodes
Importance CalibrationEverything rated 8+? Nothing is important
Emotional DiversityFlatlined to one emotion = loss of range
Fact ConsistencyContradictory facts = identity fragmentation
Procedure HealthSuccess rates dropping on learned behaviors
Recording CadenceSilent days creating memory gaps

Schema

Database: SQLite with WAL mode, FTS5 full-text search, foreign keys.

Tables: episodes, episodes_fts, facts, facts_fts, procedures, procedure_history, working_memory, consolidation_log, brain_meta.

Initialize with: sqlite3 brain.db < scripts/schema.sql

Files

FilePurpose
scripts/brain.shMain CLI dispatcher
scripts/schema.sqlDatabase schema
scripts/attention.pyThalamic attention filter (rule-based scoring)
scripts/consolidate.pySleep replay consolidation pipeline
scripts/erosion.pySoul erosion health metrics
scripts/evolve.pyProcedure evolution engine (LLM + local fallback)
scripts/facts.pySemantic fact storage wrapper
scripts/migrate-daily-logs.pyImport existing daily markdown logs

平台分布

OpenClaw

75.56%
按下载量换算1,747

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

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

继续浏览同类 Skills