~ / rigs / augustyndamian / second-brain

augustyndamian/second-brain

Personal knowledge base + task manager in one repo, driven by Claude Code

↗ GitHub ★ 5 MIT updated 16d ago project Claude Code
share on X
ARCHETYPE
Pragmatist
A balanced, no-drama setup: some rules, some tools, nothing extreme.
CONTEXT TAX · EVERY TURN
~720 tokens
Featherweight · median rig: 2.3k · breakdown
GUARDRAILS
3/5
Blocks destructive commands · Protects secrets · No YOLO mode · details
Quality 26/100 Guardrails v2

Copy this rig

# review before running: this installs third-party code
$ npx degit augustyndamian/second-brain/.claude ./rig-second-brain  # 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 augustyndamian/second-brain/.claude/skills/graphify .claude/skills/graphify
$ curl -fsSL --create-dirs -o .claude/agents/kb-ops.md https://raw.githubusercontent.com/augustyndamian/second-brain/main/.claude/agents/kb-ops.md
$ curl -fsSL --create-dirs -o .claude/agents/reflector.md https://raw.githubusercontent.com/augustyndamian/second-brain/main/.claude/agents/reflector.md
$ curl -fsSL --create-dirs -o .claude/agents/scribe.md https://raw.githubusercontent.com/augustyndamian/second-brain/main/.claude/agents/scribe.md

Merge into .claude/settings.json (project) or ~/.claude/settings.json (user). Hook commands reference scripts in the source repo — copy those too.

{
  "permissions": {
    "deny": [
      "Bash(rm:*)",
      "Bash(sudo:*)",
      "Bash(cat */.local/bin/*)",
      "Bash(head */.local/bin/*)",
      "Bash(file */.local/bin/*)",
      "Bash(strings:*)",
      "Bash(xxd:*)",
      "Bash(hexdump:*)",
      "Bash(od:*)",
      "Read(.env)",
      "Read(.env.*)",
      "Edit(.env)",
      "Edit(.env.*)",
      "Write(.env)",
      "Write(.env.*)"
    ]
  }
}

Skills (1)

Subagents (3)

kb-ops
model: sonnet
Second Brain CLI gateway — the only bridge between the main context and the `kb` binary. Handles reads (today, list, show, overdue) and mutations (add, edit, move, recurring done/skip). Every delete r
reflector
model: sonnet
Weekly-review compression subagent — compresses Active observations across N areas into their archives per the memory-system rules. Pipeline: main supplies paths + digest, reflector writes a proposal
scribe
model: haiku
Append-only writer for journal/observations/planning files. Main context writes the content, scribe only persists it — validates format, appends under the right section, returns one line. Worth using

Slash commands (5)

/onboard/plan/today-eod/today-morning/weekly-review

Permissions

deny (15)
Bash(rm:*)
Bash(sudo:*)
Bash(cat */.local/bin/*)
Bash(head */.local/bin/*)
Bash(file */.local/bin/*)
Bash(strings:*)
Bash(xxd:*)
Bash(hexdump:*)
Bash(od:*)
Read(.env)
Read(.env.*)
Edit(.env)
Edit(.env.*)
Write(.env)
Write(.env.*)
ask (0)
—
allow (22)
Read
Write
Edit
Grep
Glob
Bash(date:*)
Bash(ls:*)
Bash(mkdir -p *)
Bash(kb:*)
Bash(export PATH="$HOME/.local/bin:$PATH"; kb *)
Bash(~/.local/bin/kb *)
Bash(KB_DEV=1 kb *)
Bash(KB_KANBAN_ROOT=* kb *)
Bash(tail *.kanban/events.jsonl*)
Bash(tail *.kanban/recurring-stats.jsonl*)
Bash(tail *.kanban-dev/events.jsonl*)
Bash(graphify:*)
Bash(python3 -c *)
Bash(pnpm build:*)
Bash(pnpm typecheck*)
Bash(pnpm test*)
Bash(pnpm install:local)

Similar rigs

copied ✓