~ / rigs / jaymcgavren / dotfiles

jaymcgavren/dotfiles

My linux/unix/osx config files for the shell and various applications.

↗ GitHub ★ 33 MIT updated 23d ago personal setup Claude CodeCodex
share on X
ARCHETYPE
Fort Knox
Deny lists, pre-tool hooks, sandboxing. Nothing touches prod without a signature.
CONTEXT TAX · EVERY TURN
~864 tokens
Featherweight · median rig: 2.3k · breakdown
GUARDRAILS
4/5
Blocks destructive commands · Pre-tool screening hook · No YOLO mode · Sandbox or ask-first rules · details

Copy this rig

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

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(gh pr comment *)",
      "Bash(gh issue comment *)",
      "Bash(git add -A*)",
      "Bash(git add --all*)",
      "Bash(git add .)"
    ],
    "ask": [
      "Bash(git push *)",
      "Bash(rails runner *)"
    ]
  },
  "hooks": {
    "PreToolUse": [
      {
        "matcher": "Bash",
        "hooks": [
          {
            "type": "command",
            "command": "~/.claude/hooks/bundle-exec-rewrite.sh"
          },
          {
            "type": "command",
            "command": "~/.claude/hooks/git-c-rewrite.sh"
          },
          {
            "type": "command",
            "command": "~/.claude/hooks/block-github-comment-create.sh"
          }
        ]
      }
    ]
  }
}

Hooks (3)

eventmatcherruns
PreToolUseBash~/.claude/hooks/bundle-exec-rewrite.sh
PreToolUseBash~/.claude/hooks/git-c-rewrite.sh
PreToolUseBash~/.claude/hooks/block-github-comment-create.sh

Plugins (3)

chrome-devtools-mcp@chrome-devtools-pluginsruby-lsp@claude-plugins-officialsuperpowers@claude-plugins-official

Permissions

deny (5)
Bash(gh pr comment *)
Bash(gh issue comment *)
Bash(git add -A*)
Bash(git add --all*)
Bash(git add .)
ask (2)
Bash(git push *)
Bash(rails runner *)
allow (23)
Bash(awk *)
Bash(bundle exec rspec *)
Bash(bundle exec rubocop *)
Bash(chezmoi diff *)
Bash(find *)
Bash(gh api *)
Bash(gh pr *)
Bash(git add *)
Bash(git commit *)
Bash(git log *)
Bash(git status:*)
Bash(grep *)
Bash(jq *)
Bash(ls *)
Bash(mise ls *)
Bash(rg *)
Bash(short api *)
Bash(short story *)
Bash(wc *)
mcp__shortcut__epics-get-by-id
mcp__shortcut__stories-get-by-id
mcp__shortcut__users-get-current
Read(~/.claude/**)

Similar rigs

copied ✓