~ / rigs / tomy0000000 / dotfiles

tomy0000000/dotfiles

🧾🔌 My setup scripts and .files for development runtime

↗ GitHub ★ 2 MIT updated today 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
~3.0k 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 24/100 Guardrails v2

Copy this rig

# review before running: this installs third-party code
$ npx degit tomy0000000/dotfiles/pkg/ai-config/stow/.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 tomy0000000/dotfiles/.claude/skills/pkg-editor .claude/skills/pkg-editor
$ npx degit tomy0000000/dotfiles/.claude/skills/pkg-readme .claude/skills/pkg-readme
$ npx degit tomy0000000/dotfiles/pkg/ai-config/skills/rule-editor .claude/skills/rule-editor

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(env)",
      "Bash(git push --force:*)",
      "Bash(git push -f:*)",
      "Bash(printenv)",
      "Bash(printenv * | *)",
      "Bash(printenv *TOKEN*)",
      "Bash(printenv *KEY*)",
      "Bash(printenv *ID*)",
      "Bash(printenv *DATABASE_URL*)",
      "Read(.env)",
      "Read(.env.local)",
      "Read(.env.*.local)",
      "Read(.env.production)",
      "Read(.env.development)",
      "Read(.env.test)",
      "Read(~/.aws/credentials)",
      "Read(~/.ssh/**)"
    ],
    "ask": [
      "Skill(update-config)",
      "Bash(brew install:*)",
      "Bash(brew uninstall:*)",
      "Bash(gh api:*)"
    ]
  },
  "hooks": {
    "PreToolUse": [
      {
        "matcher": "Bash",
        "hooks": [
          {
            "type": "command",
            "command": "${HOME}/.claude/shell-conventions.sh"
          }
        ]
      }
    ]
  },
  "sandbox": {
    "enabled": true
  }
}

Skills (3)

Hooks (3)

eventmatcherruns
Notification*${HOME}/.claude/notification.sh
PreToolUseBash${HOME}/.claude/shell-conventions.sh
SessionStartstartup[ -f "${HOME}/.claude/CLAUDE-work.md" ] && cat "${HOME}/.claude/CLAUDE-work.md" || true

Plugins (2)

claude-code-setup@claude-plugins-officialgopls-lsp@claude-plugins-official

Permissions

deny (17)
Bash(env)
Bash(git push --force:*)
Bash(git push -f:*)
Bash(printenv)
Bash(printenv * | *)
Bash(printenv *TOKEN*)
Bash(printenv *KEY*)
Bash(printenv *ID*)
Bash(printenv *DATABASE_URL*)
Read(.env)
Read(.env.local)
Read(.env.*.local)
Read(.env.production)
Read(.env.development)
Read(.env.test)
Read(~/.aws/credentials)
Read(~/.ssh/**)
ask (4)
Skill(update-config)
Bash(brew install:*)
Bash(brew uninstall:*)
Bash(gh api:*)
allow (101)
Bash(awk:*)
Bash(bazel build:*)
Bash(bazel cquery:*)
Bash(bazel query:*)
Bash(bazel run:*)
Bash(bazel shutdown:*)
Bash(bazel test:*)
Bash(bk:*)
Bash(brew info:*)
Bash(brew list:*)
Bash(brew search:*)
Bash(cargo:*)
Bash(chmod:*)
Bash(cp:*)
Bash(cut:*)
Bash(date:*)
Bash(diff:*)
Bash(dig:*)
Bash(docker images:*)
Bash(docker logs:*)
Bash(docker ps:*)
Bash(echo "exit=$?")
Bash(fd:*)
Bash(git check-ignore:*)
Bash(git branch:*)
Bash(git diff:*)
Bash(git fetch:*)
Bash(git grep:*)
Bash(git log:*)
Bash(git ls-tree:*)
Bash(git rev-parse HEAD)
Bash(git show:*)
Bash(git status:*)
Bash(gh issue list:*)
Bash(gh issue view:*)
Bash(gh pr checks:*)
Bash(gh pr list:*)
Bash(gh pr view:*)
Bash(gh run view:*)
Bash(gh search *)
Bash(gt sync:*)
Bash(gt log:*)
Bash(host:*)
Bash(jq:*)
Bash(just:*)
Bash(kubectl get:*)
Bash(kubectl logs:*)
Bash(ln:*)
Bash(ls *)
Bash(make:*)
Bash(md5:*)
Bash(mkdir:*)
Bash(mktemp *)
Bash(mv:*)
Bash(npm:*)
Bash(open:*)
Bash(pip:*)
Bash(pnpm:*)
Bash(printenv *)
Bash(pwd)

Similar rigs

copied ✓