~ / rigs / izumin5210 / dotfiles

izumin5210/dotfiles

dotfiles for macOS and Codespaces

↗ GitHub ★ 22 MIT updated today personal setup Claude CodeCodex Claude plugin
share on X
ARCHETYPE
Fort Knox
Deny lists, pre-tool hooks, sandboxing. Nothing touches prod without a signature.
CONTEXT TAX · EVERY TURN
~3.2k tokens
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 40/100 Guardrails v2

Copy this rig

# review before running: this installs third-party code
$ claude mcp add --transport http context7 https://mcp.context7.com/mcp
$ claude mcp add --transport http deepwiki https://mcp.deepwiki.com/mcp
$ npx degit izumin5210/dotfiles/config/.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.

$ claude mcp add --transport http context7 https://mcp.context7.com/mcp
$ claude mcp add --transport http deepwiki https://mcp.deepwiki.com/mcp
$ npx degit izumin5210/dotfiles/config/.agents/skills/code-comments .claude/skills/code-comments

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(rm -rf /*)",
      "Bash(rm -rf .git)",
      "Bash(sudo:*)",
      "Bash(curl:*)",
      "Bash(wget:*)",
      "Bash(git push -f:*)",
      "Bash(git push --force-with-lease:*)",
      "Bash(git commit*--amend*)",
      "Bash(git commit*--no-gpg-sign*)",
      "Bash(git commit*-S false*)",
      "Bash(git reset*--hard*)",
      "Bash(dd:*)",
      "Bash(mkfs:*)",
      "Bash(fdisk:*)",
      "Bash(> /dev/*)",
      "Bash(>> /dev/*)",
      "Bash(chmod 777 /*)",
      "Bash(chown root:*)",
      "Bash(docker system prune -af)",
      "Bash(npm publish:*)",
      "Bash(pnpm publish:*)",
      "Bash(cargo publish:*)",
      "Bash(deno publish:*)",
      "Bash(npx:*)",
      "Bash(pnpx:*)",
      "Edit(/etc/**)",
      "Edit(/usr/**)",
      "Edit(/var/**)",
      "Edit(/opt/**)",
      "Edit(/bin/**)",
      "Edit(/sbin/**)",
      "Edit(/lib/**)",
      "Edit(/lib64/**)",
      "Edit(/boot/**)",
      "Edit(/proc/**)",
      "Edit(/sys/**)",
      "Edit(/dev/**)",
      "Edit(~/.ssh/id_*)",
      "Edit(~/.ssh/*_rsa)",
      "Edit(~/.ssh/*_ecdsa)",
      "Edit(~/.ssh/*_ed25519)",
      "Edit(/etc/passwd)",
      "Edit(/etc/shadow)",
      "Edit(/etc/sudoers)"
    ]
  },
  "hooks": {
    "PreToolUse": [
      {
        "matcher": "Skill",
        "hooks": [
          {
            "type": "command",
            "command": "jq -c 'if (.tool_input.skill // \"\" | test(\"^superpowers:(using-git-worktrees|finishing-a-development-branch)$\")) then {hookSpecificOutput:{hookEventName:\"PreToolUse\",permissionDecision:\"deny\",permissionDecisionReason:\"This skill is disabled"
          }
        ]
      }
    ]
  },
  "sandbox": {
    "enabled": true
  }
}

MCP servers (2)

serversourceest. tokens
Context7 remote · remote 1.2k
DeepWiki remote · remote 900

Skills (1)

Hooks (4)

eventmatcherruns
PreToolUseSkilljq -c 'if (.tool_input.skill // "" | test("^superpowers:(using-git-worktrees|finishing-a-development-branch)$")) then {hookSpecificOutput:{hookEventName:"PreToolUse",permissionDecision:"deny",permissionDecisionReason:"This skill is disabled
PermissionRequest*ccgate claude
Notification*~/.claude/scripts/notify-slack.sh
Stop*~/.claude/scripts/notify-slack.sh

Plugins (20)

claude-code-setup@claude-plugins-officialclaude-md-management@claude-plugins-officialcode-review@claude-plugins-officialcode-simplifier@claude-plugins-officialcommit-commands@claude-plugins-officialcontext7@claude-plugins-officialdatadog@claude-plugins-officialfeature-dev@claude-plugins-officialfrontend-design@claude-plugins-officiallinear@claude-plugins-officialplugin-dev@claude-plugins-officialpr-review-toolkit@claude-plugins-officialpyright-lsp@claude-plugins-officialsecurity-guidance@claude-plugins-officialsession-report@claude-plugins-officialskill-creator@claude-plugins-officialcodex@openai-codexmcp-tools@izumin5210-dotfilestypescript-native-lsp@izumin5210-dotfilesgopls-lazy-lsp@izumin5210-dotfiles

Permissions

deny (46)
Bash(rm -rf /)
Bash(rm -rf ~)
Bash(rm -rf /*)
Bash(rm -rf .git)
Bash(sudo:*)
Bash(curl:*)
Bash(wget:*)
Bash(git push -f:*)
Bash(git push --force-with-lease:*)
Bash(git commit*--amend*)
Bash(git commit*--no-gpg-sign*)
Bash(git commit*-S false*)
Bash(git reset*--hard*)
Bash(dd:*)
Bash(mkfs:*)
Bash(fdisk:*)
Bash(> /dev/*)
Bash(>> /dev/*)
Bash(chmod 777 /*)
Bash(chown root:*)
Bash(docker system prune -af)
Bash(npm publish:*)
Bash(pnpm publish:*)
Bash(cargo publish:*)
Bash(deno publish:*)
Bash(npx:*)
Bash(pnpx:*)
Edit(/etc/**)
Edit(/usr/**)
Edit(/var/**)
Edit(/opt/**)
Edit(/bin/**)
Edit(/sbin/**)
Edit(/lib/**)
Edit(/lib64/**)
Edit(/boot/**)
Edit(/proc/**)
Edit(/sys/**)
Edit(/dev/**)
Edit(~/.ssh/id_*)
Edit(~/.ssh/*_rsa)
Edit(~/.ssh/*_ecdsa)
Edit(~/.ssh/*_ed25519)
Edit(/etc/passwd)
Edit(/etc/shadow)
Edit(/etc/sudoers)
ask (0)
—
allow (86)
Read(~/src)
Edit(~/src)
WebFetch(domain:*)
Bash(ls:*)
Bash(rg:*)
Bash(mv:*)
Bash(make:*)
Bash(mkdir:*)
Bash(cp:*)
Bash(find:*)
Bash(grep:*)
Bash(cat:*)
Bash(head:*)
Bash(tail:*)
Bash(less:*)
Bash(more:*)
Bash(wc:*)
Bash(sort:*)
Bash(uniq:*)
Bash(cut:*)
Bash(awk:*)
Bash(sed:*)
Bash(which:*)
Bash(pwd:*)
Bash(date:*)
Bash(echo:*)
Bash(printf:*)
Bash(export:*)
Bash(source:*)
Bash(ln:*)
Bash(touch:*)
Bash(file:*)
Bash(stat:*)
Bash(diff:*)
Bash(cmp:*)
Bash(go test:*)
Bash(go build:*)
Bash(go fmt:*)
Bash(gofmt:*)
Bash(pnpm:*)
Bash(gh pr list:*)
Bash(gh pr view:*)
Bash(gh pr diff:*)
Bash(gh pr checks:*)
Bash(gh run list:*)
Bash(gh run view:*)
Bash(gh issue create:*)
Bash(gh issue edit:*)
Bash(git commit:*)
Bash(git add:*)
Bash(git rm --cached:*)
Bash(git push:*)
Bash(git checkout:*)
Bash(git pull:*)
Bash(git reset:*)
Bash(git cherry-pick:*)
Skill(kiro:spec-requirements)
Skill(kiro:spec-design)
Skill(kiro:spec-tasks)
Skill(kiro:spec-impl)

Similar rigs

copied ✓