brain
Personal knowledge base for capturing and retrieving information about people, places, restaurants, games, tech, events, media, ideas, and organizations.
Skill by xkzs2007
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/xkzs2007-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
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/brain
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 (11)
- SKILL.md
- _meta.json
- attachments-index.md · templates/
- event.md · templates/
- game.md · templates/
- idea.md · templates/
- media.md · templates/
- org.md · templates/
- person.md · templates/
- place.md · templates/
- tech.md · templates/
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 xkzs2007/GalaxyOS-desktop, MIT.
More from xkzs2007/GalaxyOS-desktop
- 0.569score
darwin-skill
xkzs2007
Darwin Skill (达尔文.skill): autonomous skill optimizer inspired by Karpathy's autoresearch.
SkillBFreshness: B★ 3Claude Code +9 - 0.564score
criticism-self-criticism
xkzs2007
触发:当一项工作已经完成、进入阶段验收、收到批评反馈,或反复出现同类错误需要系统纠偏时调用;常见信号包括 review、audit、retrospective、quality check、纠错与复盘。 English: Trigger after delivery or at a review checkpoint…
SkillBFreshness: B★ 3Claude Code +9 - 0.564score
arming-thought
xkzs2007
触发:在每次新的顶层对话开始时自动调用,用于建立“实事求是”的总原则,并在明确适用时为后续任务选择下游 skill;如果你是被派遣执行单一具体任务的子 agent,则跳过此 skill。 English: Trigger at the start of each new top-level conversation…
SkillBFreshness: B★ 3Claude Code +9 - 0.564score
concentrate-forces
xkzs2007
触发:当多个任务同时争夺时间、注意力、算力或预算,必须确定主攻方向并停止分散用力时调用;常见信号包括优先级过多、资源紧张、推进分散、需要决定先做什么。 English: Trigger when limited resources are being split across too many tasks and…
SkillBFreshness: B★ 3Claude Code +9 - 0.564score
contradiction-analysis
xkzs2007
触发:当问题复杂、存在多个冲突因素、优先级不清,或你不知道应该先解决什么时调用;常见信号包括 trade-off、瓶颈、根因不明、主次不清、多个问题互相牵制。 English: Trigger when a problem contains competing forces, unclear priorities…
SkillBFreshness: B★ 3Claude Code +9 - 0.561score
autonomous-tasks
xkzs2007
Self-driven AI worker.
SkillBFreshness: B★ 3Claude Code +9 - 0.558score
best-minds
xkzs2007
模拟器思维:不问"你怎么看",而是问"世界上谁最懂这个?TA 会怎么说?"。触发词:最强大脑、顶级专家、世界级、best minds、谁最懂这个
SkillBFreshness: B★ 3Claude Code +9 - 0.558score
caveman
xkzs2007
超压缩通信模式。砍掉约 75% 的废话 token,保留全部技术信息。触发词:caveman 模式、简洁回复、省 token。
SkillBFreshness: B★ 3Claude Code +9 - 0.556score
galaxyos
xkzs2007
GalaxyOS 认知增强型 AI Agent 桌面引擎 v0.3.0 Cognitive Nexus
SkillBFreshness: B★ 3Claude Code +9 - 0.555score
critical-thinking
xkzs2007
批判性思维。评估证据、识别逻辑谬误、检验假设。触发词:评估、论证、证据、逻辑谬误、批判性思维。
SkillBFreshness: B★ 3Claude Code +9 - 0.555score
analogical-thinking
xkzs2007
类比思维。从其他领域的成功模式中借鉴解决方案。触发词:类比、借鉴、像...一样、跨领域。
SkillBFreshness: B★ 3Claude Code +9 - 0.555score
backward-thinking
xkzs2007
逆向思维。从目标倒推起点,识别关键路径。触发词:倒推、逆向、从终点出发、逆向思维。
SkillBFreshness: B★ 3Claude Code +9
Signals
- Stars
- 3
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Aug 1, 2026 (2 months ago)
- Last release
- Aug 1, 2026 (2 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/xkzs2007/GalaxyOS-desktop
- 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.263score
brain
xdelin
Personal knowledge base for capturing and retrieving information about people, places, restaurants, games, tech, events, media, ideas, and organizations.
SkillDFreshness: D★ 2Claude 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 xkzs2007
- 0.569score
darwin-skill
xkzs2007
Darwin Skill (达尔文.skill): autonomous skill optimizer inspired by Karpathy's autoresearch.
SkillBFreshness: B★ 3Claude Code +9 - 0.564score
contradiction-analysis
xkzs2007
触发:当问题复杂、存在多个冲突因素、优先级不清,或你不知道应该先解决什么时调用;常见信号包括 trade-off、瓶颈、根因不明、主次不清、多个问题互相牵制。 English: Trigger when a problem contains competing forces, unclear priorities…
SkillBFreshness: B★ 3Claude Code +9 - 0.564score
arming-thought
xkzs2007
触发:在每次新的顶层对话开始时自动调用,用于建立“实事求是”的总原则,并在明确适用时为后续任务选择下游 skill;如果你是被派遣执行单一具体任务的子 agent,则跳过此 skill。 English: Trigger at the start of each new top-level conversation…
SkillBFreshness: B★ 3Claude Code +9 - 0.564score
concentrate-forces
xkzs2007
触发:当多个任务同时争夺时间、注意力、算力或预算,必须确定主攻方向并停止分散用力时调用;常见信号包括优先级过多、资源紧张、推进分散、需要决定先做什么。 English: Trigger when limited resources are being split across too many tasks and…
SkillBFreshness: B★ 3Claude Code +9 - 0.564score
criticism-self-criticism
xkzs2007
触发:当一项工作已经完成、进入阶段验收、收到批评反馈,或反复出现同类错误需要系统纠偏时调用;常见信号包括 review、audit、retrospective、quality check、纠错与复盘。 English: Trigger after delivery or at a review checkpoint…
SkillBFreshness: B★ 3Claude Code +9 - 0.561score
autonomous-tasks
xkzs2007
Self-driven AI worker.
SkillBFreshness: B★ 3Claude Code +9
Cite this page
brain skill. Agent Mart. https://agentmart.dev/skills/xkzs2007-brain (last updated 2026-10-24)