~ / rigs / BrianArfi / ai-second-brain

BrianArfi/ai-second-brain

A personal AI operating system for knowledge workers. Carries your context, reaches your real tools, runs your SOPs, and learns from every correction.

↗ GitHub ★ 33 Apache-2.0 updated 26d ago project Claude Code
stack: Python
share on X
ARCHETYPE
YOLO Cowboy
Permissions? Never heard of 'em. Ships at the speed of `--dangerously-skip-permissions`.
CONTEXT TAX · EVERY TURN
~4.6k tokens
Moderate · median rig: 2.3k · breakdown
GUARDRAILS
2/5
Blocks destructive commands · Pre-tool screening hook · details
Quality 0/100 Guardrails v2

Copy this rig

# review before running: this installs third-party code
$ npx degit BrianArfi/ai-second-brain/.claude ./rig-ai-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 BrianArfi/ai-second-brain/.agent/skills/access-watch .claude/skills/access-watch
$ npx degit BrianArfi/ai-second-brain/.agent/skills/achievements-tracker .claude/skills/achievements-tracker
$ npx degit BrianArfi/ai-second-brain/.agent/skills/agy-bridge .claude/skills/agy-bridge
$ npx degit BrianArfi/ai-second-brain/.agent/skills/browser-service .claude/skills/browser-service
$ npx degit BrianArfi/ai-second-brain/.agent/skills/clickup-connector .claude/skills/clickup-connector
$ npx degit BrianArfi/ai-second-brain/.agent/skills/command-queue .claude/skills/command-queue
$ npx degit BrianArfi/ai-second-brain/.agent/skills/commitment-ledger .claude/skills/commitment-ledger
$ npx degit BrianArfi/ai-second-brain/.agent/skills/dashboard-updater .claude/skills/dashboard-updater
$ npx degit BrianArfi/ai-second-brain/.agent/skills/decision-log .claude/skills/decision-log
$ npx degit BrianArfi/ai-second-brain/.agent/skills/diagram-gen .claude/skills/diagram-gen
$ npx degit BrianArfi/ai-second-brain/.agent/skills/document-alignment .claude/skills/document-alignment
$ npx degit BrianArfi/ai-second-brain/.agent/skills/draft-reviewer .claude/skills/draft-reviewer
$ npx degit BrianArfi/ai-second-brain/.agent/skills/execution-guard .claude/skills/execution-guard
$ npx degit BrianArfi/ai-second-brain/.agent/skills/fathom-connector .claude/skills/fathom-connector
$ npx degit BrianArfi/ai-second-brain/.agent/skills/fathom-frame-grab .claude/skills/fathom-frame-grab
$ npx degit BrianArfi/ai-second-brain/.agent/skills/figma-connector .claude/skills/figma-connector
$ npx degit BrianArfi/ai-second-brain/.agent/skills/ga4-connector .claude/skills/ga4-connector
$ npx degit BrianArfi/ai-second-brain/.agent/skills/gdoc-comment .claude/skills/gdoc-comment
$ npx degit BrianArfi/ai-second-brain/.agent/skills/gdoc-surgical .claude/skills/gdoc-surgical
$ npx degit BrianArfi/ai-second-brain/.agent/skills/gdocs-create .claude/skills/gdocs-create
$ npx degit BrianArfi/ai-second-brain/.agent/skills/gdocs-writer .claude/skills/gdocs-writer
$ npx degit BrianArfi/ai-second-brain/.agent/skills/gemini-image .claude/skills/gemini-image
$ npx degit BrianArfi/ai-second-brain/.agent/skills/gmail-connector .claude/skills/gmail-connector
$ npx degit BrianArfi/ai-second-brain/.agent/skills/google-ads-connector .claude/skills/google-ads-connector
$ npx degit BrianArfi/ai-second-brain/.agent/skills/google-calendar-connector .claude/skills/google-calendar-connector
$ npx degit BrianArfi/ai-second-brain/.agent/skills/harness-health .claude/skills/harness-health
$ npx degit BrianArfi/ai-second-brain/.agent/skills/harvester .claude/skills/harvester
$ npx degit BrianArfi/ai-second-brain/.agent/skills/hyperplan .claude/skills/hyperplan
$ npx degit BrianArfi/ai-second-brain/.agent/skills/inbox-hub .claude/skills/inbox-hub
$ npx degit BrianArfi/ai-second-brain/.agent/skills/interview-assistant .claude/skills/interview-assistant
$ npx degit BrianArfi/ai-second-brain/.agent/skills/jira-connector .claude/skills/jira-connector
$ npx degit BrianArfi/ai-second-brain/.agent/skills/linear-connector .claude/skills/linear-connector
$ npx degit BrianArfi/ai-second-brain/.agent/skills/make-pdf .claude/skills/make-pdf
$ npx degit BrianArfi/ai-second-brain/.agent/skills/marketplace-product-manager .claude/skills/marketplace-product-manager
$ npx degit BrianArfi/ai-second-brain/.agent/skills/master-product-list .claude/skills/master-product-list
$ npx degit BrianArfi/ai-second-brain/.agent/skills/mcp-switcher .claude/skills/mcp-switcher
$ npx degit BrianArfi/ai-second-brain/.agent/skills/meetbot .claude/skills/meetbot
$ npx degit BrianArfi/ai-second-brain/.agent/skills/metabase-connector .claude/skills/metabase-connector
$ npx degit BrianArfi/ai-second-brain/.agent/skills/mixpanel-connector .claude/skills/mixpanel-connector
$ npx degit BrianArfi/ai-second-brain/.agent/skills/no-ai-slop .claude/skills/no-ai-slop
$ curl -fsSL --create-dirs -o .claude/agents/draft-reviewer.md https://raw.githubusercontent.com/BrianArfi/ai-second-brain/main/.claude/agents/draft-reviewer.md
$ curl -fsSL --create-dirs -o .claude/agents/draft.md https://raw.githubusercontent.com/BrianArfi/ai-second-brain/main/.claude/agents/draft.md
$ curl -fsSL --create-dirs -o .claude/agents/harvester.md https://raw.githubusercontent.com/BrianArfi/ai-second-brain/main/.claude/agents/harvester.md
$ curl -fsSL --create-dirs -o .claude/agents/hyperplan-critic.md https://raw.githubusercontent.com/BrianArfi/ai-second-brain/main/.claude/agents/hyperplan-critic.md
$ curl -fsSL --create-dirs -o .claude/agents/meeting-harvester.md https://raw.githubusercontent.com/BrianArfi/ai-second-brain/main/.claude/agents/meeting-harvester.md
$ curl -fsSL --create-dirs -o .claude/agents/report-auditor.md https://raw.githubusercontent.com/BrianArfi/ai-second-brain/main/.claude/agents/report-auditor.md

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

{
  "hooks": {
    "PreToolUse": [
      {
        "matcher": "mcp__.*[Ss]lack.*__.*(post|send|reply).*",
        "hooks": [
          {
            "type": "command",
            "command": "python3 \"${CLAUDE_PROJECT_DIR:-.}/.claude/hooks/slack_send_guard.py\""
          }
        ]
      },
      {
        "matcher": "Bash",
        "hooks": [
          {
            "type": "command",
            "command": "python3 \"${CLAUDE_PROJECT_DIR:-.}/.claude/hooks/ledger_freshness.py\""
          },
          {
            "type": "command",
            "command": "python3 \"${CLAUDE_PROJECT_DIR:-.}/.claude/hooks/conversation_claim_guard.py\""
          },
          {
            "type": "command",
            "command": "python3 \"${CLAUDE_PROJECT_DIR:-.}/.claude/hooks/send_slop_guard.py\""
          },
          {
            "type": "command",
            "command": "python3 \"${CLAUDE_PROJECT_DIR:-.}/.claude/hooks/launchd_guard.py\""
          },
          {
            "type": "command",
            "command": "python3 \"${CLAUDE_PROJECT_DIR:-.}/.claude/hooks/resource_claim_guard.py\""
          },
          {
            "type": "command",
            "command": "python3 \"${CLAUDE_PROJECT_DIR:-.}/.claude/hooks/output_hygiene.py\""
          }
        ]
      },
      {
        "matcher": "Agent|Task",
        "hooks": [
          {
            "type": "command",
            "command": "python3 \"${CLAUDE_PROJECT_DIR:-.}/.claude/hooks/agent_spend_guard.py\""
          }
        ]
      },
      {
        "matcher": "Bash|Agent|Task",
        "hooks": [
          {
            "type": "command",
            "command": "python3 \"${CLAUDE_PROJECT_DIR:-.}/.claude/hooks/context_cap.py\""
          }
        ]
      }
    ]
  }
}

Skills (66)

Subagents (6)

draft-reviewer
model: haiku
Pre-presentation reviewer for the owner's drafts (PRD, MOM, Slack message, weekly report, LinkedIn post). Use PROACTIVELY before showing any client-facing or publish-facing draft to the owner. Checks
draft
model: sonnet
First-pass writer for the owner's routine deliverables from a CLEAR source such as a MOM from a transcript, a routine Slack reply, calendar event descriptions, or a PRD section from notes. Produces a
harvester
model: haiku
Bulk read-and-extract agent for Phase-1 Harvest of weekly reports, PRDs, and briefings. Reads transcripts, MOMs, Dashboard sections, todo.md, Slack history and returns structured raw facts WITHOUT syn
hyperplan-critic
model: sonnet
Read-only adversarial critic for /hyperplan. Given a target (plan, decision, or draft) and ONE lens, reads the target and returns its strongest attacks from that lens only. Hostile by design; returns
meeting-harvester
model: haiku
Read-only harvest agent for the gather phase of /mom and /weekly-report when the source is a Fathom recording. Resolves the recording via journal/fathom_registry.json, pulls transcript + summary via t
report-auditor
model: sonnet
Audits daily briefings and Work weekly reports against the 9-checkpoint Daily Update Quality Rubric and anti-recency rules before delivery. Use after drafting any evening update or weekly report, BEFO

Hooks (37)

eventmatcherruns
SessionStart*bash "${CLAUDE_PROJECT_DIR:-.}/.agent/scripts/assert_canonical_checkout.sh"
SessionStart*python3 "${CLAUDE_PROJECT_DIR:-.}/.claude/hooks/session_git_sync.py"
SessionStart*python3 "${CLAUDE_PROJECT_DIR:-.}/.claude/hooks/retired_commands_guard.py"
SessionStart*python3 "${CLAUDE_PROJECT_DIR:-.}/.claude/hooks/dashboard_context.py"
SessionStart*python3 "${CLAUDE_PROJECT_DIR:-.}/.claude/hooks/wib_clock.py"
SessionStart*python3 "${CLAUDE_PROJECT_DIR:-.}/.claude/hooks/glm_mode.py"
SessionStart*python3 "${CLAUDE_PROJECT_DIR:-.}/.claude/hooks/routing_mode.py"
SessionStart*cd "${CLAUDE_PROJECT_DIR:-.}" && bash .agent/scripts/ensure_dashboard.sh >/dev/null 2>&1 &
SessionStart*cd "${CLAUDE_PROJECT_DIR:-.}" && bash .agent/scripts/ensure_ingest.sh >/dev/null 2>&1 &
SessionStart*python3 "${CLAUDE_PROJECT_DIR:-.}/.claude/hooks/upstream_check.py"
SessionStart*python3 "${CLAUDE_PROJECT_DIR:-.}/.claude/hooks/also_running.py"
SessionStart*python3 "${CLAUDE_PROJECT_DIR:-.}/.claude/hooks/notes_inbox.py"
PreToolUsemcp__.*[Ss]lack.*__.*(post|send|reply).*python3 "${CLAUDE_PROJECT_DIR:-.}/.claude/hooks/slack_send_guard.py"
PreToolUseBashpython3 "${CLAUDE_PROJECT_DIR:-.}/.claude/hooks/ledger_freshness.py"
PreToolUseBashpython3 "${CLAUDE_PROJECT_DIR:-.}/.claude/hooks/conversation_claim_guard.py"
PreToolUseBashpython3 "${CLAUDE_PROJECT_DIR:-.}/.claude/hooks/send_slop_guard.py"
PreToolUseBashpython3 "${CLAUDE_PROJECT_DIR:-.}/.claude/hooks/launchd_guard.py"
PreToolUseAgent|Taskpython3 "${CLAUDE_PROJECT_DIR:-.}/.claude/hooks/agent_spend_guard.py"
PreToolUseBashpython3 "${CLAUDE_PROJECT_DIR:-.}/.claude/hooks/resource_claim_guard.py"
PreToolUseBash|Agent|Taskpython3 "${CLAUDE_PROJECT_DIR:-.}/.claude/hooks/context_cap.py"
PreToolUseBashpython3 "${CLAUDE_PROJECT_DIR:-.}/.claude/hooks/output_hygiene.py"
PostToolUseWrite|Editpython3 "${CLAUDE_PROJECT_DIR:-.}/.claude/hooks/emdash_guard.py"
PostToolUseWrite|Editpython3 "${CLAUDE_PROJECT_DIR:-.}/.claude/hooks/artifact_publish_guard.py"
PostToolUseWrite|Editpython3 "${CLAUDE_PROJECT_DIR:-.}/.claude/hooks/link_guard.py"
PostToolUseWrite|Editpython3 "${CLAUDE_PROJECT_DIR:-.}/.claude/hooks/reply_draft_guard.py"
PostToolUseBash|Write|Edit|NotebookEditpython3 "${CLAUDE_PROJECT_DIR:-.}/.claude/hooks/ledger_watch.py"
PostToolUsemcp__.*[Aa]tlassian__.*(transition|edit|addComment|create|update).*python3 "${CLAUDE_PROJECT_DIR:-.}/.claude/hooks/ledger_watch.py"
PostToolUsemcp__.*[Ll]inear__.*(create|update|comment|transition|assign|archive).*python3 "${CLAUDE_PROJECT_DIR:-.}/.claude/hooks/ledger_watch.py"
Stop*python3 "${CLAUDE_PROJECT_DIR:-.}/.claude/hooks/draft_lint_stop.py"
Stop*python3 "${CLAUDE_PROJECT_DIR:-.}/.claude/hooks/ledger_guard.py"

Slash commands (37)

/artifact/autodraft/branch/capture-note/connect-google/connect-tools/cv-wins/daily-update/deck/diagram/follow-ups/hyperplan/learn/meeting-notes/meeting-prep/mockup/mom/organize-inbox/prd/rca/recap/remember/search/session/setup/sweep/sync-meetings/ticket/ulw/update-harness/user-story/weekly-planning/weekly-reflect/weekly-report/whatsapp-draft/work-tree/no-ai-slop

Permissions

deny (0)
—
ask (0)
—
allow (3)
Bash(bash .agent/scripts/detect_platform.sh:*)
Bash(python3 .agent/scripts/daily_update_runner.py --mode morning)
Bash(python3 .agent/scripts/daily_update_runner.py --mode evening)

Similar rigs

copied ✓