~ / rigs / MValles02 / claude-config

MValles02/claude-config

Personal Claude Code configuration (agents, hooks, settings)

↗ GitHub ★ 0 MIT updated 10d ago personal setup Claude Code
field: unknown workflow: Git & commitsCI/CD & deployDocs
stack: JavaScript
share on X
ARCHETYPE
Fort Knox
Deny lists, pre-tool hooks, sandboxing. Nothing touches prod without a signature.
CONTEXT TAX · EVERY TURN
~1.4k tokens
Featherweight · median rig: 2.3k · breakdown
GUARDRAILS
5/5
Blocks destructive commands · Protects secrets · Pre-tool screening hook · 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 MValles02/claude-config/agents ./rig-claude-config/agents
$ npx degit MValles02/claude-config/hooks ./rig-claude-config/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/cloudflare.md https://raw.githubusercontent.com/MValles02/claude-config/main/agents/cloudflare.md
$ curl -fsSL --create-dirs -o .claude/agents/explorer.md https://raw.githubusercontent.com/MValles02/claude-config/main/agents/explorer.md
$ curl -fsSL --create-dirs -o .claude/agents/implementer.md https://raw.githubusercontent.com/MValles02/claude-config/main/agents/implementer.md
$ curl -fsSL --create-dirs -o .claude/agents/orchestrator.md https://raw.githubusercontent.com/MValles02/claude-config/main/agents/orchestrator.md
$ curl -fsSL --create-dirs -o .claude/agents/planner.md https://raw.githubusercontent.com/MValles02/claude-config/main/agents/planner.md
$ curl -fsSL --create-dirs -o .claude/agents/verifier.md https://raw.githubusercontent.com/MValles02/claude-config/main/agents/verifier.md
$ curl -fsSL --create-dirs -o .claude/agents/vps.md https://raw.githubusercontent.com/MValles02/claude-config/main/agents/vps.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": [
      "Agent(orchestrator)",
      "Agent(general-purpose)",
      "Agent(Explore)",
      "Agent(Plan)",
      "Agent(statusline-setup)",
      "Agent(claude)",
      "Agent(mercadopago:mp-integration-expert)",
      "Bash(git push -f:*)",
      "Bash(git push *--force*)",
      "Bash(git push * -f)",
      "Bash(git push * -f *)",
      "Bash(git push *--delete*)",
      "Bash(*--no-verify*)",
      "Bash(git -C * push *--force*)",
      "Bash(git -C * push * -f)",
      "Bash(git -C * push * -f *)",
      "Bash(git -C * push -f*)",
      "Bash(git push +*)",
      "Bash(git push * +*)",
      "Bash(git -C * push * +*)",
      "Bash(git -C * push +*)",
      "Bash(git commit -n*)",
      "Bash(git commit * -n*)",
      "Bash(git -C * commit -n*)",
      "Bash(git -C * commit * -n*)",
      "Bash(git reset *--hard*)",
      "Bash(git clean:*)",
      "Read(~/.claude/.credentials.json)",
      "Read(~/.claude.json)",
      "Read(**/.env)",
      "Read(**/.env.local)",
      "Read(**/.env.*.local)",
      "Read(**/.env.production)",
      "Read(**/.env.prod)",
      "Read(**/.env.development)",
      "Read(**/.env.dev)",
      "Read(**/.env.staging)",
      "Read(**/.env.test)",
      "Read(**/.next/**)",
      "Read(**/.svelte-kit/**)",
      "Read(**/new-database/**)",
      "Read(~/.secrets/**)",
      "Read(~/.claude/backups/**)",
      "Read(**/.credentials.json)",
      "Bash(cat *.env)",
      "Bash(cat *.env *)",
      "Bash(cat *.env.local*)",
      "Bash(cat *.env.*.local*)",
      "Bash(cat *.env.prod*)",
      "Bash(cat *.env.dev*)",
      "Bash(cat *.env.staging*)",
      "Bash(cat *.env.test*)",
      "Bash(head *.env)",
      "Bash(head *.env *)",
      "Bash(head *.env.local*)",
      "Bash(head *.env.*.local*)",
      "Bash(head *.env.prod*)",
      "Bash(head *.env.dev*)",
      "Bash(head *.env.staging*)",
      "Bash(head *.env.test*)",
      "Bash(tail *.env)",
      "Bash(tail *.env *)",
      "Bash(tail *.env.local*)",
      "Bash(tail *.env.*.local*)",
      "Bash(tail *.env.prod*)",
      "Bash(tail *.env.dev*)",
      "Bash(tail *.env.staging*)",
      "Bash(tail *.env.test*)",
      "Bash(less *.env)",
      "Bash(less *.env *)",
      "Bash(less *.env.local*)",
      "Bash(less *.env.*.local*)",
      "Bash(less *.env.prod*)",
      "Bash(less *.env.dev*)",
      "Bash(less *.env.staging*)",
      "Bash(less *.env.test*)",
      "Bash(more *.env)",
      "Bash(more *.env *)",
      "Bash(more *.env.local*)",
      "Bash(more *.env.*.local*)"
    ],
    "ask": [
      "Bash(gh pr merge:*)",
      "Bash(gh secret *)",
      "Bash(sudo *)",
      "Bash(systemctl stop *)",
      "Bash(systemctl restart *)",
      "Bash(systemctl disable *)",
      "Bash(ufw *)",
      "Bash(*vps*docker restart*)",
      "Bash(*vps*docker stop*)",
      "Bash(*vps*docker rm *)",
      "Bash(*vps*docker exec*)",
      "Bash(*vps*docker compose up*)",
      "Bash(*vps*docker compose down*)",
      "Bash(*vps*systemctl restart*)",
      "Bash(*vps*systemctl stop*)",
      "Bash(*vps*systemctl disable*)"
    ]
  },
  "hooks": {
    "PreToolUse": [
      {
        "matcher": "Bash|PowerShell",
        "hooks": [
          {
            "type": "command",
            "command": "node ~/.claude/hooks/guard-subagent-git.js"
          }
        ]
      }
    ]
  }
}

Subagents (7)

cloudflare
model: sonnet
Inspects and operates Cloudflare (DNS, zones, Workers, Pages, R2, KV, D1, WAF/security, analytics, docs) through the Cloudflare MCP. Use only for Cloudflare tasks, never for code changes or git.
explorer
model: sonnet
Answers concrete, targeted questions about an unfamiliar repository area. Read-only; use only when code location or flow is unknown.
implementer
model: sonnet
Executes a supplied specification only when it includes a closed file list and binary acceptance criteria.
orchestrator
model: opus
Default main-session lead (set by `agent` in settings.json). Triages every request, routes work to the specialist agents, owns git/GitHub and delivers. Do not spawn as a subagent.
planner
model: opus
Designs non-trivial solutions when architecture, API, data-model, UI or cross-cutting tradeoffs require explicit decisions. Produces specifications, not code.
verifier
model: sonnet
Reviews completed work only when given both the original specification and the diff or revision range. Reports, does not fix.
vps
model: sonnet
Runs host-level commands on the remote VPS via SSH (alias `vps`) — system status, services, Docker, disk, memory, network, logs. Use for server diagnostics (including read-only status and logs of Dokp

Hooks (1)

eventmatcherruns
PreToolUseBash|PowerShellnode ~/.claude/hooks/guard-subagent-git.js

Plugins (4)

ponytail@ponytailfrontend-design@claude-plugins-officialengram@engramtypescript-lsp@claude-plugins-official

Permissions

deny (120)
Agent(orchestrator)
Agent(general-purpose)
Agent(Explore)
Agent(Plan)
Agent(statusline-setup)
Agent(claude)
Agent(mercadopago:mp-integration-expert)
Bash(git push -f:*)
Bash(git push *--force*)
Bash(git push * -f)
Bash(git push * -f *)
Bash(git push *--delete*)
Bash(*--no-verify*)
Bash(git -C * push *--force*)
Bash(git -C * push * -f)
Bash(git -C * push * -f *)
Bash(git -C * push -f*)
Bash(git push +*)
Bash(git push * +*)
Bash(git -C * push * +*)
Bash(git -C * push +*)
Bash(git commit -n*)
Bash(git commit * -n*)
Bash(git -C * commit -n*)
Bash(git -C * commit * -n*)
Bash(git reset *--hard*)
Bash(git clean:*)
Read(~/.claude/.credentials.json)
Read(~/.claude.json)
Read(**/.env)
Read(**/.env.local)
Read(**/.env.*.local)
Read(**/.env.production)
Read(**/.env.prod)
Read(**/.env.development)
Read(**/.env.dev)
Read(**/.env.staging)
Read(**/.env.test)
Read(**/.next/**)
Read(**/.svelte-kit/**)
Read(**/new-database/**)
Read(~/.secrets/**)
Read(~/.claude/backups/**)
Read(**/.credentials.json)
Bash(cat *.env)
Bash(cat *.env *)
Bash(cat *.env.local*)
Bash(cat *.env.*.local*)
Bash(cat *.env.prod*)
Bash(cat *.env.dev*)
Bash(cat *.env.staging*)
Bash(cat *.env.test*)
Bash(head *.env)
Bash(head *.env *)
Bash(head *.env.local*)
Bash(head *.env.*.local*)
Bash(head *.env.prod*)
Bash(head *.env.dev*)
Bash(head *.env.staging*)
Bash(head *.env.test*)
ask (16)
Bash(gh pr merge:*)
Bash(gh secret *)
Bash(sudo *)
Bash(systemctl stop *)
Bash(systemctl restart *)
Bash(systemctl disable *)
Bash(ufw *)
Bash(*vps*docker restart*)
Bash(*vps*docker stop*)
Bash(*vps*docker rm *)
Bash(*vps*docker exec*)
Bash(*vps*docker compose up*)
Bash(*vps*docker compose down*)
Bash(*vps*systemctl restart*)
Bash(*vps*systemctl stop*)
Bash(*vps*systemctl disable*)
allow (70)
Bash(git status*)
Bash(git diff *)
Bash(git log *)
Bash(git show *)
Bash(git add *)
Bash(git commit *)
Bash(git worktree *)
Bash(git branch *)
Bash(git rev-parse *)
Bash(git merge-base *)
Bash(git -C *)
Bash(git pull *)
Bash(git stash *)
Bash(pnpm typecheck*)
Bash(pnpm lint*)
Bash(pnpm test*)
Bash(pnpm check*)
Bash(pnpm build*)
Bash(pnpm format*)
Bash(pnpm install*)
Bash(pnpm i)
Bash(pnpm run *)
Bash(pnpm db:*)
Bash(pnpm prisma *)
Bash(pnpm exec playwright *)
Bash(node *)
Bash(gh pr view *)
Bash(gh pr list *)
Bash(gh pr checks *)
Bash(gh pr create *)
Bash(gh pr edit *)
Bash(gh pr diff *)
Bash(gh label list*)
Bash(gh repo view*)
Bash(gh api *)
Bash(docker compose *)
Bash(docker exec *)
Bash(docker stop *)
Bash(docker restart *)
Bash(docker rm *)
Bash(docker logs *)
WebSearch
WebFetch
mcp__Claude_Browser
mcp__ccd_pr
mcp__ccd_turn
mcp__ccd_view
mcp__ccd_session
mcp__terminal__read_terminal
mcp__cloudflare
Bash(gh issue list *)
Bash(gh issue view *)
Bash(gh issue create *)
Bash(gh run view *)
Bash(git fetch *)
Bash(git ls-remote *)
Bash(git switch *)
Bash(git checkout -b *)
Bash(gh run list *)
Bash(gh run watch *)

Similar rigs

copied ✓