~ / rigs / hyamero / dotfiles

hyamero/dotfiles

macOS + WSL dotfiles managed with GNU Stow: zsh, git, Ghostty shaders, herdr, and Claude Code configs

↗ GitHub ★ 0 no license updated 4d ago personal setup Claude CodeCodex
stack: Shell
share on X
ARCHETYPE
Fort Knox
Deny lists, pre-tool hooks, sandboxing. Nothing touches prod without a signature.
CONTEXT TAX · EVERY TURN
~2.7k tokens
Moderate · median rig: 2.3k · breakdown
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)

Hooks (15)

eventmatcherruns
Notificationpermission_promptcommand -v moshi-hook >/dev/null 2>&1 && moshi-hook claude-hook || true
Notificationpermission_prompt|idle_prompt|elicitation_dialogf="$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
PreToolUseBashf="$HOME/.claude/hooks/allow-safe-push.sh"; [ -x "$f" ] || exit 0; exec "$f"
PreToolUseEdit|Write|MultiEditf="$HOME/.claude/hooks/block-home-paths.sh"; [ -x "$f" ] || exit 0; exec "$f"
PreToolUseAskUserQuestioncommand -v moshi-hook >/dev/null 2>&1 && moshi-hook claude-hook || true
PreToolUseExitPlanModecommand -v moshi-hook >/dev/null 2>&1 && moshi-hook claude-hook || true
PreToolUsemcp__browse__execute|AskUserQuestion|ExitPlanModef="$HOME/.claude/hooks/notify-blocked.sh"; [ -x "$f" ] || exit 0; exec "$f"
PostToolUseAskUserQuestioncommand -v moshi-hook >/dev/null 2>&1 && moshi-hook claude-hook || true
PostToolUseExitPlanModecommand -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

copied ✓