~ / rigs / benkim0414 / dotfiles

benkim0414/dotfiles

My .files managed by stow

↗ GitHub ★ 0 no license updated today personal setup Claude CodeCodex Claude plugin
field: Developer tools workflow: Git & commits
share on X
ARCHETYPE
Fort Knox
Deny lists, pre-tool hooks, sandboxing. Nothing touches prod without a signature.
CONTEXT TAX · EVERY TURN
~1.9k tokens
Featherweight · 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 61/100 Guardrails v2

Copy this rig

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

$ npx degit benkim0414/dotfiles/claude/.claude/skills/eli5 .claude/skills/eli5
$ npx degit benkim0414/dotfiles/claude/.claude/skills/show-me .claude/skills/show-me

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(**/.env)",
      "Read(**/.env.*)",
      "Edit(**/.env)",
      "Edit(**/.env.*)",
      "Read(~/.ssh/**)",
      "Edit(~/.ssh/**)",
      "Read(~/.gnupg/**)",
      "Edit(~/.gnupg/**)",
      "Read(~/.aws/credentials)",
      "Edit(~/.aws/credentials)",
      "Read(~/.claude/.credentials.json)",
      "Edit(~/.claude/.credentials.json)",
      "Read(~/.kube/config)",
      "Edit(~/.kube/config)",
      "Read(~/.docker/config.json)",
      "Edit(~/.docker/config.json)",
      "Read(~/.netrc)",
      "Edit(~/.netrc)",
      "Read(~/.config/gh/hosts.yml)",
      "Edit(~/.config/gh/hosts.yml)",
      "Bash(*~/.ssh/id_rsa)",
      "Bash(*~/.ssh/id_ecdsa)",
      "Bash(*~/.ssh/id_ecdsa_sk)",
      "Bash(*~/.ssh/id_ed25519)",
      "Bash(*~/.ssh/id_ed25519_sk)",
      "Bash(*~/.ssh/id_dsa)",
      "Bash(*~/.ssh/config*)",
      "Bash(*~/.gnupg/private*)",
      "Bash(*~/.aws/credentials*)",
      "Bash(*~/.claude/.credentials*)",
      "Bash(*~/.kube/config*)",
      "Bash(*~/.docker/config.json*)",
      "Bash(*~/.netrc*)",
      "Bash(*~/.config/gh/hosts.yml*)",
      "Bash(bw get *)",
      "Bash(bw list *)",
      "Bash(bw export*)",
      "Bash(bw export --*)",
      "Bash(op read *)",
      "Bash(op item get *)",
      "Bash(op document get *)",
      "Bash(op item edit *)",
      "Bash(op vault export*)",
      "Bash(*$HOME/.ssh/id_rsa*)",
      "Bash(*$HOME/.ssh/id_ed25519*)",
      "Bash(*$HOME/.ssh/id_ecdsa*)",
      "Bash(*$HOME/.aws/credentials*)",
      "Bash(*$HOME/.claude/.credentials*)",
      "Bash(*~/.ssh/id_rsa*)",
      "Bash(*~/.ssh/id_ed25519*)",
      "Bash(*~/.aws/credentials*)",
      "Bash(*~/.claude/.credentials*)"
    ],
    "ask": [
      "Bash(rm *)",
      "Bash(rmdir *)",
      "Bash(sudo *)",
      "Bash(git push --force *)",
      "Bash(git push -f *)",
      "Bash(git push --force-with-lease *)",
      "Bash(git reset --hard *)",
      "Bash(git reset --hard)",
      "Bash(git clean -f*)",
      "Bash(git clean -f)",
      "Bash(git branch -D *)",
      "Bash(git checkout .)",
      "Bash(git restore .)",
      "Bash(git stash drop*)",
      "Bash(git stash clear*)",
      "Bash(git push --delete *)",
      "Bash(git worktree remove --force*)",
      "Bash(gh repo delete *)",
      "Bash(gh repo archive *)",
      "Bash(gh release delete *)",
      "Bash(gh pr merge *)",
      "Bash(gh pr close *)",
      "Bash(gh release create *)",
      "Bash(gh secret set *)",
      "Bash(gh issue delete *)",
      "Bash(gh cache delete *)",
      "Bash(gh secret delete *)",
      "Bash(gh variable delete *)",
      "Bash(gh label delete *)",
      "Bash(gh api --method DELETE *)",
      "Bash(gh api -X DELETE *)",
      "Bash(kubectl delete *)",
      "Bash(kubectl apply *)",
      "Bash(kubectl patch *)",
      "Bash(kubectl replace *)",
      "Bash(kubectl scale *)",
      "Bash(terraform destroy*)",
      "Bash(terraform apply*)",
      "Bash(terraform state rm *)",
      "Bash(helm uninstall *)",
      "Bash(helm upgrade *)",
      "Bash(helm install *)",
      "Bash(docker rm *)",
      "Bash(docker rmi *)",
      "Bash(docker system prune*)",
      "Bash(docker volume rm *)",
      "Bash(docker network rm *)",
      "Bash(pip install *)",
      "Bash(npm install -g *)",
      "Bash(cargo install *)",
      "Bash(go install *)",
      "Bash(curl * -X POST*)",
      "Bash(curl * -X PUT*)",
      "Bash(curl * -X DELETE*)",
      "Bash(curl * -X PATCH*)",
      "Bash(curl * --request POST*)",
      "Bash(curl * --request PUT*)",
      "Bash(curl * --request DELETE*)",
      "Bash(curl * -d *)",
      "Bash(curl * --data*)",
      "Bash(wget --post-*)",
      "Bash(chown *)",
      "Bash(dd *)",
      "Bash(mkfs*)",
      "Bash(find * -delete*)",
      "Bash(find * -exec rm*)",
      "Bash(git config --global *)",
      "Bash(git config --system *)",
      "Bash(git config *core.hooksPath*)",
      "Bash(git config *credential*)",
      "Bash(git filter-repo*)",
      "Bash(git filter-branch*)",
      "Bash(git rebase -i*)",
      "Bash(git push origin main*)",
      "Bash(git push * main*)",
      "Bash(git push * master*)",
      "Bash(npm publish*)",
      "Bash(cargo publish*)",
      "Bash(twine upload*)",
      "Bash(gem push*)"
    ]
  },
  "hooks": {
    "PreToolUse": [
      {
        "matcher": "Bash",
        "hooks": [
          {
            "type": "command",
            "command": "rtk hook claude"
          },
          {
            "type": "command",
            "command": "\"$HOME/.claude/hooks/git-stage-guard.py\""
          }
        ]
      }
    ]
  }
}

Skills (2)

Hooks (5)

eventmatcherruns
PreToolUseBashrtk hook claude
PreToolUseBash"$HOME/.claude/hooks/git-stage-guard.py"
SessionStart*f="$HOME/.hindsight/coding-agents/dist/claude-sessionstart-hook.js"; [ -f "$f" ] && exec node "$f"; exit 0
UserPromptSubmit*f="$HOME/.hindsight/coding-agents/dist/claude-hook.js"; [ -f "$f" ] && exec node "$f"; exit 0
Stop*f="$HOME/.hindsight/coding-agents/dist/claude-stop-hook.js"; [ -f "$f" ] && exec node "$f"; exit 0

Permissions

deny (52)
Read(**/.env)
Read(**/.env.*)
Edit(**/.env)
Edit(**/.env.*)
Read(~/.ssh/**)
Edit(~/.ssh/**)
Read(~/.gnupg/**)
Edit(~/.gnupg/**)
Read(~/.aws/credentials)
Edit(~/.aws/credentials)
Read(~/.claude/.credentials.json)
Edit(~/.claude/.credentials.json)
Read(~/.kube/config)
Edit(~/.kube/config)
Read(~/.docker/config.json)
Edit(~/.docker/config.json)
Read(~/.netrc)
Edit(~/.netrc)
Read(~/.config/gh/hosts.yml)
Edit(~/.config/gh/hosts.yml)
Bash(*~/.ssh/id_rsa)
Bash(*~/.ssh/id_ecdsa)
Bash(*~/.ssh/id_ecdsa_sk)
Bash(*~/.ssh/id_ed25519)
Bash(*~/.ssh/id_ed25519_sk)
Bash(*~/.ssh/id_dsa)
Bash(*~/.ssh/config*)
Bash(*~/.gnupg/private*)
Bash(*~/.aws/credentials*)
Bash(*~/.claude/.credentials*)
Bash(*~/.kube/config*)
Bash(*~/.docker/config.json*)
Bash(*~/.netrc*)
Bash(*~/.config/gh/hosts.yml*)
Bash(bw get *)
Bash(bw list *)
Bash(bw export*)
Bash(bw export --*)
Bash(op read *)
Bash(op item get *)
Bash(op document get *)
Bash(op item edit *)
Bash(op vault export*)
Bash(*$HOME/.ssh/id_rsa*)
Bash(*$HOME/.ssh/id_ed25519*)
Bash(*$HOME/.ssh/id_ecdsa*)
Bash(*$HOME/.aws/credentials*)
Bash(*$HOME/.claude/.credentials*)
Bash(*~/.ssh/id_rsa*)
Bash(*~/.ssh/id_ed25519*)
Bash(*~/.aws/credentials*)
Bash(*~/.claude/.credentials*)
ask (105)
Bash(rm *)
Bash(rmdir *)
Bash(sudo *)
Bash(git push --force *)
Bash(git push -f *)
Bash(git push --force-with-lease *)
Bash(git reset --hard *)
Bash(git reset --hard)
Bash(git clean -f*)
Bash(git clean -f)
Bash(git branch -D *)
Bash(git checkout .)
Bash(git restore .)
Bash(git stash drop*)
Bash(git stash clear*)
Bash(git push --delete *)
Bash(git worktree remove --force*)
Bash(gh repo delete *)
Bash(gh repo archive *)
Bash(gh release delete *)
Bash(gh pr merge *)
Bash(gh pr close *)
Bash(gh release create *)
Bash(gh secret set *)
Bash(gh issue delete *)
Bash(gh cache delete *)
Bash(gh secret delete *)
Bash(gh variable delete *)
Bash(gh label delete *)
Bash(gh api --method DELETE *)
Bash(gh api -X DELETE *)
Bash(kubectl delete *)
Bash(kubectl apply *)
Bash(kubectl patch *)
Bash(kubectl replace *)
Bash(kubectl scale *)
Bash(terraform destroy*)
Bash(terraform apply*)
Bash(terraform state rm *)
Bash(helm uninstall *)
Bash(helm upgrade *)
Bash(helm install *)
Bash(docker rm *)
Bash(docker rmi *)
Bash(docker system prune*)
Bash(docker volume rm *)
Bash(docker network rm *)
Bash(pip install *)
Bash(npm install -g *)
Bash(cargo install *)
Bash(go install *)
Bash(curl * -X POST*)
Bash(curl * -X PUT*)
Bash(curl * -X DELETE*)
Bash(curl * -X PATCH*)
Bash(curl * --request POST*)
Bash(curl * --request PUT*)
Bash(curl * --request DELETE*)
Bash(curl * -d *)
Bash(curl * --data*)
allow (53)
Read
Glob
Grep
Write
Edit
NotebookEdit
Bash(git add *)
Bash(git commit *)
Bash(git switch *)
Bash(git checkout -b *)
Bash(git restore --staged *)
Bash(git stash push*)
Bash(git stash pop*)
Bash(git fetch*)
Bash(git worktree add *)
Bash(git branch -d *)
Bash(git rebase --continue)
Bash(git rebase --abort)
Bash(git merge --abort)
Bash(gh pr view *)
Bash(gh pr list*)
Bash(gh pr diff *)
Bash(gh pr checks *)
Bash(gh issue view *)
Bash(gh issue list*)
Bash(gh run view *)
Bash(gh run list*)
Bash(rg *)
Bash(fd *)
Bash(jq *)
Bash(tree*)
Bash(stow -n *)
Bash(brew list*)
Bash(brew info *)
Bash(mkdir -p *)
WebFetch
WebSearch
Agent
AskUserQuestion
EnterPlanMode
ExitPlanMode
EnterWorktree
ExitWorktree
Skill
ToolSearch
TaskCreate
TaskGet
TaskList
TaskStop
TaskUpdate
CronList
mcp__atlassian__*
mcp__slack__*

Similar rigs

copied ✓