~ / rigs / rlch / dotfiles

rlch/dotfiles

neovim + aerospace + wezterm + zellij - I don't like my mouse

↗ GitHub ★ 19 no license updated today personal setup Claude Code
share on X
ARCHETYPE
YOLO Cowboy
Permissions? Never heard of 'em. Ships at the speed of `--dangerously-skip-permissions`.
CONTEXT TAX · EVERY TURN
~4.0k tokens
Moderate · median rig: 2.3k · breakdown
GUARDRAILS
3/5
Blocks destructive commands · Protects secrets · Pre-tool screening hook · details

Copy this rig

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

$ npx degit rlch/dotfiles/dot_agents/skills/browser .claude/skills/browser
$ npx degit rlch/dotfiles/dot_agents/skills/dotfiles .claude/skills/dotfiles
$ curl -fsSL --create-dirs -o .claude/agents/fix.md https://raw.githubusercontent.com/rlch/dotfiles/main/dot_claude/agents/fix.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": [
      "Artifact",
      "Bash(rm -rf /)",
      "Bash(rm -rf /*)",
      "Bash(sudo rm -rf /)",
      "Bash(shutdown:*)",
      "Bash(reboot:*)",
      "Bash(halt:*)",
      "Bash(poweroff:*)",
      "Bash(sudo passwd:*)",
      "Bash(sudo useradd:*)",
      "Bash(sudo userdel:*)",
      "Bash(sudo rm /etc/*)",
      "Bash(sudo > /etc/*)",
      "Bash(docker run --privileged:*)",
      "Bash(docker run --pid=host:*)",
      "Bash(docker run -v /:/host *)",
      "Bash(git push --force origin main:*)",
      "Bash(git push --force origin master:*)",
      "Bash(git push -f origin main:*)",
      "Bash(git push -f origin master:*)",
      "Bash(cat ~/.aws/*)",
      "Bash(cat ~/.ssh/id_*)"
    ]
  },
  "hooks": {
    "PreToolUse": [
      {
        "matcher": "Bash|Edit|Write|MultiEdit|NotebookEdit|Agent",
        "hooks": [
          {
            "type": "command",
            "command": "~/.claude/guard.py"
          }
        ]
      },
      {
        "matcher": "Bash",
        "hooks": [
          {
            "type": "command",
            "command": "~/.claude/rtk-hook.sh"
          }
        ]
      },
      {
        "matcher": "AskUserQuestion",
        "hooks": [
          {
            "type": "command",
            "command": "'/opt/homebrew/bin/moshi-hook' claude-hook"
          }
        ]
      },
      {
        "matcher": "ExitPlanMode",
        "hooks": [
          {
            "type": "command",
            "command": "'/opt/homebrew/bin/moshi-hook' claude-hook"
          }
        ]
      },
      {
        "matcher": "*",
        "hooks": [
          {
            "type": "command",
            "command": "bash '~/.claude/hooks/herdr-agent-state.sh' working"
          }
        ]
      }
    ]
  }
}

Skills (2)

Subagents (1)

fix
model: sonnet
A small, ruled fix dispatched from a QA walk or a review — one loop at effort high. Pass model:opus for an ordinary fix; the default is Sonnet for a one-file change.

Hooks (29)

eventmatcherruns
Notification*~/.local/share/uv/tools/ccgram/bin/python -m ccgram.main hook
PermissionRequest*'/opt/homebrew/bin/moshi-hook' claude-hook
PermissionRequest*bash '~/.claude/hooks/herdr-agent-state.sh' blocked
PostToolUseAskUserQuestion'/opt/homebrew/bin/moshi-hook' claude-hook
PostToolUseExitPlanMode'/opt/homebrew/bin/moshi-hook' claude-hook
PreToolUseBash|Edit|Write|MultiEdit|NotebookEdit|Agent~/.claude/guard.py
PreToolUseBash~/.claude/rtk-hook.sh
PreToolUseAskUserQuestion'/opt/homebrew/bin/moshi-hook' claude-hook
PreToolUseExitPlanMode'/opt/homebrew/bin/moshi-hook' claude-hook
PreToolUse*bash '~/.claude/hooks/herdr-agent-state.sh' working
SessionEnd.*~/.claude/improvement-capture.py
SessionEnd.*~/.local/share/uv/tools/ccgram/bin/python -m ccgram.main hook
SessionEnd.*~/.claude/lsp-cleanup-hook.sh
SessionEnd*'/opt/homebrew/bin/moshi-hook' claude-hook
SessionEnd*bash '~/.claude/hooks/herdr-agent-state.sh' release
SessionStart*~/.local/share/uv/tools/ccgram/bin/python -m ccgram.main hook
SessionStart*bash '~/.claude/hooks/herdr-agent-state.sh' session
SessionStart*'/opt/homebrew/bin/moshi-hook' claude-hook
Stop*~/.local/share/uv/tools/ccgram/bin/python -m ccgram.main hook
Stop*~/.claude/herdr-title.sh
Stop*'/opt/homebrew/bin/moshi-hook' claude-hook
Stop*bash '~/.claude/hooks/herdr-agent-state.sh' idle
StopFailure*~/.local/share/uv/tools/ccgram/bin/python -m ccgram.main hook
SubagentStart*~/.local/share/uv/tools/ccgram/bin/python -m ccgram.main hook
SubagentStop*~/.local/share/uv/tools/ccgram/bin/python -m ccgram.main hook
TaskCompleted*~/.local/share/uv/tools/ccgram/bin/python -m ccgram.main hook
TeammateIdle*~/.local/share/uv/tools/ccgram/bin/python -m ccgram.main hook
UserPromptSubmit*'/opt/homebrew/bin/moshi-hook' claude-hook
UserPromptSubmit*bash '~/.claude/hooks/herdr-agent-state.sh' working

Plugins (11)

clangd-lsp@claude-plugins-officialcloudflare@claude-plugins-officialcommit-commands@claude-plugins-officialfigma@claude-plugins-officialgopls-lsp@claude-plugins-officiallua-lsp@claude-plugins-officialpyright-lsp@claude-plugins-officialrust-analyzer-lsp@claude-plugins-officialskill-creator@claude-plugins-officialswift-lsp@claude-plugins-officialtypescript-lsp@claude-plugins-official

Permissions

deny (22)
Artifact
Bash(rm -rf /)
Bash(rm -rf /*)
Bash(sudo rm -rf /)
Bash(shutdown:*)
Bash(reboot:*)
Bash(halt:*)
Bash(poweroff:*)
Bash(sudo passwd:*)
Bash(sudo useradd:*)
Bash(sudo userdel:*)
Bash(sudo rm /etc/*)
Bash(sudo > /etc/*)
Bash(docker run --privileged:*)
Bash(docker run --pid=host:*)
Bash(docker run -v /:/host *)
Bash(git push --force origin main:*)
Bash(git push --force origin master:*)
Bash(git push -f origin main:*)
Bash(git push -f origin master:*)
Bash(cat ~/.aws/*)
Bash(cat ~/.ssh/id_*)
ask (0)
—
allow (1)
Bash(herdr agent start:*)

Similar rigs

copied ✓