hyamero/dotfiles
macOS + WSL dotfiles managed with GNU Stow: zsh, git, Ghostty shaders, herdr, and Claude Code configs
stack: Shell
ARCHETYPE
Fort Knox
Deny lists, pre-tool hooks, sandboxing. Nothing touches prod without a signature.
GUARDRAILS
4/5
Blocks destructive commands · Pre-tool screening hook · No YOLO mode · Sandbox or ask-first rules · details
Quality 20/100 Guardrails v2
Copy this rig
# review before running: this installs third-party code
$ npx degit hyamero/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 hyamero/dotfiles/agents/.agents/skills/caveman-commit .claude/skills/caveman-commit $ npx degit hyamero/dotfiles/agents/.agents/skills/find-skills .claude/skills/find-skills $ npx degit hyamero/dotfiles/agents/.agents/skills/frontend-design .claude/skills/frontend-design $ npx degit hyamero/dotfiles/agents/.agents/skills/grill-me .claude/skills/grill-me $ npx degit hyamero/dotfiles/agents/.agents/skills/grill-with-docs .claude/skills/grill-with-docs $ npx degit hyamero/dotfiles/agents/.agents/skills/herdr .claude/skills/herdr $ npx degit hyamero/dotfiles/agents/.agents/skills/improve-codebase-architecture .claude/skills/improve-codebase-architecture $ npx degit hyamero/dotfiles/agents/.agents/skills/linear-ticket-workflow .claude/skills/linear-ticket-workflow $ npx degit hyamero/dotfiles/agents/.agents/skills/release-notes .claude/skills/release-notes
Merge into .claude/settings.json (project) or ~/.claude/settings.json (user). Hook commands reference scripts in the source repo — copy those too.
{
"permissions": {
"ask": [
"Bash(git push *--force*)",
"Bash(git push -f*)",
"Bash(git push * -f*)",
"Bash(git push *--mirror*)",
"Bash(git push *--delete*)",
"Bash(git push * -d *)",
"Bash(git push *--prune*)",
"Bash(git push *--receive-pack*)",
"Bash(git push *--exec*)",
"Bash(git push * +*)",
"Bash(git push * :*)"
]
},
"hooks": {
"PreToolUse": [
{
"matcher": "Bash",
"hooks": [
{
"type": "command",
"command": "f=\"$HOME/.claude/hooks/allow-safe-push.sh\"; [ -x \"$f\" ] || exit 0; exec \"$f\""
}
]
},
{
"matcher": "Edit|Write|MultiEdit",
"hooks": [
{
"type": "command",
"command": "f=\"$HOME/.claude/hooks/block-home-paths.sh\"; [ -x \"$f\" ] || exit 0; exec \"$f\""
}
]
},
{
"matcher": "AskUserQuestion",
"hooks": [
{
"type": "command",
"command": "command -v moshi-hook >/dev/null 2>&1 && moshi-hook claude-hook || true"
}
]
},
{
"matcher": "ExitPlanMode",
"hooks": [
{
"type": "command",
"command": "command -v moshi-hook >/dev/null 2>&1 && moshi-hook claude-hook || true"
}
]
},
{
"matcher": "mcp__browse__execute|AskUserQuestion|ExitPlanMode",
"hooks": [
{
"type": "command",
"command": "f=\"$HOME/.claude/hooks/notify-blocked.sh\"; [ -x \"$f\" ] || exit 0; exec \"$f\""
}
]
}
]
}
} Skills (9)
caveman-commitfind-skillsfrontend-designgrill-megrill-with-docsherdrimprove-codebase-architecturelinear-ticket-workflowrelease-notes
Hooks (15)
| event | matcher | runs |
|---|---|---|
| Notification | permission_prompt | command -v moshi-hook >/dev/null 2>&1 && moshi-hook claude-hook || true |
| Notification | permission_prompt|idle_prompt|elicitation_dialog | f="$HOME/.claude/hooks/notify-blocked.sh"; [ -x "$f" ] || exit 0; exec "$f" |
| PermissionRequest | * | command -v moshi-hook >/dev/null 2>&1 && moshi-hook claude-hook || true |
| PreToolUse | Bash | f="$HOME/.claude/hooks/allow-safe-push.sh"; [ -x "$f" ] || exit 0; exec "$f" |
| PreToolUse | Edit|Write|MultiEdit | f="$HOME/.claude/hooks/block-home-paths.sh"; [ -x "$f" ] || exit 0; exec "$f" |
| PreToolUse | AskUserQuestion | command -v moshi-hook >/dev/null 2>&1 && moshi-hook claude-hook || true |
| PreToolUse | ExitPlanMode | command -v moshi-hook >/dev/null 2>&1 && moshi-hook claude-hook || true |
| PreToolUse | mcp__browse__execute|AskUserQuestion|ExitPlanMode | f="$HOME/.claude/hooks/notify-blocked.sh"; [ -x "$f" ] || exit 0; exec "$f" |
| PostToolUse | AskUserQuestion | command -v moshi-hook >/dev/null 2>&1 && moshi-hook claude-hook || true |
| PostToolUse | ExitPlanMode | command -v moshi-hook >/dev/null 2>&1 && moshi-hook claude-hook || true |
| UserPromptSubmit | * | command -v moshi-hook >/dev/null 2>&1 && moshi-hook claude-hook || true |
| SessionStart | * | [ -f "$HOME/.claude/hooks/herdr-agent-state.sh" ] && bash "$HOME/.claude/hooks/herdr-agent-state.sh" session || true |
| SessionStart | * | command -v moshi-hook >/dev/null 2>&1 && moshi-hook claude-hook || true |
| SessionEnd | * | command -v moshi-hook >/dev/null 2>&1 && moshi-hook claude-hook || true |
| Stop | * | command -v moshi-hook >/dev/null 2>&1 && moshi-hook claude-hook || true |
Plugins (7)
context7@claude-plugins-officialfigma@claude-plugins-officialposthog@claude-plugins-officialsecurity-guidance@claude-plugins-officialsuperpowers@claude-plugins-officialmattpocock-skills@claude-plugins-officialvercel@claude-plugins-official
Permissions
deny (0)
—
ask (11)
Bash(git push *--force*)
Bash(git push -f*)
Bash(git push * -f*)
Bash(git push *--mirror*)
Bash(git push *--delete*)
Bash(git push * -d *)
Bash(git push *--prune*)
Bash(git push *--receive-pack*)
Bash(git push *--exec*)
Bash(git push * +*)
Bash(git push * :*)
allow (9)
Bash(gh pr create *)
Bash(herdr pane read *)
Bash(herdr pane wait-output *)
Bash(herdr pane current *)
Bash(herdr agent list *)
Bash(herdr tab list *)
Bash(herdr pane list *)
Bash(herdr config check *)
Bash(herdr worktree list *)
Similar rigs
timmyb824/dotfiles
dotfiles managed by chezmoi
Pragmatist 281 tok · · Q0
abhinand5/pi-setup
Personal Pi coding agent setup
Skill Collector 762 tok · · Q0
weimeng23/claude-code-dotfiles
Personal Claude Code dotfiles for global instructions, settings, hooks, agents, and reusable setup scripts.
Pragmatist 1.0k tok · · Q3
mgsloan/mgsloan-dotfiles
configuration of mgsloan's computing environment
Minimalist 1.4k tok · · Q15