Install
openclaw skills install second-brain-aiRead, capture, search, relate, and assemble context from a user-specified local Markdown knowledge base (Obsidian/Logseq style). Supports controlled write operations with explicit approval and attribution. Use when the user wants a Second Brain / note-vault memory layer for Markdown notes, including saving ideas, searching past notes, finding related notes or backlinks, building context packs, appending to existing notes (with attribution), or getting smart link suggestions.
openclaw skills install second-brain-aiA lightweight skill for working with a user-chosen Markdown knowledge base with controlled write operations and attribution requirements.
SECOND_BRAIN_VAULT must be set explicitly[[Note Title]]export SECOND_BRAIN_VAULT="/absolute/path/to/your/vault"
allow_write: trueappended_by attributionInitialize a new vault with standard folder structure.
Input: { "allow_write": true }
Create a new note.
Input:
{
"allow_write": true,
"title": "Note Title",
"content": "Body content",
"type": "idea",
"tags": ["tag1", "tag2"],
"links": ["Related Note"]
}
Append content to an existing note with attribution.
Input:
{
"allow_write": true,
"title": "Note Title",
"content": "Additional content",
"section": "Updates",
"appended_by": "Agent Name"
}
Required: appended_by must identify who is appending.
Search notes by keywords.
Input: { "query": "search terms", "limit": 5 }
Find notes related to a topic.
Input: { "topic": "Topic Name", "limit": 5 }
Get notes that link to a specific note.
Input: { "note_title": "Target Note" }
Build a context pack for agent consumption.
Input: { "topic": "Topic", "limit": 10 }
Get smart link suggestions for a note.
Input: { "title": "Note Title", "limit": 5 }
Refresh index (currently returns skip status as SQLite is not implemented).
Input: {}
Standard frontmatter:
---
id: 20260313
title: Note Title
type: idea
tags: [tag1, tag2]
created: 2026-03-13
updated: 2026-03-13
status: active
---
When appending, the skill adds:
> Append Record
> Added by: {appended_by}
> Added at: {timestamp}
{content}
npm test