Install
openclaw skills install second-brain-builderExpand, compile, and write back the user's second brain around a knowledge point. Use when the user gives a topic/concept and asks to 拓展, 编译, 沉淀, 扩充, 构建, enrich, research, or update their second brain with precise definitions, intellectual lineage, originators, related concepts, recommended papers/books, and AI-annotated note edits.
openclaw skills install second-brain-builderUse this skill to turn a knowledge point into durable second-brain material: a precise concept page, a lineage map, related knowledge links, and a source-backed reading path. Default to Chinese unless the user asks otherwise.
The skill is allowed to write back when the user explicitly invokes it with a topic or asks to expand/build/update the second brain. All AI-generated edits to second-brain files must be marked with AI 注.
AI 注.Resolve the target.
Locate the second-brain root.
SECOND_BRAIN_WIKI_ROOT when set.$SECOND_BRAIN_ROOT/llm-wiki when SECOND_BRAIN_ROOT is set.~/Hbrain/llm-wiki, ~/Hbrain, ~/gbrain, the current workspace, and obvious llm-wiki folders.Recall existing local context.
rg for file search.gbrain search "<exact topic>" --limit 8
gbrain search "<close alias or English term>" --limit 8
cm context "<exact topic>" --json --limit 8 --history 5
Research the concept.
references/research-packet.md when producing a full concept packet.Build the concept packet.
Decide write targets.
concepts/<topic-slug>.md for durable concept pages.AI 注.Write back with AI annotation.
references/writeback-policy.md.AI 注.updated dates only if that is already local convention; do not force new metadata patterns.Report the result.
Do not explode the graph. After the first concept is expanded, propose the next 3-5 best expansion targets instead of automatically expanding every related concept. Automatically expand one more hop only when the user explicitly asks for recursive expansion.
Use this priority order for next topics:
AI 注.