codecrafters-io /
build-your-own-x
Master programming by recreating your favorite technologies from scratch.
90/100 healthLoading repository data…
coleam00 / repository
Build your own AI Second Brain with Claude Code - a skill that generates a personalized PRD for a proactive, persistent AI assistant
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
A skill for Claude Code that generates a personalized Product Requirements Document (PRD) for building your own AI second brain - a proactive, persistent AI assistant that knows your context, remembers across sessions, and keeps you informed.
Watch the overview: How I Built My AI Second Brain with Claude Code (YouTube)
You fill out a simple requirements template describing your tools, workflow, and preferences. Then Claude Code generates a phased build plan tailored to your setup - covering memory, integrations, skills, a proactive heartbeat, chat interface, and security hardening.
The generated PRD gives you (or your coding agent) a step-by-step blueprint for building a second brain that:
Copy the .claude/skills/create-second-brain-prd/ directory into your project:
# Clone this repo
git clone https://github.com/coleam00/second-brain-starter.git
# Copy the skill into your project
cp -r second-brain-starter/.claude/skills/create-second-brain-prd \
your-project/.claude/skills/create-second-brain-prd
Or just copy the .claude/ folder from this repo into an existing project.
Copy the template to your workspace and fill it out:
cp .claude/skills/create-second-brain-prd/my-second-brain-requirements.md \
./my-second-brain-requirements.md
The template has 8 sections:
See example-my-second-brain-requirements.md in the skill directory for a completed example.
Open Claude Code in your project and run:
/create-second-brain-prd ./my-second-brain-requirements.md
Claude will:
.agent/plans/second-brain-prd.mdFollow the phases in your PRD. Each phase includes:
The recommended build order:
| Phase | What | Complexity |
|---|---|---|
| 1 | Memory Layer (BOOTSTRAP.md, SOUL.md, USER.md, MEMORY.md, daily logs) | Low |
| 2 | Hooks (SessionStart, PreCompact, SessionEnd) | Medium |
| 3 | Memory Search (hybrid keyword + semantic) | Medium |
| 4 | Integrations (your top 3 platforms) | Medium each |
| 5 | Skills (vault structure + custom skills) | Low-Medium |
| 6 | Proactive Systems (heartbeat + daily reflection) | High |
| 7 | Chat Interface (Slack/Discord bot) | High |
| 8 | Security Hardening (sanitization, guardrails) | Medium |
| 9 | Deployment (local scheduler or VPS) | Medium |
This repo ships a ready-to-use templates/memory/ folder so you don't start from a blank page. Copy it into your vault and customize:
cp -r templates/memory your-vault/Memory
The second brain is built on Claude Code and the Claude Agent SDK. No massive framework - just markdown files, Python scripts, and an Obsidian vault.
Memory Layer (center of everything)
BOOTSTRAP.md - First-run onboarding wizard (writes SOUL/USER, then self-deletes)
SOUL.md - Agent personality, values, boundaries
USER.md - Your profile, accounts, preferences
MEMORY.md - Key decisions, lessons, active projects
daily/YYYY-MM-DD.md - Timestamped session logs
Hooks (context persistence)
SessionStart - Loads memory into every conversation
PreCompact - Saves context before auto-compaction
SessionEnd - Captures decisions on exit
Integrations (platform connections)
Python CLI wrapper pattern - LLM never sees API keys
query.py gmail list / query.py asana overdue / etc.
Skills (extensible capabilities)
Progressive disclosure - metadata always loaded, full instructions on demand
Heartbeat (proactive monitoring)
Python gathers data -> Claude reasons -> notifications sent
~$0.05/run vs $0.38 with MCP tool calls
Memory Search (hybrid RAG)
FastEmbed (local ONNX) + SQLite/Postgres
70% vector + 30% keyword = best of both worlds
Your choice in the requirements template shapes the entire system:
| Level | What It Does |
|---|---|
| Observer | Notifications only. Never takes action. |
| Advisor | Drafts emails/messages for your review. Tracks habits with suggestions. |
| Assistant | Auto-organizes files, auto-logs decisions. Asks for anything external. |
| Partner | Sends low-risk messages, completes routine tasks. Asks only for irreversible actions. |
Selected from shared topics, language and repository description—not editorial ratings.
codecrafters-io /
Master programming by recreating your favorite technologies from scratch.
90/100 healthanomalyco /
Build full-stack apps on your own infrastructure.
90/100 healthseemoo-lab /
Build your own 'AirTags' 🏷 today! Framework for tracking personal Bluetooth devices via Apple's massive Find My network.
sovereign /
A set of Ansible playbooks to build and maintain your own private cloud: email, calendar, contacts, file sync, IRC bouncer, VPN, and more.
78/100 healthHugoBlox /
🧱 Describe your site, AI builds it, you own it as Markdown. Snap together Tailwind blocks like Lego — landing pages, blogs, portfolios, docs & more. No AI slop. Free to deploy anywhere 👇
95/100 healthTracer-Cloud /
Build your own AI SRE agents. The open source toolkit for the AI era.
92/100 health