← 返回 Skills 市场
prakhar728

Second Brain Setup

作者 Prakhar Ojha · GitHub ↗ · v0.4.0 · MIT-0
cross-platform ⚠ suspicious
44
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install notion-second-brain-setup
功能描述
One-shot Notion workspace scaffolder for the second-brain skill. Creates or adopts the "Second Brain" parent page and its child databases (Reading List, Inbo...
使用说明 (SKILL.md)

Second Brain Setup

STRICT RULES — read first

You will execute a fixed sequence of Notion MCP tool calls. You are NOT to invent pages, write markdown content, or call any tool not listed in the sequence below.

The only output of this skill:

  1. One page titled exactly Second Brain (no body content, no icon, no cover)
  2. One database titled exactly Reading List as a child of that page
  3. One database titled exactly Inbox as a child of that page

Forbidden — even if your training suggests them:

  • ❌ PARA pages (Projects / Areas / Resources / Archives)
  • ❌ "Building a Second Brain" overview, methodology, or wiki content
  • ❌ "Book Notes", "Meeting Notes", "Daily Notes", "Quick Links"
  • ❌ Any markdown body content on the Second Brain parent page
  • ❌ Calling notion-create-pages to create something that should be a database
  • ❌ Adding emojis, covers, or decorative properties anywhere

If you find yourself about to call notion-create-pages with a content field longer than 0 characters, STOP — you are about to do the wrong thing.

Tool sequence

Execute in order. Stop and report on first hard failure.

Step 0 — Find an accessible parent page (PREREQUISITE)

The Notion integration can only create pages under a page it has been shared with. There is no "workspace root" creation path.

Call notion-search with:

{"query": "", "query_type": "internal"}

This returns every page the integration can see. From the results:

  • If you see a page already titled exactly Second Brain, save its page_id as SECOND_BRAIN_ID and skip to Step 2.
  • Otherwise, pick any visible page as INTEGRATION_PARENT_ID. Prefer one that looks like a top-level workspace page (no parent, or named like Home, Workspace, IronClaw, etc.).
  • If the search returns zero results, STOP and reply to the user with exactly:

    No pages accessible to the integration. In Notion, create a page (e.g. "IronClaw") and share it with the integration (... → Connections → IronClaw), then run setup again.

Step 1 — Create the Second Brain parent page

Only run this step if SECOND_BRAIN_ID was not found in Step 0.

Call notion-create-pages with exactly this payload — no other fields:

{
  "pages": [
    {
      "parent": {"type": "page_id", "page_id": "\x3CINTEGRATION_PARENT_ID>"},
      "properties": {"title": "Second Brain"}
    }
  ]
}

Do NOT include any of these fields, even as empty values: content, icon, cover, template_id, children, tags, description. The pages[0] object must contain exactly two keys: parent and properties. If you write any other key, you are violating this skill.

Save the returned page_id as SECOND_BRAIN_ID.

Step 2 — Find or adopt Reading List

Call notion-search with:

{"query": "Reading List", "query_type": "internal"}

If a database (not a page) named exactly Reading List exists:

  • If its parent is already SECOND_BRAIN_ID, do nothing — record READING_LIST_ID and skip to Step 3.
  • If its parent is something else, call notion-move-pages to move it under SECOND_BRAIN_ID. Record READING_LIST_ID.
  • Do NOT modify its existing schema, even if it differs from the spec below. Adopt as-is.

If not found, call notion-create-database with:

{
  "parent": {"type": "page_id", "page_id": "\x3CSECOND_BRAIN_ID>"},
  "title": [{"type": "text", "text": {"content": "Reading List"}}],
  "properties": {
    "Name": {"title": {}},
    "Type": {"select": {"options": [
      {"name": "Book"}, {"name": "Article"}, {"name": "Podcast"}, {"name": "Video"}
    ]}},
    "Status": {"select": {"options": [
      {"name": "Not started"}, {"name": "In progress"}, {"name": "Done"}
    ]}},
    "Score": {"number": {"format": "number"}},
    "Author": {"rich_text": {}},
    "Link": {"url": {}},
    "Review(Sum up)": {"rich_text": {}},
    "Tags": {"multi_select": {"options": []}}
  }
}

Record READING_LIST_ID from the response.

Step 3 — Find or adopt Inbox

Same pattern as Step 2. Search → adopt-and-move if exists → otherwise create with:

{
  "parent": {"type": "page_id", "page_id": "\x3CSECOND_BRAIN_ID>"},
  "title": [{"type": "text", "text": {"content": "Inbox"}}],
  "properties": {
    "Note": {"title": {}},
    "Type": {"select": {"options": [
      {"name": "Thought"}, {"name": "Task"}, {"name": "Resource"}, {"name": "Reference"}
    ]}},
    "Processed": {"checkbox": {}},
    "Date": {"date": {}}
  }
}

Step 4 — Report

Reply to the user with exactly this format (filling URLs from tool responses):

Second Brain ready ✓
• Second Brain page: \x3Curl>
• Reading List (created|adopted|moved): \x3Curl>
• Inbox (created|adopted|moved): \x3Curl>

If captures don't work, make sure the IronClaw integration is connected to the Second Brain page (… → Connections → IronClaw). Sharing the parent cascades to children.

MCP call rules

  • Never pass null for any field. Omit the field. Empty string is also wrong for most fields — omit instead.
  • Never include template_id or cover unless you have real values. These are the most common null-pass mistakes.
  • Date fields are YYYY-MM-DD strings only.
  • notion-search rate limit is 30/min — do not search more than necessary. One search per database name in this skill is enough.
  • If a tool call fails with -32602, strip every field that is not strictly required by the tool's documented schema and retry once. Do not retry the same payload.
  • Database vs data source: notion-create-database returns a database_id. The corresponding data_source_id (for queries later) appears in the response under the data sources array. Save both if returned.

What not to do

  • Do not call notion-create-pages to create Reading List or Inbox — they are databases, not pages. Use notion-create-database.
  • Do not write any explanatory or methodological content into Notion. The user already knows what a second brain is.
  • Do not search for Reading List or Inbox more than once each.
  • Do not delete, rename, or restructure existing data. Only add what's missing.
  • Do not run any captures during setup. Stop after Step 4's report.
安全使用建议
Install only if you want this skill to modify the connected Notion workspace. Limit the Notion integration to the intended parent page, check for existing Reading List or Inbox databases first, and be aware that any automatic moves may need to be undone manually in Notion.
能力评估
Purpose & Capability
The stated purpose and the Notion MCP operations are aligned: the skill is meant to create or adopt a Second Brain page plus Reading List and Inbox databases. Users should still notice that "adopt" includes moving existing databases.
Instruction Scope
The workflow instructs the agent to pick an accessible parent page and to move matching existing databases without a separate user confirmation, which is broad for a workspace mutation.
Install Mechanism
This is an instruction-only skill with no install spec, no code files, and no static scan findings.
Credentials
Use of a Notion MCP integration is expected for this skill, but the registry metadata does not declare a primary credential or capability tag while the instructions rely on delegated Notion workspace access.
Persistence & Privilege
The skill creates persistent Notion objects and can relocate existing databases; the artifacts do not describe a confirmation step, rollback path, or containment beyond exact database names.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install notion-second-brain-setup
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /notion-second-brain-setup 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.4.0
Initial public release
元数据
Slug notion-second-brain-setup
版本 0.4.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Second Brain Setup 是什么?

One-shot Notion workspace scaffolder for the second-brain skill. Creates or adopts the "Second Brain" parent page and its child databases (Reading List, Inbo... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 44 次。

如何安装 Second Brain Setup?

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

Second Brain Setup 是免费的吗?

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

Second Brain Setup 支持哪些平台?

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

谁开发了 Second Brain Setup?

由 Prakhar Ojha(@prakhar728)开发并维护,当前版本 v0.4.0。

💬 留言讨论