How alanvaa06/grokbot-second-brain-os works
This repository is a markdown-and-git operating system for a team of bots, not a conventional application. Its main workflow starts with a user asking a chief-of-staff bot to install and configure a private vault, then the team shares that vault for project work and knowledge management. The graph follows capabilities and relationships documented in the README; no source excerpts were provided, so implementation-level calls and adapter internals are not inferred.
Main entry points: chief.md Chief role · librarian.md Librarian role · assistant.md Assistant role · SKILL.md Source compilation
Components 23
Bot team
- Chief role
agents/_blocks/chief.md - Assistant role
agents/_blocks/assistant.md - Librarian role
agents/_blocks/librarian.md - Shared skills
agents/_skills - Agent manual
AGENTS.md - Vault setup
agents/_skills/second-brain-init/SKILL.md - Agent creation
agents/_skills/second-brain-new-agent/SKILL.md
Shared brain
- User facts
user - Project records
projects - Project creation
agents/_skills/second-brain-new-project/SKILL.md
Knowledge workflow
- Raw sources
raw - Compiled wiki
wiki - Wiki index
wiki/_master-index.md - Wiki log
wiki/_log.md - Source compilation
agents/_skills/second-brain-compile-plan/SKILL.md - Index refresh
agents/_skills/second-brain-refresh-index/SKILL.md - Vault audit
agents/_skills/second-brain-audit/SKILL.md
Runtime adapters
- Grok Bot adapter
adapters/grok-bot - Claude Code adapter
adapters/claude-code - Generic adapter
adapters/generic - GitHub
- Obsidian
Other components
- Vault owner
Connections 24
- Vault owner → Chief role: requests setup
README.md - Chief role → Vault setup: runs setup
README.md - Vault setup → GitHub: creates private repo
README.md - Chief role → User facts: records answers
README.md - Chief role → Project records: manages projects
README.md - Chief role → Agent creation: adds agents
README.md - Chief role → Project creation: adds projects
README.md - Chief role → Assistant role: delegates work
README.md - Chief role → Librarian role: delegates work
README.md - Assistant role → Project records: reads open tasks
README.md - Assistant role → Chief role: reports to
README.md - Librarian role → Vault audit: performs audits
README.md - Librarian role → Wiki index: maintains index
README.md - Librarian role → Wiki log: maintains log
README.md - Raw sources → Source compilation: provides sources
README.md - Source compilation → Compiled wiki: compiles with approval
README.md - Index refresh → Wiki index: refreshes index
README.md - Vault owner → Obsidian: reads and edits
README.md - Obsidian → GitHub: syncs vault
README.md - Grok Bot adapter → Chief role: supports orchestration
README.md - Claude Code adapter → Source compilation: offers compile command
README.md - Claude Code adapter → Vault audit: offers audit command
README.md - Generic adapter → Chief role: prints descriptions
README.md - Agent manual → Chief role: guides behavior
README.md