Token导航 LogoToken导航

Agent Skill · 研究检索

2nd-brain(第二大脑)

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

2nd-brain 是研究检索类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为需要联网;许可证为 MIT-0,第三方扫描有提醒项,按安装量在研究检索类的 73,675 个 Skill 里排第 2,918。

总安装 52,144周安装 2,217GitHub Stars 1下载 18,268核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install 2nd-brain

这个 Skill 是做什么的

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

个人知识库捕获与检索系统。2nd-brain 属于研究检索类 Skill,可作为该场景下的辅助能力补充。支持人员、地点、技术等多类信息归档。适用于快速查找过往笔记和创意灵感。需确认本地存储路径与同步机制。建议定期备份以防数据丢失。适用宿主包括 OpenClaw,接入前应确认版本、权限和运行环境要求。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

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

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

2nd-brain 怎么安装?

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

2nd-brain 支持哪些 AI 工具?

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

2nd-brain 需要什么权限?

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

2nd-brain 是免费的吗?

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

2nd-brain 用的人多吗?

公开数据是累计安装 52,144 次,近一周安装 2,217 次,下载 18,268 次,GitHub 1 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

2nd-brain 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

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

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。

先想清楚的地方

  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 需要厂商级技术支持和 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调用外部服务未明确有提醒
2nd-brain

第二大脑 · 本页

52,1441需要联网MIT-0有提醒

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

SKILL.md 原文

name
brain
version
1.3.0
description
|
setup
|
Optional
For richer BM25 + vector + reranking search, enable the QMD backend:
paths
[{ name: "brain", path: "~/.openclaw/workspace/brain", pattern: "**/*.md" }]
permissions
paths
write
true
attachments
true

Brain Skill — 2nd Brain Knowledge Base

A personal knowledge management system for capturing and retrieving information about people, places, things, and ideas.

When to Use This Skill

Brain takes precedence over daily logs for named entities.

Trigger this skill when:

  • User asks you to remember someone, something, or somewhere
  • User shares information about a person, place, game, tech, event, media, idea, or organization
  • User expresses a preference about an entity ("I like X at Y restaurant" → update Y's file)
  • User asks about something that might be in the brain ("Who was that guy from...", "What did I think about...")
  • User updates existing knowledge ("Actually, he's 27 now", "I finished that game")

Keywords that trigger: "remember", "note that", "met this person", "visited", "played", "watched", "read", "idea:", "what do I know about", "who is", "where was"

⚠️ Do NOT put brain-eligible content in daily logs. If it's a named entity (person, place, restaurant, product, game, etc.), it belongs in brain/, not memory/YYYY-MM-DD.md. Daily logs are for session context and ephemeral notes only.

🚨 MEDIA FILES MUST BE SAVED. When user sends photos/audio/video/PDFs about a brain entry, you MUST save the actual file to attachments/. Transcribing content is NOT the same as saving the file. Do BOTH.

Data Location

All brain data lives in: ~/.openclaw/workspace/brain/

brain/
  people/       # Contacts, people you've met
  places/       # Restaurants, landmarks, venues
  games/        # Video games and interactions
  tech/         # Devices, products, specs, gotchas
  events/       # Conferences, meetups, gatherings
  media/        # Books, shows, films, podcasts
  ideas/        # Business ideas, concepts, thoughts
  orgs/         # Companies, communities, groups

Search & Retrieval

This skill uses OpenClaw's built-in memory_search and memory_get tools, which work out of the box with any configured memory backend.

Searching

Use memory_search for all brain lookups:

memory_search("Raven Duran")              # find a person
memory_search("Mamou Prime restaurant")   # find a place
memory_search("what games has Raven played") # natural language

memory_search works transparently whether the backend is the built-in SQLite indexer or QMD. No direct CLI calls needed.

Reading a File

Use memory_get to read a specific brain file once you know its path:

memory_get("brain/people/raven-duran.md")
memory_get("brain/places/mamou-prime-sm-podium/mamou-prime-sm-podium.md")

Direct CLI (Optional / Advanced Only)

Only use the qmd CLI directly when searching a non-workspace collection (e.g., the skills collection). For all brain lookups, use memory_search.

# Only for skills collection or non-workspace paths:
export PATH="$HOME/.bun/bin:$PATH"
qmd search "keyword" -c skills

Operational Rules

Creating a New Entry

  1. Search first — Run memory_search("<name or topic>") to check for existing entries
  2. No match — Create new file using the appropriate template from skills/brain/templates/
  3. Possible clash — List all potential matches and ask user to confirm before creating

Updating an Existing Entry

  1. Find the file — Use memory_search or direct path if known
  2. Surgical edit — Update only the relevant section, don't rewrite the whole file
  3. Log the date — Add timestamp to Notes or Interactions section
  4. Update frontmatter — Bump last_updated field

Searching / Retrieving

  1. Query memory_search — memory_search("<natural language question>") for semantic search
  2. Ambiguous results — Surface all candidates to user, ask which one
  3. No results — Tell user nothing found, offer to create entry

Disambiguation Protocol

When user references something ambiguous (e.g., "John"):

  1. Search brain for all matches using memory_search("John")
  2. If multiple results: list them with context
   Found 2 matches for "John":
   1. John Smith (Symph colleague, met 2024)
   2. John Doe (GeeksOnABeach speaker, met 2026)
   Which one?
  1. Wait for confirmation before updating

Templates

Templates live in skills/brain/templates/. Each has:

  • YAML frontmatter with structured fields
  • Markdown body with standard sections

When creating a new entry:

  1. Read the appropriate template
  2. Fill in known fields
  3. Leave unknown fields empty or with placeholder
  4. Write to brain/<category>/<slug>.md

Categories Reference

CategoryFolderUse For
Peoplebrain/people/Anyone user has met or wants to remember
Placesbrain/places/Restaurants, landmarks, venues, locations
Gamesbrain/games/Video games — status, opinions, notes
Techbrain/tech/Devices, products, specs, quirks
Eventsbrain/events/Conferences, meetups, gatherings
Mediabrain/media/Books, shows, films, podcasts
Ideasbrain/ideas/Business ideas, concepts, random thoughts
Orgsbrain/orgs/Companies, communities, groups

Linking Entities

Use wikilink-style references to connect entities:

  • [[people/raven-duran]] — link to a person
  • [[events/geeksonabeach-2026]] — link to an event
  • [[orgs/symph]] — link to an org

This makes relationships explicit and searchable.

Example Workflow

User says: "Hey, I just met this guy called Raven Duran. He's positioning himself as an Agentic coder, met him at GeeksOnABeach PH last February."

Agent does:

  1. memory_search("Raven Duran") → no results
  2. Read skills/brain/templates/person.md
  3. Create brain/people/raven-duran.md with filled template
  4. Optionally check/create brain/events/geeksonabeach-ph-2026.md and link

User says: "The Raven Duran guy, he's still 26 years old"

Agent does:

  1. memory_search("Raven Duran") → finds brain/people/raven-duran.md
  2. Read file via memory_get("brain/people/raven-duran.md"), update age: 26 in frontmatter
  3. Add note: - **2026-02-21**: Confirmed still 26 years old
  4. Update last_updated field

Attachments

Brain entries can have attachments: photos, PDFs, videos, audio, transcripts, etc.

🚨 MANDATORY: Save All Media Files

When user sends ANY media (photos, audio, video, PDF) related to a brain entry:

  1. ALWAYS save the actual file to attachments/ — this is NON-NEGOTIABLE
  2. THEN analyze/transcribe the content into the profile
  3. NEVER skip saving the file just because you processed its content

"Saved" means the FILE exists in attachments/, not just that content was transcribed.

# REQUIRED: Copy the file
cp /path/to/inbound/media.jpg brain/places/entry/attachments/descriptive-name.jpg

If you transcribed content but didn't save the file → YOU DID IT WRONG. Go back and save it.

Structure

Flat file (no attachments):

brain/places/manam.md

Folder structure (with attachments):

brain/places/mamou-prime-sm-podium/
  mamou-prime-sm-podium.md      # Profile (keeps original name)
  attachments/
    index.md                    # Describes each attachment
    menu-page-1.jpg
    menu-page-2.jpg
    receipt.pdf
    storefront.mp4

Attachments Index (attachments/index.md)

# Attachments

| File | Description | Added |
|------|-------------|-------|
| menu-page-1.jpg | Menu first page, mains section | 2026-02-21 |
| menu-page-2.jpg | Menu second page, desserts | 2026-02-21 |
| receipt.pdf | Receipt from Feb visit, ₱2,400 | 2026-02-21 |
| storefront.mp4 | Quick video of the entrance | 2026-02-21 |

QMD (if enabled) indexes this file, making attachments searchable by description.

Adding Attachments

When user sends media about an entity (e.g., "Here's the menu for Mamou Prime"):

  1. Find the entry — memory_search("Mamou Prime") → brain/places/mamou-prime-sm-podium.md
  1. Convert to folder structure (if flat file):
   # Create folder
   mkdir -p brain/places/mamou-prime-sm-podium/attachments
   # Move profile into folder
   mv brain/places/mamou-prime-sm-podium.md brain/places/mamou-prime-sm-podium/
   # Create attachments index
   touch brain/places/mamou-prime-sm-podium/attachments/index.md
  1. Save media to attachments/ with descriptive filename
  1. Update attachments/index.md with file description

⚠️ Always Save Original Files

Do BOTH:

  1. Analyze/transcribe the content → add processed text to the profile (e.g., menu tables, business card info, transcript)
  2. Save the original files → preserve in attachments/

The text is searchable and processable. The originals are preserved artifacts.

Never discard attachments unless user explicitly says "cleanup", "remove", or "delete" the files.

Example: User sends menu photos

  • ✅ Transcribe menu into markdown tables in profile
  • ✅ Save original photos to attachments/menu-1.jpg, menu-2.jpg
  • ✅ Update attachments/index.md

Wrong: Only transcribing without saving originals

Naming Attachments

Be descriptive — the index provides context:

  • menu-1.jpg, menu-2.jpg
  • business-card.jpg
  • product-demo.mp4
  • meeting-transcript.md
  • voice-memo-2026-02-21.mp3

Example: Adding Menu Photos

User sends: 2 photos with message "Menu at Mamou Prime"

Agent does:

  1. Find brain/places/mamou-prime-sm-podium.md via memory_search("Mamou Prime")
  2. Convert to folder structure (if needed)
  3. Analyze photos → transcribe menu items, prices into markdown tables
  4. Update profile with transcribed menu section
  5. Save original photos as attachments/menu-1.jpg, attachments/menu-2.jpg
  6. Update attachments/index.md:
   # Attachments

   | File | Description | Added |
   |------|-------------|-------|
   | menu-1.jpg | Menu page 1 (transcribed to profile) | 2026-02-21 |
   | menu-2.jpg | Menu page 2 (transcribed to profile) | 2026-02-21 |
  1. Confirm to user: "Transcribed menu and saved 2 photos to Mamou Prime"

平台分布

OpenClaw

85.65%
按下载量换算15,647

安全审计

VirusTotal

可疑

ClawScan

通过

Static analysis

未展示

权限和风险

需要联网

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

安装前确认

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

继续浏览同类 Skills