~ / rigs / gabrielecanepa / dotfiles

gabrielecanepa/dotfiles

Portable, version-controlled macOS setup

↗ GitHub ★ 0 no license updated 29d ago personal setup Claude CodeCodex
share on X
ARCHETYPE
YOLO Cowboy
Permissions? Never heard of 'em. Ships at the speed of `--dangerously-skip-permissions`.
CONTEXT TAX · EVERY TURN
~2.4k tokens
Moderate · median rig: 2.3k · breakdown
GUARDRAILS
4/5
Blocks destructive commands · Protects secrets · Pre-tool screening hook · Sandbox or ask-first rules · details
Quality 20/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
$ npx degit gabrielecanepa/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.

$ claude mcp add --transport http context7 https://mcp.context7.com/mcp
$ npx degit gabrielecanepa/dotfiles/.agents/skills/afk .claude/skills/afk
$ npx degit gabrielecanepa/dotfiles/.agents/skills/agent-digest .claude/skills/agent-digest
$ npx degit gabrielecanepa/dotfiles/.agents/skills/bump .claude/skills/bump
$ npx degit gabrielecanepa/dotfiles/.agents/skills/find-root-cause .claude/skills/find-root-cause
$ npx degit gabrielecanepa/dotfiles/.agents/skills/grill-me .claude/skills/grill-me
$ npx degit gabrielecanepa/dotfiles/.agents/skills/handoff .claude/skills/handoff
$ npx degit gabrielecanepa/dotfiles/.agents/skills/prototype .claude/skills/prototype
$ npx degit gabrielecanepa/dotfiles/.agents/skills/questions-for .claude/skills/questions-for
$ npx degit gabrielecanepa/dotfiles/.agents/skills/sync-agents .claude/skills/sync-agents
$ npx degit gabrielecanepa/dotfiles/.agents/skills/sync-docs .claude/skills/sync-docs
$ npx degit gabrielecanepa/dotfiles/.agents/skills/sync-i18n .claude/skills/sync-i18n
$ npx degit gabrielecanepa/dotfiles/.pi/agent/skills/analyze-pi-sessions .claude/skills/analyze-pi-sessions
$ curl -fsSL --create-dirs -o .claude/agents/code-reviewer.md https://raw.githubusercontent.com/gabrielecanepa/dotfiles/main/.claude/agents/code-reviewer.md
$ curl -fsSL --create-dirs -o .claude/agents/explorer.md https://raw.githubusercontent.com/gabrielecanepa/dotfiles/main/.claude/agents/explorer.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 -rf:*)",
      "Read(//**/.env)",
      "Read(//**/.env.*)",
      "Read(//**/*.key)",
      "Read(//**/*.p12)",
      "Read(//**/*.pem)",
      "Read(//**/*.pfx)",
      "Read(//**/id_ed25519)",
      "Read(//**/id_rsa)",
      "Read(//**/secrets/**)",
      "Read(~/.aws/**)",
      "Read(~/.claude/.credentials.json)",
      "Read(~/.ssh/id_*)",
      "Read(~/.zshrc.local)",
      "Read(~/Library/Group Containers/*.com.1password/**)",
      "Read(~/Library/Keychains/**)"
    ],
    "ask": [
      "Bash(git push:*)"
    ]
  },
  "hooks": {
    "PreToolUse": [
      {
        "matcher": "Edit|Write|MultiEdit",
        "hooks": [
          {
            "type": "command",
            "command": "$HOME/.agents/hooks/guard-committed-writing.sh"
          },
          {
            "type": "command",
            "command": "$HOME/.agents/hooks/guard-managed-files.sh"
          }
        ]
      },
      {
        "matcher": "Bash",
        "hooks": [
          {
            "type": "command",
            "command": "$HOME/.agents/hooks/guard-remote-execution.sh"
          }
        ]
      }
    ]
  }
}

MCP servers (1)

serversourceest. tokens
Context7 remote · remote 1.2k

Skills (12)

Subagents (2)

code-reviewer
model: sonnet
Reviews completed diffs for correctness, security, spec compliance, repository conventions, missing tests, and over-engineering. Use proactively after multi-file or behavior-changing work. Read-only;
Explore
model: haiku
Read-only codebase explorer for fan-out searches and tracing execution paths before changes. Returns concise evidence with file and symbol references, not file dumps. Specify search breadth when deleg

Hooks (7)

eventmatcherruns
PreToolUseEdit|Write|MultiEdit$HOME/.agents/hooks/guard-committed-writing.sh
PreToolUseEdit|Write|MultiEdit$HOME/.agents/hooks/guard-managed-files.sh
PreToolUseBash$HOME/.agents/hooks/guard-remote-execution.sh
PostToolUseEdit|Write|MultiEdit$HOME/.agents/hooks/format-edited-file.sh
PostToolUseEdit|Write|MultiEdit$HOME/.agents/hooks/guard-context-budgets.sh
UserPromptSubmit*$HOME/.agents/hooks/autoname-session.sh
UserPromptSubmit*$HOME/.agents/hooks/route-request.sh

Slash commands (2)

/compact-memory/statusline-config

Plugins (2)

security-guidance@claude-plugins-officialtypescript-lsp@claude-plugins-official

Permissions

deny (16)
Bash(rm -rf:*)
Read(//**/.env)
Read(//**/.env.*)
Read(//**/*.key)
Read(//**/*.p12)
Read(//**/*.pem)
Read(//**/*.pfx)
Read(//**/id_ed25519)
Read(//**/id_rsa)
Read(//**/secrets/**)
Read(~/.aws/**)
Read(~/.claude/.credentials.json)
Read(~/.ssh/id_*)
Read(~/.zshrc.local)
Read(~/Library/Group Containers/*.com.1password/**)
Read(~/Library/Keychains/**)
ask (1)
Bash(git push:*)
allow (0)
—

Similar rigs

copied ✓