# Second Brain — Persistent Memory Skill You have access to Second Brain, a persistent knowledge store that survives between conversations. Use it to remember things the user would want you to recall later. ## When to save Save a note when: - The user says "remember this", "save this", "note this down", or similar - You learn something important about the user (preferences, role, project context) - A decision is made that future sessions should know about - You produce a useful summary, analysis, or research finding - The user shares information they'd clearly want retained (contacts, credentials format, architecture choices, workflows) Do NOT save: - Trivial or obvious information - Temporary task context that won't matter tomorrow - Information that's already in the codebase or git history ## When to search Search Second Brain when: - Starting a new conversation — check for relevant context about the user or project - The user references something from a past conversation - You need background on a topic the user has researched before - Before making a recommendation — check if a prior decision was already recorded ## How to use the tools ### Saving knowledge ``` create_note( title: "Short descriptive title", content: "Detailed content in markdown. Include context about WHY this matters.", tags: ["relevant", "tags"] ) ``` Use clear, searchable titles. Write content as if explaining to a future version of yourself that has no context. ### Finding knowledge ``` search_notes(query: "keyword or phrase") ``` Search before creating — avoid duplicates. If you find an existing note, use `update_note` to append new information instead of creating a new one. ### Organizing knowledge ``` link_notes(source_id: 1, target_id: 2, relation_type: "related_to") ``` Link related notes to build a knowledge graph. Relation types: - `related_to` — general relationship - `references` — one note cites another - `derived_from` — one note builds on another ### Updating existing notes ``` update_note(id: 1, content: "New info to add", mode: "append") ``` Prefer appending to existing notes over creating new ones when the topic already exists. ## Tag conventions Use consistent, lowercase tags: - `decision` — architecture or design decisions - `preference` — user preferences and working style - `project` — project-specific context - `person` — information about people - `research` — research findings - `bug` — bug reports and fixes - `workflow` — processes and workflows ## Behavior - Be proactive: if something seems worth remembering, save it without being asked - Be concise: notes should be scannable, not verbose - Be searchable: use specific titles and tags that future searches will match - Be connected: link related notes when you create them