~ / rigs / msmacorin / claude-dotfiles-main

msmacorin/claude-dotfiles-main

No description.

↗ GitHub ★ 0 no license updated 1mo ago personal setup Claude CodeCodex
share on X
ARCHETYPE
Pragmatist
A balanced, no-drama setup: some rules, some tools, nothing extreme.
CONTEXT TAX · EVERY TURN
~8.2k tokens
Heavy · median rig: 2.3k · breakdown
GUARDRAILS
2/5
Pre-tool screening hook · No YOLO mode · details

Copy this rig

# review before running: this installs third-party code
$ npx degit msmacorin/claude-dotfiles-main/agents ./rig-claude-dotfiles-main/agents
$ npx degit msmacorin/claude-dotfiles-main/commands ./rig-claude-dotfiles-main/commands
$ npx degit msmacorin/claude-dotfiles-main/skills ./rig-claude-dotfiles-main/skills
$ npx degit msmacorin/claude-dotfiles-main/hooks ./rig-claude-dotfiles-main/hooks

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.

$ curl -fsSL --create-dirs -o .claude/agents/sandboxed-worker.md https://raw.githubusercontent.com/msmacorin/claude-dotfiles-main/main/agents/sandboxed-worker.md

Merge into .claude/settings.json (project) or ~/.claude/settings.json (user). Hook commands reference scripts in the source repo — copy those too.

{
  "hooks": {
    "PreToolUse": [
      {
        "matcher": "Edit|Write|Bash",
        "hooks": [
          {
            "type": "command",
            "command": "~/.claude/hooks/auto-approve-claude-dir.sh"
          }
        ]
      }
    ]
  }
}

Subagents (1)

sandboxed-workerGeneral-purpose agent for repository-modifying work that must happen in an isolated git worktree and branch. Use for any spawned subagent that edits files in a repo, especially when multiple agents wo

Hooks (3)

eventmatcherruns
SessionStartcompact~/.claude/hooks/compact-auto-handoff.sh
PreToolUseEdit|Write|Bash~/.claude/hooks/auto-approve-claude-dir.sh
PostToolUseBash~/.claude/hooks/post-tool-session-log.sh

Slash commands (1)

/pr

Permissions

deny (0)
—
ask (0)
—
allow (120)
Read(**)
Read(~/**)
Read(/**)
Read(~/.claude/**)
Read(~/.claude/**)
Grep(**)
Grep(~/**)
Grep(/**)
Grep(~/.claude/**)
Grep(~/.claude/**)
Edit(~/.claude/**)
Edit(~/.claude/**)
Edit(~/dev/**)
Edit(~/dev/**)
Read(~/dev/claude-dotfiles-main/**)
Read(~/dev/claude-dotfiles-main/**)
Edit(~/dev/claude-dotfiles-main/**)
Edit(~/dev/claude-dotfiles-main/**)
Edit(/tmp/**)
Bash(rm /tmp/**)
Bash(rm -rf /tmp/**)
Bash(rm ~/.claude/**)
Bash(rm ~/.claude/**)
Bash(rm -rf ~/.claude/**)
Bash(rm -rf ~/.claude/**)
Bash(rm ~/dev/claude-working-here/**)
Bash(rm ~/dev/claude-working-here/**)
Bash(rm -rf ~/dev/claude-working-here/**)
Bash(rm -rf ~/dev/claude-working-here/**)
Bash(cp *)
Bash(mv *)
Bash(mkdir *)
Bash(touch *)
Bash(chmod *)
Bash(ln *)
Bash(ls *)
Bash(find *)
Bash(cd *)
Bash(cat *)
Bash(head *)
Bash(tail *)
Bash(readlink *)
Bash(realpath *)
Bash(dirname *)
Bash(basename *)
Bash(grep *)
Bash(rg *)
Bash(sed *)
Bash(awk *)
Bash(cut *)
Bash(tr *)
Bash(tee *)
Bash(sort *)
Bash(uniq *)
Bash(wc *)
Bash(jq *)
Bash(yq *)
Bash(xargs *)
Bash(printf *)
Bash(echo *)

Similar rigs

copied ✓