~ / rigs / imutaroh / dotfiles

imutaroh/dotfiles

macOS 開発環境の設定一式(Claude Code / Codex / Herdr / Neovim)

↗ GitHub ★ 0 MIT updated 1d ago personal setup Claude CodeCodex Claude plugin
share on X
ARCHETYPE
Automator
Hooks on every lifecycle event: format, lint, notify, log.
CONTEXT TAX · EVERY TURN
~1.6k tokens
Featherweight · median rig: 2.3k · breakdown
GUARDRAILS
3/5
Blocks destructive commands · No YOLO mode · Sandbox or ask-first rules · details
Quality 29/100 Guardrails v2

Copy this rig

# review before running: this installs third-party code
$ npx degit imutaroh/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 imutaroh/dotfiles/.claude/skills/brand .claude/skills/brand
$ npx degit imutaroh/dotfiles/.claude/skills/herdr-control .claude/skills/herdr-control
$ npx degit imutaroh/dotfiles/.claude/skills/hview .claude/skills/hview
$ npx degit imutaroh/dotfiles/.claude/skills/master .claude/skills/master
$ npx degit imutaroh/dotfiles/.claude/skills/roll .claude/skills/roll
$ npx degit imutaroh/dotfiles/.claude/skills/verify .claude/skills/verify
$ curl -fsSL --create-dirs -o .claude/agents/refuter.md https://raw.githubusercontent.com/imutaroh/dotfiles/main/.claude/agents/refuter.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(rm *)",
      "Bash(rmdir *)",
      "Bash(git push --force*)",
      "Bash(git push -f*)",
      "Bash(git push *--force*)",
      "Bash(git push * -f*)",
      "Bash(git push * +*)",
      "Bash(git push *--delete*)",
      "Bash(git push *--receive-pack*)",
      "Bash(git push *--exec*)",
      "Bash(git fetch *--upload-pack*)",
      "Bash(git pull *--upload-pack*)",
      "Bash(git log *--output*)",
      "Bash(git diff *--output*)",
      "Bash(git reset --hard*)",
      "Bash(git reset *--hard*)",
      "Bash(git clean *)",
      "Bash(git fetch *--up*)",
      "Bash(git pull *--up*)",
      "Bash(git log *--ou*)",
      "Bash(git diff *--ou*)",
      "Bash(git push -uf*)",
      "Bash(git push * -uf*)",
      "Bash(git push -d*)",
      "Bash(git push * -d*)",
      "Bash(git push * :*)",
      "Bash(tree -o*)",
      "Bash(tree * -o*)",
      "Skill(anthropic-skills:obsidian-daily)"
    ],
    "ask": [
      "mcp__claude_ai_Slack__slack_send_message",
      "mcp__claude_ai_Slack__slack_schedule_message",
      "mcp__claude_ai_Gmail__send_message",
      "mcp__claude_ai_Gmail__reply",
      "mcp__claude_ai_Gmail__forward"
    ]
  }
}

Skills (6)

Subagents (1)

refuter
model: sonnet
主張された結果や修正が本当に成り立つかを、反例・失敗するケース・未検証の前提から読み取りだけで確かめる。完了報告や「直った」をそのまま信じないときに使う。ファイルは変更しない。

Hooks (6)

eventmatcherruns
PermissionRequest*bash ~/.claude/hooks/play-sound.sh ~/.claude/sounds/confirm.wav
PermissionRequest*jq -c '{t:(now|todate),tool:.tool_name,cwd:.cwd,input:(.tool_input|tostring|.[0:300])}' >> ~/.claude/state/permission-requests.jsonl 2>/dev/null; exit 0
Stop*bash ~/.claude/hooks/play-sound.sh ~/.claude/sounds/complete.wav
Stop*bash ~/.claude/hooks/log-session-stop.sh
StopFailurerate_limit|overloaded|server_error|max_output_tokens|billing_error|authentication_failedbash ~/.claude/hooks/play-sound.sh ~/.claude/sounds/confirm.wav
SessionStart^(startup|resume|clear|compact|fork)$sh ~/.claude/scripts/hc-label-claude-session.sh

Plugins (2)

claude-security@claude-plugins-officialgopls-lsp@claude-plugins-official

Permissions

deny (29)
Bash(rm *)
Bash(rmdir *)
Bash(git push --force*)
Bash(git push -f*)
Bash(git push *--force*)
Bash(git push * -f*)
Bash(git push * +*)
Bash(git push *--delete*)
Bash(git push *--receive-pack*)
Bash(git push *--exec*)
Bash(git fetch *--upload-pack*)
Bash(git pull *--upload-pack*)
Bash(git log *--output*)
Bash(git diff *--output*)
Bash(git reset --hard*)
Bash(git reset *--hard*)
Bash(git clean *)
Bash(git fetch *--up*)
Bash(git pull *--up*)
Bash(git log *--ou*)
Bash(git diff *--ou*)
Bash(git push -uf*)
Bash(git push * -uf*)
Bash(git push -d*)
Bash(git push * -d*)
Bash(git push * :*)
Bash(tree -o*)
Bash(tree * -o*)
Skill(anthropic-skills:obsidian-daily)
ask (5)
mcp__claude_ai_Slack__slack_send_message
mcp__claude_ai_Slack__slack_schedule_message
mcp__claude_ai_Gmail__send_message
mcp__claude_ai_Gmail__reply
mcp__claude_ai_Gmail__forward
allow (52)
Bash(brew --prefix:*)
Bash(brew --version:*)
Bash(brew config:*)
Bash(brew deps:*)
Bash(brew doctor:*)
Bash(brew info:*)
Bash(brew leaves:*)
Bash(brew list:*)
Bash(brew outdated:*)
Bash(brew search:*)
Bash(brew services list:*)
Bash(cd:*)
Bash(date:*)
Bash(echo:*)
Bash(gh issue list:*)
Bash(gh issue view:*)
Bash(gh pr checks:*)
Bash(gh pr diff:*)
Bash(gh pr list:*)
Bash(gh pr view:*)
Bash(gh repo list:*)
Bash(gh repo view:*)
Bash(gh run list:*)
Bash(gh run view:*)
Bash(gh search:*)
Bash(gh status:*)
Bash(gh workflow list:*)
Bash(gh workflow view:*)
Bash(git add:*)
Bash(git branch:*)
Bash(git commit:*)
Bash(git diff:*)
Bash(git log:*)
Bash(git stash:*)
Bash(git status:*)
Bash(git switch:*)
Bash(ls:*)
Bash(pwd:*)
Bash(trash:*)
Bash(tree:*)
Bash(TZ=Asia/Tokyo date:*)
Bash(wc:*)
Bash(which:*)
Read
WebSearch
Bash(git merge *)
Bash(go version *)
Bash(mise ls:*)
Bash(mise current:*)
Bash(mise which:*)
Bash(mise doctor:*)
Bash(mise --version)

Similar rigs

copied ✓