Second Brain

Core Brain

Save and search personal learnings and memories — your second brain in markdown files. All operations are local, synced optionally to a private GitHub repo.

Features

Categorized Storage

Organize memories in folders like frontend/, devops/, linux/ with tags for cross-relations

Auto-Relations

Automatically suggests relations based on shared tags when saving

Hidden Input

Values hidden with ● when typing for API keys and tokens

GitHub Sync

Syncs to a private GitHub repo via gh for backup across devices

AI-Ready Markdown

Markdown frontmatter consumable by AI agents

All Commands

14 commands to manage your second brain

core brain

Dashboard with stats

core brain init

Initialize brain directory and GitHub repo

core brain save

Interactive: save a new memory

core brain search <query>

Search memories by keywords or tags

core brain ls [category]

List memories by category

core brain edit

Edit a memory in your $EDITOR

core brain edit <slug>

Edit a memory by slug name

core brain delete

Delete a memory permanently

core brain show <slug>

View a memory with its relations

core brain reset

Destroy the entire brain

core brain graph

Visual map of all connections

core brain skill

Create an AI skill from memories

core brain relate

Link two memories interactively

core brain sync

Push/pull to GitHub private repo

Memory Format

Memories are stored as AI-consumable markdown files with frontmatter:

---
title: React Hook Form + Zod validation
tags: [react, forms, typescript, zod]
created: 2026-06-23
category: frontend
related: [nextjs-server-actions]
---

# React Hook Form + Zod validation

After hours of testing, the combination that worked...