~ / rigs / peterhajas / dotfiles

peterhajas/dotfiles

If you see a setting, they blew it

↗ GitHub ★ 78 no license updated 2mo ago personal setup Claude CodeCodex
share on X
ARCHETYPE
YOLO Cowboy
Permissions? Never heard of 'em. Ships at the speed of `--dangerously-skip-permissions`.
CONTEXT TAX · EVERY TURN
~554 tokens
Featherweight · median rig: 2.3k · breakdown
GUARDRAILS
3/5
Blocks destructive commands · Pre-tool screening hook · Sandbox or ask-first rules · details

Copy this rig

# review before running: this installs third-party code
$ npx degit peterhajas/dotfiles/claude/.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 peterhajas/dotfiles/claude/.claude/skills/tw .claude/skills/tw

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

{
  "permissions": {
    "ask": [
      "Bash(git push:*)",
      "Bash(rm:*)"
    ]
  },
  "hooks": {
    "PreToolUse": [
      {
        "matcher": "*",
        "hooks": [
          {
            "type": "command",
            "command": "~/.claude/hooks/dispatch"
          }
        ]
      }
    ]
  }
}

Skills (1)

Hooks (7)

eventmatcherruns
UserPromptSubmit*~/.claude/hooks/dispatch
PreToolUse*~/.claude/hooks/dispatch
PostToolUse*~/.claude/hooks/dispatch
Stop*~/.claude/hooks/dispatch
SessionStart*~/.claude/hooks/dispatch
SessionEnd*~/.claude/hooks/dispatch
Notificationidle_prompt~/.claude/hooks/dispatch

Permissions

deny (0)
—
ask (2)
Bash(git push:*)
Bash(rm:*)
allow (19)
Bash(ansible-playbook:*)
Bash(curl:*)
Bash(echo $?)
Bash(find:*)
Bash(git branch:*)
Bash(git diff:*)
Bash(git log:*)
Bash(git show:*)
Bash(git status)
Bash(grep:*)
Bash(ls:*)
Bash(mkdir:*)
Bash(pwd)
Bash(python3:*)
Bash(ssh:*)
Bash(which:*)
WebSearch
Read(~/.claude/phajas_plans/**)
Write(~/.claude/phajas_plans/**)

Similar rigs

copied ✓