~ / rigs / gcunhapoatek / dotfiles

gcunhapoatek/dotfiles

My $HOME in version control. Pray it stows clean.

↗ GitHub ★ 0 no license updated 1mo ago personal setup Claude Code
stack: LuaShell
share on X
ARCHETYPE
Fort Knox
Deny lists, pre-tool hooks, sandboxing. Nothing touches prod without a signature.
CONTEXT TAX · EVERY TURN
~4.9k 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 38/100 Guardrails v2

Copy this rig

# review before running: this installs third-party code
$ npx degit gcunhapoatek/dotfiles/claude/.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 gcunhapoatek/dotfiles/claude/.claude/skills/handover .claude/skills/handover
$ npx degit gcunhapoatek/dotfiles/claude/.claude/skills/humanize-text .claude/skills/humanize-text
$ npx degit gcunhapoatek/dotfiles/claude/.claude/skills/nestjs .claude/skills/nestjs
$ npx degit gcunhapoatek/dotfiles/claude/.claude/skills/session-learnings .claude/skills/session-learnings

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(sudo:*)",
      "Bash(chmod *777*)",
      "Bash(eval:*)",
      "Read(~/.ssh/**)",
      "Read(~/.gnupg/**)",
      "Read(~/.aws/credentials*)",
      "Read(**/.env)",
      "Read(**/.env.local)",
      "Read(**/.env.*.local)",
      "Read(**/*.pem)",
      "Read(**/*id_rsa*)",
      "Read(**/*id_ed25519*)",
      "Read(**/*.key)",
      "Read(~/.config/gh/hosts.yml)",
      "Read(~/.netrc)",
      "Read(**/.netrc)",
      "Read(~/.npmrc)",
      "Read(~/.kube/**)",
      "Read(~/.docker/config.json)"
    ]
  },
  "hooks": {
    "PreToolUse": [
      {
        "matcher": "Bash",
        "hooks": [
          {
            "type": "command",
            "command": "$HOME/.claude/hooks/pre-tool-use.sh"
          }
        ]
      },
      {
        "matcher": "Write|Edit|NotebookEdit",
        "hooks": [
          {
            "type": "command",
            "command": "$HOME/.claude/hooks/pre-tool-use-fs.sh"
          }
        ]
      },
      {
        "matcher": "mcp__claude_ai_Slack__slack_send_message|mcp__claude_ai_Slack__slack_send_message_draft|mcp__claude_ai_Slack__slack_sche",
        "hooks": [
          {
            "type": "command",
            "command": "$HOME/.claude/hooks/pre-tool-use-slack.sh"
          }
        ]
      }
    ]
  },
  "sandbox": {
    "enabled": true
  }
}

Skills (4)

Hooks (6)

eventmatcherruns
PreToolUseBash$HOME/.claude/hooks/pre-tool-use.sh
PreToolUseWrite|Edit|NotebookEdit$HOME/.claude/hooks/pre-tool-use-fs.sh
PreToolUsemcp__claude_ai_Slack__slack_send_message|mcp__claude_ai_Slack__slack_send_message_draft|mcp__claude_ai_Slack__slack_sche$HOME/.claude/hooks/pre-tool-use-slack.sh
PostToolUseWrite|Edit$HOME/.claude/hooks/post-tool-use-shell-lint.sh
SessionStartstartup|resume|compact|clear$HOME/.claude/hooks/session-start.sh
SessionEnd*$HOME/.claude/hooks/session-end-rotate.sh

Plugins (1)

caveman@caveman

Permissions

deny (19)
Bash(sudo:*)
Bash(chmod *777*)
Bash(eval:*)
Read(~/.ssh/**)
Read(~/.gnupg/**)
Read(~/.aws/credentials*)
Read(**/.env)
Read(**/.env.local)
Read(**/.env.*.local)
Read(**/*.pem)
Read(**/*id_rsa*)
Read(**/*id_ed25519*)
Read(**/*.key)
Read(~/.config/gh/hosts.yml)
Read(~/.netrc)
Read(**/.netrc)
Read(~/.npmrc)
Read(~/.kube/**)
Read(~/.docker/config.json)
ask (0)
—
allow (23)
Bash(ls:*)
Bash(pwd)
Bash(cat:*)
Bash(head:*)
Bash(tail:*)
Bash(wc:*)
Bash(file:*)
Bash(stat:*)
Bash(which:*)
Bash(tree:*)
Bash(jq:*)
Bash(rg:*)
Bash(grep:*)
Bash(find:*)
Bash(git status:*)
Bash(git diff:*)
Bash(git log:*)
Bash(git show:*)
Bash(git branch:*)
Bash(git remote:*)
Bash(git rev-parse:*)
Bash(git blame:*)
Bash(git stash list:*)

Similar rigs

copied ✓