~ / rigs / marcosmoura / dotfiles

marcosmoura/dotfiles

My personal macOS dotfiles

↗ GitHub ★ 10 NOASSERTION updated 3d ago personal setup Claude CodeCodex Claude plugin
stack: TypeScript
share on X
ARCHETYPE
Fort Knox
Deny lists, pre-tool hooks, sandboxing. Nothing touches prod without a signature.
CONTEXT TAX · EVERY TURN
~6.8k tokens
Heavy · median rig: 2.3k · breakdown
GUARDRAILS
4/5
Blocks destructive commands · Protects secrets · No YOLO mode · Sandbox or ask-first rules · details
Quality 27/100 Guardrails v2

Copy this rig

# review before running: this installs third-party code
$ claude mcp add --transport http context7 https://mcp.context7.com/mcp
$ claude mcp add --transport http grep https://mcp.grep.app
$ claude mcp add --transport http deepwiki https://mcp.deepwiki.com/mcp
$ npx degit marcosmoura/dotfiles/home/.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.

$ claude mcp add --transport http context7 https://mcp.context7.com/mcp
$ claude mcp add --transport http grep https://mcp.grep.app
$ claude mcp add --transport http deepwiki https://mcp.deepwiki.com/mcp

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(dd *)",
      "Bash(diskutil erase*)",
      "Bash(git -c user.*)",
      "Bash(git * -c user.*)",
      "Bash(git config *user.name*)",
      "Bash(git config *user.email*)",
      "Bash(git * config *user.name*)",
      "Bash(git * config *user.email*)",
      "Bash(git commit *--author*)",
      "Bash(*GIT_AUTHOR_*)",
      "Bash(*GIT_COMMITTER_*)",
      "Read(**/.env*)",
      "Read(~/.aws/**)",
      "Read(~/.gnupg/**)",
      "Read(~/.ssh/**)",
      "Read(~/.secrets/**)",
      "Read(~/.claude.json)",
      "Read(~/.codex/auth.json)",
      "Read(~/.config/opencode/service.json)"
    ],
    "ask": [
      "Bash(sudo *)",
      "Bash(rm -rf *)"
    ]
  },
  "sandbox": {
    "enabled": true
  }
}

MCP servers (3)

serversourceest. tokens
Context7 remote · remote 1.2k
mcp.grep.app · "grep" remote · remote 2.5k
DeepWiki remote · remote 900

Hooks (1)

eventmatcherruns
SessionStart^(startup|resume|clear|compact|fork)$bash "$HOME/.claude/hooks/herdr-agent-state.sh" session

Plugins (10)

claude-code-setup@claude-plugins-officialfeature-dev@claude-plugins-officialfrontend-design@claude-plugins-officialplaywright@claude-plugins-officialrust-analyzer-lsp@claude-plugins-officialsecurity-guidance@claude-plugins-officialswift-lsp@claude-plugins-officialtypescript-lsp@claude-plugins-officialhumanizer@humanizersidebar@dotfiles

Permissions

deny (19)
Bash(dd *)
Bash(diskutil erase*)
Bash(git -c user.*)
Bash(git * -c user.*)
Bash(git config *user.name*)
Bash(git config *user.email*)
Bash(git * config *user.name*)
Bash(git * config *user.email*)
Bash(git commit *--author*)
Bash(*GIT_AUTHOR_*)
Bash(*GIT_COMMITTER_*)
Read(**/.env*)
Read(~/.aws/**)
Read(~/.gnupg/**)
Read(~/.ssh/**)
Read(~/.secrets/**)
Read(~/.claude.json)
Read(~/.codex/auth.json)
Read(~/.config/opencode/service.json)
ask (2)
Bash(sudo *)
Bash(rm -rf *)
allow (26)
Bash(cat *)
Bash(echo *)
Bash(fd *)
Bash(git branch *)
Bash(git diff *)
Bash(git log *)
Bash(git show *)
Bash(git status *)
Bash(grep *)
Bash(head *)
Bash(ls *)
Bash(mkdir *)
Bash(pwd)
Bash(rg *)
Bash(tail *)
Bash(type *)
Bash(wc *)
Bash(which *)
Edit
Glob
Grep
Read
TodoWrite
WebFetch
WebSearch
Write

Similar rigs

copied ✓