brain
Personal knowledge base for capturing and retrieving information about people, places, restaurants, games, tech, events, media, ideas, and organizations.
Skill by xdelin
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/xdelin-brain
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: productivity
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions: not checked yet.
What's inside
- Skill name
brain- Description
- Personal knowledge base for capturing and retrieving information about people, places, restaurants, games, tech, events, media, ideas, and organizations. Use when: user mentions a person, place, restaurant, landmark, game, device, event, book/show, idea, or company. Trigger phrases: "remember", "note that", "met this person", "visited", "played", "what do I know about", etc. Brain entries take precedence over daily logs for named entities.
- License
- MIT
- Instructions
- 282 lines in SKILL.md · view on GitHub
Agent Skills spec issues
- name: "brain" does not match folder "2nd-brain"
Files (1)
- SKILL.md
SKILL.md (first lines)
# 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`.
```bash
# 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?
```
3. 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`From xdelin/OpenClaw-Education-Skills, MIT.
More from xdelin/OpenClaw-Education-Skills
- 0.443score
afrexai-email-to-calendar
xdelin
Extract calendar events, deadlines, action items, and follow-ups from emails.
SkillDFreshness: D★ 2Claude Code +9 - 0.440score
afrexai-code-reviewer
xdelin
Enterprise-grade code review agent.
SkillDFreshness: D★ 2Claude Code +9 - 0.436score
acg-rust-teacher
xdelin
ACG 视角 Rust 所有权系统教学工具,通过动漫类比(ReZero、Fate 等)讲解 Rust 核心概念,降低学习门槛。
SkillDFreshness: D★ 2Claude Code +9 - 0.434score
github-intel
xdelin
Analyze any GitHub repository in AI-friendly format.
SkillDFreshness: D★ 2Claude Code +9 - 0.422score
Photography Mastery
xdelin
Complete photography system — exposure, composition, lighting, genre-specific workflows, editing, gear selection, portfolio building, and client management.
SkillDFreshness: D★ 2Claude Code +9 - 0.231score
afrexai-medical-billing
xdelin
No description from the publisher yet.
SkillDFreshness: D★ 2Claude Code +9 - 0.231score
afrexai-data-governance
xdelin
No description from the publisher yet.
SkillDFreshness: D★ 2Claude Code +9 - 0.231score
active-learner
xdelin
No description from the publisher yet.
SkillDFreshness: D★ 2Claude Code +9 - 0.228score
afrexai-ml-engineering
xdelin
No description from the publisher yet.
SkillDFreshness: D★ 2Claude Code +9 - 0.228score
afrexai-git-engineering
xdelin
No description from the publisher yet.
SkillDFreshness: D★ 2Claude Code +9 - 0.228score
afrexai-database-engineer
xdelin
No description from the publisher yet.
SkillDFreshness: D★ 2Claude Code +9 - 0.228score
afrexai-data-privacy
xdelin
No description from the publisher yet.
SkillDFreshness: D★ 2Claude Code +9
Signals
- Stars
- 2
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Mar 14, 2026 (7 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
- 0.560score
brain
xkzs2007
Personal knowledge base for capturing and retrieving information about people, places, restaurants, games, tech, events, media, ideas, and organizations.
SkillBFreshness: B★ 3Claude Code +9 - 0.260score
brain
18816132863
Personal knowledge base for capturing and retrieving information about people, places, restaurants, games, tech, events, media, ideas, and organizations.
SkillDFreshness: D★ 2Claude Code +9
More from xdelin
- 0.443score
afrexai-email-to-calendar
xdelin
Extract calendar events, deadlines, action items, and follow-ups from emails.
SkillDFreshness: D★ 2Claude Code +9 - 0.440score
afrexai-code-reviewer
xdelin
Enterprise-grade code review agent.
SkillDFreshness: D★ 2Claude Code +9 - 0.436score
acg-rust-teacher
xdelin
ACG 视角 Rust 所有权系统教学工具,通过动漫类比(ReZero、Fate 等)讲解 Rust 核心概念,降低学习门槛。
SkillDFreshness: D★ 2Claude Code +9 - 0.434score
github-intel
xdelin
Analyze any GitHub repository in AI-friendly format.
SkillDFreshness: D★ 2Claude Code +9 - 0.422score
Photography Mastery
xdelin
Complete photography system — exposure, composition, lighting, genre-specific workflows, editing, gear selection, portfolio building, and client management.
SkillDFreshness: D★ 2Claude Code +9
Cite this page
brain skill. Agent Mart. https://agentmart.dev/skills/xdelin-brain (last updated 2026-10-24)