~ / rigs / dynamotn / dotfiles

dynamotn/dotfiles

My dotfiles and configuration for all devices

↗ GitHub ★ 11 bsd-2-clause updated 1d 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
~1.0k 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 dynamotn/dotfiles/home/private_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": {
    "ask": [
      "Bash(git push)",
      "Bash(git push:*)"
    ]
  },
  "hooks": {
    "PreToolUse": [
      {
        "matcher": "Bash",
        "hooks": [
          {
            "type": "command",
            "command": "rtk hook claude"
          }
        ]
      }
    ]
  }
}

Hooks (7)

eventmatcherruns
SessionStartstartup|resume|clear|compactf="${CLAUDE_PROJECT_DIR:-$PWD}/AGENTS.md"; if [ -f "$f" ] && ! [ -f "${f%AGENTS.md}CLAUDE.md" ]; then echo '=== AGENTS.md (project rules) ==='; cat "$f"; else true; fi
Stop*command -v notify-send >/dev/null 2>&1 && notify-send 'Claude' 'Task finished!' --icon=dialog-information; { command -v paplay >/dev/null 2>&1 && [ -f /usr/share/sounds/freedesktop/stereo/complete.oga ] && paplay /usr/share/sounds/freedeskt
Notification*command -v notify-send >/dev/null 2>&1 && notify-send 'Claude' 'Prompt waiting for your input!' --icon=dialog-information; true
PermissionRequest*command -v notify-send >/dev/null 2>&1 && notify-send 'Claude' 'Permission requested' --icon=dialog-question; { command -v paplay >/dev/null 2>&1 && [ -f /usr/share/sounds/freedesktop/stereo/window-question.oga ] && paplay /usr/share/sounds
PreToolUseBashrtk hook claude
WorktreeCreate*bash ~/.claude/hooks/worktree-create.sh
WorktreeRemove*bash ~/.claude/hooks/worktree-remove.sh

Plugins (1)

i-have-adhd@i-have-adhd

Permissions

deny (0)
—
ask (2)
Bash(git push)
Bash(git push:*)
allow (0)
—

Similar rigs

copied ✓