~ / rigs / surume / dotfiles

surume/dotfiles

dotfiles

↗ GitHub ★ 4 no license updated 12d ago personal setup Claude CodeCodex
stack: RubyShell
share on X
ARCHETYPE
Fort Knox
Deny lists, pre-tool hooks, sandboxing. Nothing touches prod without a signature.
CONTEXT TAX · EVERY TURN
~1.6k 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
Quality 16/100 Guardrails v2

Copy this rig

# review before running: this installs third-party code
$ claude mcp add context7 -- npx -y @upstash/context7-mcp@latest

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.

$ claude mcp add context7 -- npx -y @upstash/context7-mcp@latest

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(rm -rf /)",
      "Bash(rm -rf ~)",
      "Bash(npm install -g:*)",
      "Bash(npm i -g:*)",
      "Bash(npm install --global:*)",
      "Bash(pnpm add -g:*)",
      "Bash(pnpm add --global:*)",
      "Bash(dart pub global activate:*)",
      "Bash(flutter pub global activate:*)"
    ],
    "ask": [
      "Bash(git commit:*)",
      "Bash(git push:*)"
    ]
  },
  "hooks": {
    "PreToolUse": [
      {
        "matcher": "Bash",
        "hooks": [
          {
            "type": "command",
            "command": "\"$HOME\"/.config/claude/hooks/codex-review-before-pr.sh"
          }
        ]
      }
    ]
  }
}

MCP servers (1)

serversourceest. tokens
Context7 npm 1.2k

Hooks (9)

eventmatcherruns
SessionStart*claude-status-hook waiting
SessionEnd*claude-status-hook cleanup
UserPromptSubmit*claude-status-hook thinking
Stop*claude-status-hook waiting
PermissionRequest*claude-status-hook paused
PostToolUse*claude-status-hook thinking
PostToolUseFailure*claude-status-hook thinking
Notificationidle_promptclaude-status-hook waiting
PreToolUseBash"$HOME"/.config/claude/hooks/codex-review-before-pr.sh

Plugins (3)

swift-lsp@claude-plugins-officialcodex@openai-codexfrontend-design@claude-plugins-official

Permissions

deny (9)
Bash(rm -rf /)
Bash(rm -rf ~)
Bash(npm install -g:*)
Bash(npm i -g:*)
Bash(npm install --global:*)
Bash(pnpm add -g:*)
Bash(pnpm add --global:*)
Bash(dart pub global activate:*)
Bash(flutter pub global activate:*)
ask (2)
Bash(git commit:*)
Bash(git push:*)
allow (55)
Bash(git status:*)
Bash(git diff:*)
Bash(git log:*)
Bash(git branch:*)
Bash(git show:*)
Bash(git ls-files:*)
Bash(git blame:*)
Bash(git stash list:*)
Bash(git remote:*)
Bash(git fetch:*)
Bash(git checkout:*)
Bash(git switch:*)
Bash(git mv:*)
Bash(git rm:*)
Bash(gh pr view:*)
Bash(gh pr list:*)
Bash(gh pr diff:*)
Bash(gh pr checks:*)
Bash(gh issue list:*)
Bash(gh issue view:*)
Bash(gh api:*)
Bash(gh run:*)
Bash(gh repo view:*)
Bash(docker:*)
Bash(docker compose:*)
Bash(brew:*)
Bash(npm:*)
Bash(npx:*)
Bash(pnpm:*)
Bash(mise:*)
Bash(make:*)
Bash(go:*)
Bash(cargo:*)
Bash(ls:*)
Bash(cat:*)
Bash(find:*)
Bash(grep:*)
Bash(rg:*)
Bash(which:*)
Bash(echo:*)
Bash(mkdir:*)
Bash(cp:*)
Bash(mv:*)
Bash(chmod:*)
Bash(head:*)
Bash(tail:*)
Bash(wc:*)
Bash(sort:*)
Bash(uniq:*)
Bash(diff:*)
Bash(curl:*)
Bash(jq:*)
Bash(yq:*)
Bash(shellcheck:*)
Bash(fish:*)

Similar rigs

copied ✓