~ / rigs / bukzor / dotfiles

bukzor/dotfiles

Buck's dotfiles

↗ GitHub ★ 33 no license updated 1d ago personal setup Claude Code
field: Developer tools workflow: Git & commits
share on X
ARCHETYPE
Fort Knox
Deny lists, pre-tool hooks, sandboxing. Nothing touches prod without a signature.
CONTEXT TAX · EVERY TURN
~2.2k tokens
Moderate · median rig: 2.3k · breakdown
GUARDRAILS
4/5
Blocks destructive commands · Pre-tool screening hook · No YOLO mode · Sandbox or ask-first rules · details
Quality 29/100 Guardrails v2

Copy this rig

# review before running: this installs third-party code
$ npx degit bukzor/dotfiles/.claude ./rig-dotfiles  # 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 bukzor/dotfiles/.claude/skills/claude-code-surgery .claude/skills/claude-code-surgery
$ npx degit bukzor/dotfiles/.claude/skills/mutation-testing .claude/skills/mutation-testing
$ curl -fsSL --create-dirs -o .claude/agents/effort-max.md https://raw.githubusercontent.com/bukzor/dotfiles/main/.claude/agents/effort-max.md
$ curl -fsSL --create-dirs -o .claude/agents/effort-xhigh.md https://raw.githubusercontent.com/bukzor/dotfiles/main/.claude/agents/effort-xhigh.md
$ curl -fsSL --create-dirs -o .claude/agents/frontier--ge-30min.md https://raw.githubusercontent.com/bukzor/dotfiles/main/.claude/agents/frontier--ge-30min.md
$ curl -fsSL --create-dirs -o .claude/agents/frontier--lt-2min.md https://raw.githubusercontent.com/bukzor/dotfiles/main/.claude/agents/frontier--lt-2min.md
$ curl -fsSL --create-dirs -o .claude/agents/frontier--lt-30min.md https://raw.githubusercontent.com/bukzor/dotfiles/main/.claude/agents/frontier--lt-30min.md
$ curl -fsSL --create-dirs -o .claude/agents/hard--ge-30min.md https://raw.githubusercontent.com/bukzor/dotfiles/main/.claude/agents/hard--ge-30min.md
$ curl -fsSL --create-dirs -o .claude/agents/hard--lt-2min.md https://raw.githubusercontent.com/bukzor/dotfiles/main/.claude/agents/hard--lt-2min.md
$ curl -fsSL --create-dirs -o .claude/agents/hard--lt-30min.md https://raw.githubusercontent.com/bukzor/dotfiles/main/.claude/agents/hard--lt-30min.md
$ curl -fsSL --create-dirs -o .claude/agents/mechanical.md https://raw.githubusercontent.com/bukzor/dotfiles/main/.claude/agents/mechanical.md
$ curl -fsSL --create-dirs -o .claude/agents/routine--ge-30min.md https://raw.githubusercontent.com/bukzor/dotfiles/main/.claude/agents/routine--ge-30min.md
$ curl -fsSL --create-dirs -o .claude/agents/routine--lt-2min.md https://raw.githubusercontent.com/bukzor/dotfiles/main/.claude/agents/routine--lt-2min.md
$ curl -fsSL --create-dirs -o .claude/agents/routine--lt-30min.md https://raw.githubusercontent.com/bukzor/dotfiles/main/.claude/agents/routine--lt-30min.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": [
      "TodoWrite",
      "ExitPlanMode",
      "EnterPlanMode",
      "AskUserQuestion",
      "ReportFindings",
      "TaskCreate",
      "TaskUpdate",
      "TaskList",
      "TaskGet",
      "TaskOutput",
      "Workflow",
      "CronCreate",
      "CronDelete",
      "CronList",
      "ScheduleWakeup",
      "RemoteTrigger",
      "Artifact",
      "DesignSync",
      "NotebookEdit",
      "PushNotification",
      "EnterWorktree",
      "ExitWorktree",
      "Bash(rm -rf:*)",
      "Bash(dd:*)",
      "Bash(mkfs:*)",
      "Bash(git add -A:*)",
      "Bash(git add --all:*)",
      "Bash(git add .:*)",
      "Edit(~/.claude/projects/*/memory/**)"
    ],
    "ask": [
      "SendFeedback",
      "Bash(git push:*)",
      "Bash(pnpm install:*)",
      "Bash(npm install:*)",
      "Bash(uv pip install:*)",
      "Bash(pip install:*)",
      "Bash(cargo install:*)",
      "Bash(git reset:*)",
      "Bash(sudo:*)"
    ]
  },
  "hooks": {
    "PreToolUse": [
      {
        "matcher": "Bash",
        "hooks": [
          {
            "type": "command",
            "command": "\"$HOME\"/.claude/hooks/bash-preamble.py"
          }
        ]
      }
    ]
  }
}

Skills (2)

Subagents (12)

effort-maxEscalation only, after an incomplete effort-xhigh run. Pass `model` explicitly (keep the failed run's model).
effort-xhighEscalation only, after an incomplete `*--ge-30min` run. Pass `model` explicitly (keep the failed run's model).
frontier--ge-30min
model: fable
Hardest single step is frontier-difficulty; expected runtime >=30 min. fable unavailable? Use effort-xhigh with model:opus.
frontier--lt-2min
model: fable
Hardest single step is frontier-difficulty; expected runtime <2 min. fable unavailable? Use hard--lt-30min.
frontier--lt-30min
model: fable
Hardest single step is frontier-difficulty; expected runtime 2-30 min. fable unavailable? Use hard--ge-30min.
hard--ge-30min
model: opus
Hardest single step is hard logic; expected runtime >=30 min.
hard--lt-2min
model: opus
Hardest single step is hard logic; expected runtime <2 min.
hard--lt-30min
model: opus
Hardest single step is hard logic; expected runtime 2-30 min.
mechanical
model: haiku
Hardest single step is mechanical; any expected runtime.
routine--ge-30min
model: sonnet
Hardest single step is routine; expected runtime >=30 min.
routine--lt-2min
model: sonnet
Hardest single step is routine; expected runtime <2 min.
routine--lt-30min
model: sonnet
Hardest single step is routine; expected runtime 2-30 min.

Hooks (3)

eventmatcherruns
PreToolUseBash"$HOME"/.claude/hooks/bash-preamble.py
SessionStartstartup|resumef="$HOME"/claude/mitmproxy/lib/claude_mitmproxy/binpatch.py; if [ -e "$f" ]; then exec "$f"; fi; printf '{"systemMessage": "mitmproxy binpatch skipped: %s not found"}\n' "$f"
UserPromptSubmit*"$HOME"/.claude/hooks/session-rename.py

Slash commands (10)

/breakdown/claude-workshop/commit/curl/frustration/lets-commit/session-end/session-start/session/why

Permissions

deny (29)
TodoWrite
ExitPlanMode
EnterPlanMode
AskUserQuestion
ReportFindings
TaskCreate
TaskUpdate
TaskList
TaskGet
TaskOutput
Workflow
CronCreate
CronDelete
CronList
ScheduleWakeup
RemoteTrigger
Artifact
DesignSync
NotebookEdit
PushNotification
EnterWorktree
ExitWorktree
Bash(rm -rf:*)
Bash(dd:*)
Bash(mkfs:*)
Bash(git add -A:*)
Bash(git add --all:*)
Bash(git add .:*)
Edit(~/.claude/projects/*/memory/**)
ask (9)
SendFeedback
Bash(git push:*)
Bash(pnpm install:*)
Bash(npm install:*)
Bash(uv pip install:*)
Bash(pip install:*)
Bash(cargo install:*)
Bash(git reset:*)
Bash(sudo:*)
allow (33)
WebSearch
WebFetch(domain:*)
Glob
Grep
Bash(ls:*)
Bash(pwd:*)
Bash(find:*)
Bash(which:*)
Bash(cat:*)
Bash(head:*)
Bash(tail:*)
Bash(less:*)
Bash(wc:*)
Bash(file:*)
Bash(uname:*)
Bash(mkdir -p:*)
Bash(ps:*)
Bash(git diff:*)
Bash(git show:*)
Bash(git branch:*)
Bash(git remote:*)
Bash(git config --get:*)
Bash(git add:*)
Bash(chmod:*)
Bash(pnpm list:*)
Bash(npm list:*)
Bash(uv pip list:*)
Bash(pip list:*)
Bash(cargo --version:*)
Bash(rustc --version:*)
Bash(python --version:*)
Bash(node --version:*)
Bash(./claude-jsonl-display)

Similar rigs

copied ✓