Configure Second Brain vault with plugin-aware modules
Initializes Second Brain vault with plugin-aware structure and user context.
/plugin marketplace add pentaxis93/recursive-loop/plugin install second-brain@recursive-loopConfig: .claude/brain-config.json
{
"brainFolder": "Brain",
"setupComplete": false,
"userName": "",
"modules": []
}
| State | Action |
|---|---|
| setupComplete = false | → FIRST-TIME |
| setupComplete = true, new plugin detected | → ADD-MODULE |
| setupComplete = true, nothing new | → UPDATE |
Check for installed plugins:
GTD: Glob for plugins/gtd/skills/gtd.md or .claude/plugins manifest
Store detected plugins in config modules array after setup.
Scan for folders containing .obsidian/. If multiple found, ask user to select.
Update config with selected brainFolder.
Ask (one question, comprehensive response):
Tell me about yourself - name, work, current projects, interests, and how you prefer to work.
Extract: name, role, projects, interests, preferences.
System Files:
_system/profile.md_system/interests.mdFolders:
_system/
{{brainFolder}}/
├── 00-inbox/
│ └── dumps/
├── 01-projects/
├── 02-areas/
│ └── relationships/
├── 03-resources/
│ └── reference-notes/
├── 05-knowledge/
│ ├── consolidated/
│ ├── patterns/
│ └── timeline/
├── archives/
│ ├── intelligence/
│ │ ├── intel/
│ │ ├── audit/
│ │ └── checkins/
│ ├── daily-plans/
│ └── completed/
└── permanent-notes/
File: _system/profile.md
---
type: "profile"
created: "{{YYYY-MM-DD}}"
---
# Profile
## Identity
**Name:** {{name}}
**Role:** {{role/job}}
## Active Projects
- [[{{project1}}]]
- [[{{project2}}]]
## Working Style
{{preferences extracted from conversation}}
## Goals
{{goals mentioned}}
File: _system/interests.md
---
type: "interests"
created: "{{YYYY-MM-DD}}"
---
# Interests
## Topics
- {{interest1}}
- {{interest2}}
## Preferred Sources
- {{source preferences if mentioned}}
Ask: "Important people to track? (names or skip)"
If names provided, create {{brainFolder}}/02-areas/relationships/{{Name}}.md for each.
If GTD plugin detected: → Run GTD MODULE
Set setupComplete: true in config.
Add detected plugins to modules array.
Output: Summary of created files and folders.
Suggest next steps based on installed plugins.
Trigger: GTD plugin detected AND _system/gtd-dashboard.md does not exist.
File: _system/gtd-dashboard.md
---
type: "dashboard"
system: "gtd"
created: "{{YYYY-MM-DD}}"
---
# GTD Dashboard
## Today's Focus
*Run `gtd plan` to populate*
## Active Projects
```tasks
path includes 01-projects
has due date
not done
```
## Waiting On
```tasks
tag includes #waiting
not done
```
## Inbox Count
Check 00-inbox/ for unprocessed items
---
Updated by GTD skill
Create in {{brainFolder}}/02-areas/ (skip if exists):
Career-Development.md:
---
title: "Career Development"
type: "area"
status: "active"
created: "{{YYYY-MM-DD}}"
tags:
- area
- career
---
# Career Development
## Responsibilities
- Professional growth
- Skills development
- Network maintenance
## Tasks
- [ ]
Health-Fitness.md:
---
title: "Health & Fitness"
type: "area"
status: "active"
created: "{{YYYY-MM-DD}}"
tags:
- area
- health
---
# Health & Fitness
## Responsibilities
- Physical health
- Mental wellness
- Exercise routine
## Tasks
- [ ]
Personal-Development.md:
---
title: "Personal Development"
type: "area"
status: "active"
created: "{{YYYY-MM-DD}}"
tags:
- area
- personal
---
# Personal Development
## Responsibilities
- Learning goals
- Habits & routines
- Personal growth
## Tasks
- [ ]
Errands.md:
---
title: "Errands"
type: "area"
status: "active"
created: "{{YYYY-MM-DD}}"
tags:
- area
- errands
---
# Errands
## Tasks
- [ ] @Errands
Home.md:
---
title: "Home"
type: "area"
status: "active"
created: "{{YYYY-MM-DD}}"
tags:
- area
- home
---
# Home
## Responsibilities
- Household maintenance
- Chores
- Home projects
## Tasks
- [ ] @Home
Create folders if not exist:
{{brainFolder}}/00-inbox/
├── Daily/
└── Fleeting-Notes/
Ask: "What's one thing you're working on that has multiple steps?"
If provided:
{{brainFolder}}/01-projects/{{Name}}.md:---
title: "{{Project Name}}"
type: "project"
status: "active"
created: "{{YYYY-MM-DD}}"
outcome: "{{done state}}"
tags:
- project
---
# {{Project Name}}
## Outcome
{{What done looks like}}
## Tasks
- [ ] {{Next action}} ⏫
Add "gtd" to modules array.
Trigger: setupComplete = true, but new plugin detected that's not in modules.
"Detected new plugin: {{plugin}}. Setting up additional vault structure."
Execute the relevant module (e.g., GTD MODULE).
Add new plugin to modules array.
Output: Summary of new files created.
Trigger: setupComplete = true, no new plugins.
Read config + _system/profile.md. Display:
Options:
Execute requested change. Confirm completion.