mbrav/dotfiles
My scripts and dotfiles
ARCHETYPE
Skill Collector
Ten-plus skills loaded on demand. A procedural-knowledge library.
GUARDRAILS
3/5
Pre-tool screening hook · No YOLO mode · Sandbox or ask-first rules · details
Quality 23/100 Guardrails v2
Copy this rig
# review before running: this installs third-party code
$ npx degit mbrav/dotfiles/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 mbrav/dotfiles/dotfiles/.claude/skills/giotto .claude/skills/giotto $ npx degit mbrav/dotfiles/dotfiles/.claude/skills/grafana-v2-dashboards .claude/skills/grafana-v2-dashboards $ npx degit mbrav/dotfiles/dotfiles/.claude/skills/grill-me .claude/skills/grill-me $ npx degit mbrav/dotfiles/dotfiles/.claude/skills/herdr-teams .claude/skills/herdr-teams $ npx degit mbrav/dotfiles/dotfiles/.claude/skills/herdr .claude/skills/herdr $ npx degit mbrav/dotfiles/dotfiles/.claude/skills/hunk-review .claude/skills/hunk-review $ npx degit mbrav/dotfiles/dotfiles/.claude/skills/semver-commit .claude/skills/semver-commit $ npx degit mbrav/dotfiles/dotfiles/.claude/skills/todo .claude/skills/todo $ npx degit mbrav/dotfiles/skills/tmux-agents-claude .claude/skills/tmux-agents-claude $ npx degit mbrav/dotfiles/skills/tmux-subagents-claude .claude/skills/tmux-subagents-claude
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(git *push*--force*)",
"Bash(git *push* -f*)",
"Bash(git *push* +*)",
"Bash(git *push*--delete*)",
"Bash(git *push*--mirror*)",
"Bash(herdr server stop*)",
"Bash(docker system prune*)",
"Bash(docker volume rm*)",
"Bash(docker volume prune*)",
"Bash(docker image prune*)",
"Bash(docker builder prune*)",
"Bash(docker compose*down*-v*)",
"Bash(docker compose*down*--volumes*)",
"Bash(docker*--privileged*)",
"Bash(docker*-v /:/*)",
"Bash(docker*--volume /:/*)",
"Bash(docker*--pid=host*)",
"Bash(docker*--pid host*)"
],
"ask": [
"Edit(~/.claude/settings*.json)",
"Edit(~/.claude/hooks/**)",
"Edit(~/.claude/skills/**)",
"Edit(~/.claude/policy*.json)"
]
},
"hooks": {
"PreToolUse": [
{
"matcher": "*",
"hooks": [
{
"type": "command",
"command": "python3 \"$HOME/.claude/hooks/policy.py\""
},
{
"type": "command",
"command": "python3 \"$HOME/.claude/hooks/kokoro.py\""
}
]
}
]
}
} Skills (10)
giottografana-v2-dashboardsgrill-meherdr-teamsherdrhunk-reviewsemver-committodotmux-agents-claudetmux-subagents-claude
Hooks (6)
| event | matcher | runs |
|---|---|---|
| SessionStart | ^(startup|resume|clear|compact|fork)$ | bash "$HOME/.claude/hooks/herdr-agent-state.sh" session |
| SessionStart | ^(startup|resume|clear|compact|fork)$ | bash "$HOME/.claude/hooks/headroom-ensure.sh" |
| PreToolUse | * | python3 "$HOME/.claude/hooks/policy.py" |
| PreToolUse | * | python3 "$HOME/.claude/hooks/kokoro.py" |
| Stop | * | python3 "$HOME/.claude/hooks/kokoro.py" |
| Notification | * | python3 "$HOME/.claude/hooks/kokoro.py" |
Permissions
deny (18)
Bash(git *push*--force*)
Bash(git *push* -f*)
Bash(git *push* +*)
Bash(git *push*--delete*)
Bash(git *push*--mirror*)
Bash(herdr server stop*)
Bash(docker system prune*)
Bash(docker volume rm*)
Bash(docker volume prune*)
Bash(docker image prune*)
Bash(docker builder prune*)
Bash(docker compose*down*-v*)
Bash(docker compose*down*--volumes*)
Bash(docker*--privileged*)
Bash(docker*-v /:/*)
Bash(docker*--volume /:/*)
Bash(docker*--pid=host*)
Bash(docker*--pid host*)
ask (4)
Edit(~/.claude/settings*.json)
Edit(~/.claude/hooks/**)
Edit(~/.claude/skills/**)
Edit(~/.claude/policy*.json)
allow (34)
Bash(git -C /tmp/claude-*)
Bash(git -C /private/tmp/claude-*)
Bash(cd /tmp/claude-*)
Bash(cd /private/tmp/claude-*)
Read(//tmp/claude-*/**)
Read(//private/tmp/claude-*/**)
Edit(//tmp/claude-*/**)
Edit(//private/tmp/claude-*/**)
Bash(cargo:*)
Bash(git status:*)
Bash(git log:*)
Bash(git diff:*)
Bash(git show:*)
Bash(git fetch:*)
Bash(git rev-parse:*)
Bash(git merge-base:*)
Bash(git branch:*)
Bash(git checkout:*)
Bash(git switch:*)
Bash(git worktree:*)
Bash(git add:*)
Bash(git commit:*)
Bash(git merge --ff-only:*)
Bash(git tag:*)
Bash(git push origin feat/*)
Bash(git push -u origin feat/*)
Bash(herdr agent:*)
Bash(herdr pane:*)
Bash(herdr tab:*)
Bash(herdr workspace:*)
Bash(~/.claude/skills/todo/scripts/todo.sh:*)
Bash(~/.claude/skills/semver-commit/scripts/predict_bump.sh:*)
Edit(~/dev/**)
Bash(docker:*)