← 返回 Skills 市场
harrylabsj

Second Brain Builder

作者 haidong · GitHub ↗ · v0.1.0 · MIT-0
cross-platform ✓ 安全检测通过
40
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install second-brain-builder
功能描述
Expand, compile, and write back the user's second brain around a knowledge point. Use when the user gives a topic/concept and asks to 拓展, 编译, 沉淀, 扩充, 构建, enr...
使用说明 (SKILL.md)

Second Brain Builder

Overview

Use 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 注.

Operating Principles

  • Prefer the user's local second brain before public web material.
  • Preserve the user's original notes. Make additive edits by default.
  • Keep expansion bounded: one central concept, 5-12 related concepts, and a curated reading list before deeper recursion.
  • Separate fact, interpretation, and recommendation.
  • Use primary or high-quality sources for origin claims, papers, books, and "who proposed this" claims.
  • Do not invent papers, books, people, dates, or source links.
  • If source quality is weak, write the uncertainty into the AI 注.

Workflow

  1. Resolve the target.

    • Extract the exact knowledge point from the user's request.
    • Identify aliases, Chinese/English terms, adjacent meanings, and likely false friends.
    • If the topic is ambiguous enough to cause wrong writeback, ask one concise clarification question. Otherwise proceed with a stated assumption.
  2. Locate the second-brain root.

    • Prefer SECOND_BRAIN_WIKI_ROOT when set.
    • Otherwise try $SECOND_BRAIN_ROOT/llm-wiki when SECOND_BRAIN_ROOT is set.
    • Otherwise try common local candidates such as ~/Hbrain/llm-wiki, ~/Hbrain, ~/gbrain, the current workspace, and obvious llm-wiki folders.
    • If no root is found, produce a research packet only and ask where to write it.
  3. Recall existing local context.

    • Search filenames and note content for the exact topic, aliases, and related terms.
    • Prefer rg for file search.
    • When available, run focused recall:
gbrain search "\x3Cexact topic>" --limit 8
gbrain search "\x3Cclose alias or English term>" --limit 8
cm context "\x3Cexact topic>" --json --limit 8 --history 5
  1. Research the concept.

    • For stable concepts, still verify origin, canonical definitions, and recommended readings with reliable sources.
    • For recent, contested, or recommendation-heavy requests, browse public sources and cite them.
    • Prefer primary sources, original papers/books, author pages, publisher pages, university pages, encyclopedias, and peer-reviewed surveys.
    • Use references/research-packet.md when producing a full concept packet.
  2. Build the concept packet.

    • Precise concept: one tight definition plus boundary conditions.
    • Background: the problem situation that made the concept necessary.
    • Lineage: predecessors, proposer(s), first use or canonical formulation, later development.
    • Structure: components, mechanism, assumptions, and failure modes.
    • Related knowledge: parent concepts, sibling concepts, contrasting concepts, applied domains.
    • Reading path: 3-7 essential papers/books, ordered from entry point to primary/canonical sources.
    • Second-brain fit: how this concept connects to the user's existing notes, anchors, questions, or projects.
  3. Decide write targets.

    • Follow existing directory conventions when the wiki already has them.
    • Prefer concepts/\x3Ctopic-slug>.md for durable concept pages.
    • Prefer updating an existing concept page over creating a duplicate.
    • Add related links to existing anchor/index pages only when the connection is strong.
    • Create related concept stubs only when they are clearly useful; keep stubs short and marked with AI 注.
  4. Write back with AI annotation.

    • Before editing any second-brain file, read references/writeback-policy.md.
    • Every inserted AI-generated block must be under a heading or prefix containing AI 注.
    • Preserve frontmatter and user-authored content.
    • Update updated dates only if that is already local convention; do not force new metadata patterns.
  5. Report the result.

    • List files created or changed.
    • Summarize the core concept in 3-5 bullets.
    • Include the strongest sources used.
    • Name uncertainty, missing local context, or suggested next expansion topics.

Recursion Policy

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:

  1. Concepts required to understand the central concept.
  2. Concepts that appear repeatedly in the user's existing second brain.
  3. Contrasting concepts that sharpen the boundary.
  4. Originator or canonical-work pages when the person/book/paper is central.
  5. Application concepts tied to the user's current projects.

Quality Checklist

  • The definition is specific enough to exclude nearby but different ideas.
  • The origin/proposer claim has a source or is marked uncertain.
  • The reading list contains real works with author/title/year where available.
  • The note connects to at least one local file, anchor, or explicit user interest when local context exists.
  • The writeback is additive and visibly marked with AI 注.
  • The final response tells the user exactly what changed.
安全使用建议
Install this only if you want an agent to search your local second-brain notes and add AI 注 sections to them. Set SECOND_BRAIN_WIKI_ROOT or SECOND_BRAIN_ROOT so it targets the intended vault, and ask for a preview or diff before writeback if you want tighter control over changes or output language.
能力评估
Purpose & Capability
The stated purpose is to research concepts, build second-brain packets, and write annotated additions; local note search and writeback are coherent with that purpose.
Instruction Scope
Invocation wording includes broad verbs like research and update, and the default output language is Chinese, but the instructions tie use to second-brain expansion and require clarification when ambiguity could cause wrong writeback.
Install Mechanism
The package contains markdown and YAML instructions only, with no executable scripts, install-time code, package installation steps, or background services.
Credentials
The skill may search local second-brain folders and optional local recall tools, which is proportionate for this use but can touch private notes; users should configure the intended root.
Persistence & Privilege
Persistent edits are disclosed and constrained to additive AI 注 blocks, preserving user content and frontmatter; there is no deletion, credential use, privileged persistence, or hidden worker behavior.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install second-brain-builder
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /second-brain-builder 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
Initial release: concept research, lineage mapping, related knowledge expansion, reading recommendations, and AI 注 writeback policy.
元数据
Slug second-brain-builder
版本 0.1.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Second Brain Builder 是什么?

Expand, compile, and write back the user's second brain around a knowledge point. Use when the user gives a topic/concept and asks to 拓展, 编译, 沉淀, 扩充, 构建, enr... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 40 次。

如何安装 Second Brain Builder?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install second-brain-builder」即可一键安装,无需额外配置。

Second Brain Builder 是免费的吗?

是的,Second Brain Builder 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Second Brain Builder 支持哪些平台?

Second Brain Builder 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Second Brain Builder?

由 haidong(@harrylabsj)开发并维护,当前版本 v0.1.0。

💬 留言讨论