~ / rigs / Gladiarn / glad-brain-template

Gladiarn/glad-brain-template

A second brain for Claude Code, synced across every PC: Obsidian vault memory, graphify knowledge graph, Gemini-filed saves with Claude fallback, per-project plans. Built on obsidian-mind.

↗ GitHub ★ 0 MIT updated 21d ago project Claude CodeCodexGemini CLI Claude plugin
stack: TypeScript
share on X
ARCHETYPE
Orchestrator
A bench of specialised subagents. The main agent mostly delegates.
CONTEXT TAX · EVERY TURN
~9.0k tokens
Heavy · median rig: 2.3k · breakdown
GUARDRAILS
1/5
No YOLO mode · details
Quality 23/100 Guardrails v2

Copy this rig

# review before running: this installs third-party code
$ npx degit Gladiarn/glad-brain-template/.claude ./rig-glad-brain-template  # inspect, then merge into .claude/

MCP servers are added to Claude Code at local scope; env vars are shown as YOUR_… placeholders — we never store values. Files are fetched with degit into a separate folder so you can review before merging.

$ npx degit Gladiarn/glad-brain-template/.claude/skills/defuddle .claude/skills/defuddle
$ npx degit Gladiarn/glad-brain-template/.claude/skills/excalidraw-diagram .claude/skills/excalidraw-diagram
$ npx degit Gladiarn/glad-brain-template/.claude/skills/json-canvas .claude/skills/json-canvas
$ npx degit Gladiarn/glad-brain-template/.claude/skills/mermaid-visualizer .claude/skills/mermaid-visualizer
$ npx degit Gladiarn/glad-brain-template/.claude/skills/obsidian-bases .claude/skills/obsidian-bases
$ npx degit Gladiarn/glad-brain-template/.claude/skills/obsidian-cli .claude/skills/obsidian-cli
$ npx degit Gladiarn/glad-brain-template/.claude/skills/obsidian-markdown .claude/skills/obsidian-markdown
$ npx degit Gladiarn/glad-brain-template/.claude/skills/qmd .claude/skills/qmd
$ curl -fsSL --create-dirs -o .claude/agents/client-profiler.md https://raw.githubusercontent.com/Gladiarn/glad-brain-template/main/.claude/agents/client-profiler.md
$ curl -fsSL --create-dirs -o .claude/agents/context-loader.md https://raw.githubusercontent.com/Gladiarn/glad-brain-template/main/.claude/agents/context-loader.md
$ curl -fsSL --create-dirs -o .claude/agents/correction-sweep.md https://raw.githubusercontent.com/Gladiarn/glad-brain-template/main/.claude/agents/correction-sweep.md
$ curl -fsSL --create-dirs -o .claude/agents/cross-linker.md https://raw.githubusercontent.com/Gladiarn/glad-brain-template/main/.claude/agents/cross-linker.md
$ curl -fsSL --create-dirs -o .claude/agents/portfolio-spotter.md https://raw.githubusercontent.com/Gladiarn/glad-brain-template/main/.claude/agents/portfolio-spotter.md
$ curl -fsSL --create-dirs -o .claude/agents/vault-librarian.md https://raw.githubusercontent.com/Gladiarn/glad-brain-template/main/.claude/agents/vault-librarian.md
$ curl -fsSL --create-dirs -o .claude/agents/vault-migrator.md https://raw.githubusercontent.com/Gladiarn/glad-brain-template/main/.claude/agents/vault-migrator.md

This rig commits no guardrails. Here is the community baseline instead — the deny/ask rules most often found across all 16.2k rigs:

{
  "permissions": {
    "deny": [
      "Read(./.env)",
      "Read(./.env.*)",
      "Read(**/.env)",
      "Read(~/.ssh/**)",
      "Bash(git push --force:*)",
      "Read(**/*.pem)",
      "Read(.env)",
      "Read(~/.aws/**)",
      "Read(**/*.key)",
      "Read(**/.env.*)",
      "Bash(git push --force*)",
      "Bash(rm -rf:*)",
      "Bash(rm -rf *)",
      "Bash(sudo *)",
      "Bash(sudo:*)",
      "Bash(rm -rf /)",
      "Bash(git push -f:*)",
      "Read(.env.*)",
      "Bash(git reset --hard*)",
      "Bash(rm -rf /*)"
    ],
    "ask": [
      "Bash(git push:*)",
      "Bash(git push *)",
      "Bash(gh pr merge *)",
      "Bash(git commit:*)",
      "Bash(rm *)",
      "Bash(gh pr merge:*)",
      "Bash(gh pr create *)",
      "Bash(git reset --hard:*)",
      "Bash(npm publish:*)",
      "Bash(git rebase *)"
    ]
  }
}

MCP servers (1)

serversourceest. tokens
qmd local / custom 2.5k

Skills (8)

Subagents (7)

client-profiler
model: sonnet
Create or update client and contact notes from what is already in the vault plus what the owner says. Given client or contact names with whatever context the owner provides, checks the vault for exist
context-loader
model: sonnet
Load all vault context about a specific topic — person, project, incident, team, or concept. Gathers notes, backlinks, mentions, timeline, and produces a synthesized briefing.
correction-sweep
model: sonnet
Find every note restating a corrected fact and classify each as authoritative, restatement, or historical. Discovery and judgement only — never edits. Invoked by /om-correct, or when a fact has been c
cross-linker
model: sonnet
Scan recent or specified notes for missing wikilinks. Finds mentions of clients, contacts, projects, craft areas, and incidents that should be linked but aren't. Suggests missing bidirectional links f
portfolio-spotter
model: sonnet
Proactively scans for achievements and wins that aren't in the portfolio yet. Checks recent work notes, production bug fixes, git history, and client feedback for portfolio-worthy items.
vault-librarian
model: sonnet
Run vault maintenance: detect orphan notes, find broken wikilinks, validate frontmatter completeness, flag stale active notes, check cross-linking integrity. Invoke via /om-vault-audit or when the use
vault-migrator
model: sonnet
Classify, transform, and migrate vault content from a source vault into this obsidian-mind instance. Two modes: classification (analyze source, return map) and execution (given approved plan, perform

Hooks (5)

eventmatcherruns
SessionStartstartup|resume|clear|compactnode --disable-warning=ExperimentalWarning --experimental-strip-types "$(r="${CLAUDE_PROJECT_DIR:-.}"; d="$r"; while [ ! -f "$d/vault-manifest.json" ] && p="$(dirname "$d")" && [ "$d" != "$p" ]; do d="$p"; done; [ -f "$d/vault-manifest.json
UserPromptSubmit*node --disable-warning=ExperimentalWarning --experimental-strip-types "$(r="${CLAUDE_PROJECT_DIR:-.}"; d="$r"; while [ ! -f "$d/vault-manifest.json" ] && p="$(dirname "$d")" && [ "$d" != "$p" ]; do d="$p"; done; [ -f "$d/vault-manifest.json
PostToolUseWrite|Editnode --disable-warning=ExperimentalWarning --experimental-strip-types "$(r="${CLAUDE_PROJECT_DIR:-.}"; d="$r"; while [ ! -f "$d/vault-manifest.json" ] && p="$(dirname "$d")" && [ "$d" != "$p" ]; do d="$p"; done; [ -f "$d/vault-manifest.json
PreCompact*node --disable-warning=ExperimentalWarning --experimental-strip-types "$(r="${CLAUDE_PROJECT_DIR:-.}"; d="$r"; while [ ! -f "$d/vault-manifest.json" ] && p="$(dirname "$d")" && [ "$d" != "$p" ]; do d="$p"; done; [ -f "$d/vault-manifest.json
Stop*node --disable-warning=ExperimentalWarning --experimental-strip-types "$(r="${CLAUDE_PROJECT_DIR:-.}"; d="$r"; while [ ! -f "$d/vault-manifest.json" ] && p="$(dirname "$d")" && [ "$d" != "$p" ]; do d="$p"; done; [ -f "$d/vault-manifest.json

Slash commands (13)

/om-correct/om-dump/om-humanize/om-incident-capture/om-intake/om-meeting/om-project-archive/om-standup/om-tidy/om-vault-audit/om-vault-upgrade/om-weekly/om-wrap-up

Similar rigs

copied ✓