~ / rigs / adriandlam / dotfiles

adriandlam/dotfiles

macOS dotfiles: OmniWM, Ghostty, LazyVim, Zed, zsh — linked with GNU Stow

↗ GitHub ★ 1 no license updated 1d ago personal setup Claude CodeCodex
stack: LuaShell
share on X
ARCHETYPE
Fort Knox
Deny lists, pre-tool hooks, sandboxing. Nothing touches prod without a signature.
CONTEXT TAX · EVERY TURN
up to ~5.1k tokens
Claude Code loads MCP tools on demand, so the real cost is usually lower.
Moderate · median rig: 2.3k · breakdown
GUARDRAILS
5/5
Blocks destructive commands · Protects secrets · Pre-tool screening hook · No YOLO mode · Sandbox or ask-first rules · details
Quality 32/100 Guardrails v2

Copy this rig

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

$ curl -fsSL --create-dirs -o .claude/agents/Explore.md https://raw.githubusercontent.com/adriandlam/dotfiles/main/.claude/agents/Explore.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": [
      "Read(~/.ssh/**)",
      "Edit(~/.ssh/**)",
      "Read(~/.aws/**)",
      "Edit(~/.aws/**)",
      "Read(~/.gnupg/**)",
      "Read(~/.zshenv.local)",
      "Edit(~/.zshenv.local)",
      "Read(~/.config/gh/hosts.yml)",
      "Read(**/*.pem)",
      "Read(**/*.p12)",
      "Read(**/id_rsa*)",
      "Read(**/id_ed25519*)",
      "Bash(rm -rf /*)",
      "Bash(rm -rf ~*)",
      "Bash(chmod -R 777 *)",
      "Bash(git push --force *)",
      "Bash(git push -f *)"
    ],
    "ask": [
      "Bash(git push)",
      "Bash(git push *)",
      "Bash(gh pr merge *)",
      "Bash(gh release *)",
      "Bash(gh repo delete *)",
      "Bash(npm publish *)",
      "Bash(pnpm publish *)",
      "Bash(bun publish *)",
      "Bash(cargo publish *)",
      "Bash(stow *)",
      "Bash(sudo *)"
    ]
  },
  "hooks": {
    "PreToolUse": [
      {
        "matcher": "Bash",
        "hooks": [
          {
            "type": "command",
            "command": "~/.claude/hooks/block-no-verify.sh"
          }
        ]
      }
    ]
  }
}

MCP servers (2)

serversourceest. tokens
node_repl
env: BROWSER_USE_AVAILABLE_BACKENDS, BROWSER_USE_CODEX_APP_BUILD_FLAVOR, BROWSER_USE_CODEX_APP_VERSION, BROWSER_USE_TINYSKY_ENABLED, CODEX_CLI_PATH +10
local / custom 2.5k
computer-use local / custom 2.5k

Subagents (1)

Explore
model: haiku
Read-only search agent for broad fan-out searches — when answering means sweeping many files, directories, or naming conventions and you only need the conclusion, not the file dumps. Locates code; doe

Hooks (2)

eventmatcherruns
PreToolUseBash~/.claude/hooks/block-no-verify.sh
PostToolUseEdit|Write~/.claude/hooks/zsh-syntax-check.sh

Plugins (17)

hookify@claude-plugins-officialsecurity-guidance@claude-plugins-officialrust-analyzer-lsp@claude-plugins-officialpyright-lsp@claude-plugins-officialponytail@ponytailremember@claude-plugins-officiali-have-adhd@i-have-adhdcc-plugin-you-should-know@builtincctop@my-modsaside@my-modsgh-ci-status@my-modsneon-postgres@neonflightdeck@claude-flightdeckeffort-cycle@anercoconnect@claude-connectconnect-rows@claude-connectfigma@claude-plugins-official

Permissions

deny (17)
Read(~/.ssh/**)
Edit(~/.ssh/**)
Read(~/.aws/**)
Edit(~/.aws/**)
Read(~/.gnupg/**)
Read(~/.zshenv.local)
Edit(~/.zshenv.local)
Read(~/.config/gh/hosts.yml)
Read(**/*.pem)
Read(**/*.p12)
Read(**/id_rsa*)
Read(**/id_ed25519*)
Bash(rm -rf /*)
Bash(rm -rf ~*)
Bash(chmod -R 777 *)
Bash(git push --force *)
Bash(git push -f *)
ask (11)
Bash(git push)
Bash(git push *)
Bash(gh pr merge *)
Bash(gh release *)
Bash(gh repo delete *)
Bash(npm publish *)
Bash(pnpm publish *)
Bash(bun publish *)
Bash(cargo publish *)
Bash(stow *)
Bash(sudo *)
allow (6)
Read
Glob
Grep
Skill
WebFetch
WebSearch

Similar rigs

copied ✓