z89/dotfiles
custom arch dotfiles
ARCHETYPE
YOLO Cowboy
Permissions? Never heard of 'em. Ships at the speed of `--dangerously-skip-permissions`.
GUARDRAILS
3/5
Blocks destructive commands · Protects secrets · Pre-tool screening hook · details
Quality 9/100 Guardrails v2
Copy this rig
# review before running: this installs third-party code
$ npx degit z89/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 z89/dotfiles/.claude/skills/arch .claude/skills/arch $ npx degit z89/dotfiles/.claude/skills/commit .claude/skills/commit $ npx degit z89/dotfiles/.claude/skills/dotfiles .claude/skills/dotfiles $ npx degit z89/dotfiles/.claude/skills/lean .claude/skills/lean $ npx degit z89/dotfiles/.claude/skills/parallel-orchestration .claude/skills/parallel-orchestration $ npx degit z89/dotfiles/.claude/skills/terminal .claude/skills/terminal
$ curl -fsSL --create-dirs -o .claude/agents/reviewer-opus.md https://raw.githubusercontent.com/z89/dotfiles/desktop/.claude/agents/reviewer-opus.md $ curl -fsSL --create-dirs -o .claude/agents/scout-sonnet.md https://raw.githubusercontent.com/z89/dotfiles/desktop/.claude/agents/scout-sonnet.md $ curl -fsSL --create-dirs -o .claude/agents/worker-opus.md https://raw.githubusercontent.com/z89/dotfiles/desktop/.claude/agents/worker-opus.md $ curl -fsSL --create-dirs -o .claude/agents/worker-sonnet.md https://raw.githubusercontent.com/z89/dotfiles/desktop/.claude/agents/worker-sonnet.md
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(terraform apply:*)",
"Bash(terraform destroy:*)",
"Bash(terraform import:*)",
"Bash(terraform init:*)",
"Bash(terraform get:*)",
"Bash(terraform providers lock:*)",
"Bash(terraform providers mirror:*)",
"Bash(terraform taint:*)",
"Bash(terraform untaint:*)",
"Bash(terraform refresh:*)",
"Bash(terraform test:*)",
"Bash(terraform force-unlock:*)",
"Bash(terraform login:*)",
"Bash(terraform logout:*)",
"Bash(terraform state mv:*)",
"Bash(terraform state rm:*)",
"Bash(terraform state push:*)",
"Bash(terraform state replace-provider:*)",
"Bash(terraform workspace new:*)",
"Bash(terraform workspace delete:*)",
"Bash(tofu apply:*)",
"Bash(tofu destroy:*)",
"Bash(tofu import:*)",
"Bash(tofu init:*)",
"Bash(tofu get:*)",
"Bash(tofu taint:*)",
"Bash(tofu untaint:*)",
"Bash(tofu refresh:*)",
"Bash(tofu test:*)",
"Bash(tofu force-unlock:*)",
"Bash(tofu login:*)",
"Bash(tofu logout:*)",
"Bash(tofu state mv:*)",
"Bash(tofu state rm:*)",
"Bash(tofu state push:*)",
"Bash(tofu state replace-provider:*)",
"Bash(tofu workspace new:*)",
"Bash(tofu workspace delete:*)",
"Bash(opentofu apply:*)",
"Bash(opentofu destroy:*)",
"Bash(opentofu import:*)",
"Bash(opentofu init:*)",
"Bash(opentofu get:*)",
"Bash(opentofu taint:*)",
"Bash(opentofu untaint:*)",
"Bash(opentofu refresh:*)",
"Bash(opentofu test:*)",
"Bash(opentofu force-unlock:*)",
"Bash(opentofu login:*)",
"Bash(opentofu logout:*)",
"Bash(opentofu state mv:*)",
"Bash(opentofu state rm:*)",
"Bash(opentofu state push:*)",
"Bash(opentofu state replace-provider:*)",
"Bash(opentofu workspace new:*)",
"Bash(opentofu workspace delete:*)",
"Bash(terragrunt apply:*)",
"Bash(terragrunt destroy:*)",
"Bash(terragrunt import:*)",
"Bash(terragrunt init:*)",
"Bash(terragrunt get:*)",
"Bash(terragrunt taint:*)",
"Bash(terragrunt untaint:*)",
"Bash(terragrunt refresh:*)",
"Bash(terragrunt test:*)",
"Bash(terragrunt force-unlock:*)",
"Bash(terragrunt login:*)",
"Bash(terragrunt logout:*)",
"Bash(terragrunt state mv:*)",
"Bash(terragrunt state rm:*)",
"Bash(terragrunt state push:*)",
"Bash(terragrunt state replace-provider:*)",
"Bash(terragrunt workspace new:*)",
"Bash(terragrunt workspace delete:*)",
"Bash(terragrunt run-all apply:*)",
"Bash(terragrunt run-all destroy:*)",
"Bash(terragrunt run --all apply:*)",
"Bash(terragrunt run --all destroy:*)",
"Bash(aws configure:*)",
"Bash(aws s3 rb:*)"
]
},
"hooks": {
"PreToolUse": [
{
"matcher": "*",
"hooks": [
{
"type": "command",
"command": "python3 ~/.claude/hooks/desktop-control-gate.py"
}
]
},
{
"matcher": "Bash",
"hooks": [
{
"type": "command",
"command": "~/.claude/hooks/subagent-commit-guard.sh"
},
{
"type": "command",
"command": "python3 ~/.claude/hooks/terraform-guard.py"
},
{
"type": "command",
"command": "python3 ~/.claude/hooks/aws-guard.py"
},
{
"type": "command",
"command": "python3 ~/.claude/hooks/require-commit-skill.py"
},
{
"type": "command",
"command": "python3 ~/.claude/hooks/git-secret-scan.py"
}
]
}
]
}
} Skills (6)
Subagents (4)
| reviewer-opus model: opus | Opus reviewer for a finished track, diff or integration. Returns ranked findings with file:line and a concrete failure scenario. Does not edit. Dispatch with a scope; never auto-selected. |
| scout-sonnet model: sonnet | Low-effort read-only scout that answers one narrow question about files, callers, dependencies or seams before a decomposition. Dispatch with the question; never auto-selected. |
| worker-opus model: opus | Opus build worker for orchestrated tracks that need judgment (security, concurrency, protocol semantics, hard diagnosis, integration). Dispatch with a packet; never auto-selected. |
| worker-sonnet model: sonnet | Sonnet build worker for tracks with a settled contract and observable correctness (implementation, bulk edits, tests, fixed-shape transforms). Dispatch with a packet; never auto-selected. |
Hooks (13)
| event | matcher | runs |
|---|---|---|
| PreToolUse | * | python3 ~/.claude/hooks/desktop-control-gate.py |
| PreToolUse | Bash | ~/.claude/hooks/subagent-commit-guard.sh |
| PreToolUse | Bash | python3 ~/.claude/hooks/terraform-guard.py |
| PreToolUse | Bash | python3 ~/.claude/hooks/aws-guard.py |
| PreToolUse | Bash | python3 ~/.claude/hooks/require-commit-skill.py |
| PreToolUse | Bash | python3 ~/.claude/hooks/git-secret-scan.py |
| UserPromptSubmit | * | python3 ~/.claude/hooks/desktop-control-gate.py |
| UserPromptSubmit | * | bash ~/.claude/hooks/lean-mode.sh |
| UserPromptSubmit | * | python3 ~/.claude/hooks/gloss.py claude |
| UserPromptSubmit | * | python3 ~/.claude/hooks/mark-commit-skill.py |
| PreCompact | * | bash ~/.claude/hooks/lean-compact.sh |
| PreCompact | * | python3 ~/.claude/hooks/gloss.py claude compact |
| PostToolUse | Skill | python3 ~/.claude/hooks/mark-commit-skill.py |
Plugins (1)
clangd-lsp@claude-plugins-official
Permissions
deny (113)
Bash(terraform apply:*)
Bash(terraform destroy:*)
Bash(terraform import:*)
Bash(terraform init:*)
Bash(terraform get:*)
Bash(terraform providers lock:*)
Bash(terraform providers mirror:*)
Bash(terraform taint:*)
Bash(terraform untaint:*)
Bash(terraform refresh:*)
Bash(terraform test:*)
Bash(terraform force-unlock:*)
Bash(terraform login:*)
Bash(terraform logout:*)
Bash(terraform state mv:*)
Bash(terraform state rm:*)
Bash(terraform state push:*)
Bash(terraform state replace-provider:*)
Bash(terraform workspace new:*)
Bash(terraform workspace delete:*)
Bash(tofu apply:*)
Bash(tofu destroy:*)
Bash(tofu import:*)
Bash(tofu init:*)
Bash(tofu get:*)
Bash(tofu taint:*)
Bash(tofu untaint:*)
Bash(tofu refresh:*)
Bash(tofu test:*)
Bash(tofu force-unlock:*)
Bash(tofu login:*)
Bash(tofu logout:*)
Bash(tofu state mv:*)
Bash(tofu state rm:*)
Bash(tofu state push:*)
Bash(tofu state replace-provider:*)
Bash(tofu workspace new:*)
Bash(tofu workspace delete:*)
Bash(opentofu apply:*)
Bash(opentofu destroy:*)
Bash(opentofu import:*)
Bash(opentofu init:*)
Bash(opentofu get:*)
Bash(opentofu taint:*)
Bash(opentofu untaint:*)
Bash(opentofu refresh:*)
Bash(opentofu test:*)
Bash(opentofu force-unlock:*)
Bash(opentofu login:*)
Bash(opentofu logout:*)
Bash(opentofu state mv:*)
Bash(opentofu state rm:*)
Bash(opentofu state push:*)
Bash(opentofu state replace-provider:*)
Bash(opentofu workspace new:*)
Bash(opentofu workspace delete:*)
Bash(terragrunt apply:*)
Bash(terragrunt destroy:*)
Bash(terragrunt import:*)
Bash(terragrunt init:*)
ask (0)
—
allow (120)
Bash(export SSH_AUTH_SOCK="/run/user/1000/ssh-agent.socket")
Bash(ssh-add -l)
Read(/~/.claude/skills/commit/**)
Read(/~/.claude/skills/arch/**)
Skill(commit)
Skill(commit:*)
Skill(arch)
Skill(arch:*)
Bash(git add *)
Bash(git status *)
Bash(git commit *)
Bash(git commit -m ' *)
Bash(git commit -S -m ' *)
Bash(git commit -q -m ' *)
Bash(git push *)
Bash(git diff *)
Bash(git log *)
Bash(git show *)
Bash(git fetch *)
Bash(git checkout *)
Bash(git branch *)
Bash(git config *)
Bash(git stash *)
Bash(git reset *)
Bash(git remote *)
Bash(git init *)
Bash(git mv *)
Bash(git merge *)
Bash(git cherry-pick *)
Bash(git check-ignore *)
Bash(git ls-remote *)
Bash(git lfs *)
Bash(git filter-repo *)
Bash(gh repo *)
Bash(go version *)
Bash(go build *)
Bash(go vet *)
Bash(go test *)
Bash(go mod *)
Bash(go get *)
Bash(go tool *)
Bash(go env *)
Bash(go run *)
Bash(gofmt -l .)
Bash(pnpm --version)
Bash(pnpm dlx:*)
Bash(pnpm build:*)
Bash(pnpm create *)
Bash(pnpm add *)
Bash(pnpm exec *)
Bash(pnpm lint *)
Bash(pnpm test *)
Bash(pnpm codegen *)
Bash(npm install *)
Bash(npm init *)
Bash(npx tsc *)
Bash(npx vite *)
Bash(npx tsx *)
Bash(npx tailwindcss *)
Bash(npx -v)
Similar rigs
alex35mil/dotfiles
My dotfiles
Minimalist 1.2k tok · · Q0
simnalamburt/.dotfiles
:memo: My UNIX-like system configuration files
Minimalist 21 tok · · Q15
pmqueiroz/toolbelt
:penguin: automated script to configure my personal environment
Minimalist 547 tok · · Q0
SteerSpec/strspc-sync
SteerSpec Sync — synchronize CLAUDE.md, agents, skills and settings across a GitHub org via PRs. Go.
Minimalist 2.0k tok · · Q3