Your Obsidian-powered second brain β knowledge management, web clippings, and multi-agent orchestration in one vault.
π¨π³ δΈζζζ‘£ Β· Quick Start Β· Features Β· Architecture
Oh-My-Brain is an opinionated Obsidian vault template for power users who want a single hub for:
- π Personal knowledge β notes, memories, and structured thinking
- βοΈ Web clippings β articles and pages collected from browsers
- π€ Multi-agent orchestration β mount external code repos and coordinate AI agents from one place
- π¨ Visual organization β color-coded folders with a shared config that travels with your vault
It ships with a custom Obsidian plugin (Oh My Brain) and a one-click setup script β clone, run, and you're ready.
|
π¨ Folder Coloring Right-click any folder β pick from 27 presets or a custom color picker. Colors cascade to child folders. Config is git-tracked so every clone looks the same. |
π€ External Agent Management Mount any local code repository as a vault subdirectory. The repo's |
|
π CLAUDE.md Linking & Sync Symlinks preferred; auto-falls back to copy when symlinks aren't available. One-click re-sync from command palette or right-click menu. |
βοΈ Two-Layer Color Config Shared colors in |
π Directory tree
oh-my-brain/
βββ Brain/ # Core knowledge: SOUL.md, Memory.md
β βββ SOUL.md # Agent identity & behavioral constraints
β βββ Memory.md # Persistent runtime memory & decisions
βββ Clippings/ # Web clippings from browsers
βββ Skills/ # Workspace skill definitions
βββ Agents/ # External agent workspaces
β βββ <alias>/
β βββ CLAUDE.md # β Symlink to external repo's CLAUDE.md
βββ Output/ # Generated reports, slides, images
βββ oh-my-brain-plugin/ # Plugin source & setup script
β βββ src/ # TypeScript source code
β βββ folder-colors.json # Shared color config (git-tracked)
β βββ setup.py # One-click initialization
βββ .obsidian/ # Obsidian internal config
βββ CLAUDE.md # Project guide for AI agents
Oh-My-Brain acts as a central coordinator. Your knowledge, clippings, and external agent workspaces are all visible in one vault. The custom plugin handles folder coloring and repo mounting. AI agents read CLAUDE.md files to understand each workspace's context.
| Tool | Version | Purpose |
|---|---|---|
| Obsidian | v1.4.5+ | The vault host |
| Node.js | v18+ | Build the plugin |
| Python 3 | v3.10+ | Run the setup script |
| Git | any | Clone the repo |
# 1. Clone the vault
git clone https://github.com/<your-username>/oh-my-brain.git
cd oh-my-brain
# 2. One-click setup β builds plugin, downloads dependencies
python oh-my-brain-plugin/setup.py
# 3. Open in Obsidian
# Obsidian β Open folder as vault β select oh-my-brain/
# Settings β Community plugins β Disable Restricted mode β Enable pluginsβοΈ Setup options
python oh-my-brain-plugin/setup.py --force # Force rebuild / reinstall
python oh-my-brain-plugin/setup.py --skip-build # Skip building local plugins
python oh-my-brain-plugin/setup.py --skip-download # Offline mode, skip remote downloads| Plugin | Source | Description |
|---|---|---|
| Oh My Brain | Local (oh-my-brain-plugin/) |
Core plugin: folder coloring, agent management, CLAUDE.md linking |
| Execute Code | twibiral/obsidian-execute-code | Run code blocks directly in notes (Python, JS, Shell, 20+ languages) |
| Plugin | Source | Description |
|---|---|---|
| Claudian | YishenTu/claudian | Claude AI chat inside Obsidian (requires API key) |
| Marp Slides | samuele-cozzi/obsidian-marp-slides | Markdown β presentation slides |
| Excalidraw | zsviczian/obsidian-excalidraw-plugin | Whiteboard diagrams, sketches, and mind maps |
- Right-click any folder in the file explorer
- Click Set folder color β pick a color
- Toggle Apply to children to cascade
Shared vs. Personal: Colors saved to
oh-my-brain-plugin/folder-colors.jsonare shared via git. Personal overrides in plugindata.jsonare gitignored.
Ctrl+Pβ Add External Agent- Browse to a local repo
- Set an alias and color
- The plugin creates
Agents/<alias>/with a symlinkedCLAUDE.md
- Single agent: Right-click agent folder β Sync CLAUDE.md
- All agents: Command palette β Sync all agent CLAUDE.md files
The plugin uses a two-layer config model β think VS Code settings:
βββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β User Layer (data.json) β gitignored β
β Overrides per-path β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β Shared Layer (folder-colors.json) β git-tracked β
β Defaults for all users β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β² User wins when both define the same path
Toggle "Use shared colors" in plugin settings to disable the shared layer entirely.
cd oh-my-brain-plugin
npm install
npm run build # Production build
# Output β .obsidian/plugins/oh-my-brain/The plugin is built with TypeScript + esbuild. Source lives in oh-my-brain-plugin/src/.
| File | Purpose |
|---|---|
CLAUDE.md |
Project guide β AI agent reads this for vault context |
Brain/SOUL.md |
Agent identity and behavioral constraints |
Brain/Memory.md |
Persistent agent memory and experience |
oh-my-brain-plugin/setup.py |
One-click vault initialization |
oh-my-brain-plugin/folder-colors.json |
Shared folder color config |
oh-my-brain-plugin/src/ |
Plugin TypeScript source |
Contributions are welcome! Feel free to open issues or submit pull requests.
- Fork the repository
- Create your branch (
git checkout -b feature/amazing-feature) - Commit your changes
- Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
MIT Β© Xu Jihui
Made with π§ and β β powered by Obsidian