~ / rigs / mariogmz / agentic-claude-template

mariogmz/agentic-claude-template

Multi-agent orchestration template for Claude Code. Accelerate development 10x with 4 specialized AI agents working in parallel via git worktrees. Includes 12 workflow commands, contract-driven coordination, and automated quality checks.

↗ GitHub ★ 0 MIT updated 12mo ago project Claude Code
share on X
ARCHETYPE
Fort Knox
Deny lists, pre-tool hooks, sandboxing. Nothing touches prod without a signature.
CONTEXT TAX · EVERY TURN
~187 tokens
Featherweight · median rig: 2.3k · breakdown
GUARDRAILS
4/5
Blocks destructive commands · Protects secrets · Pre-tool screening hook · No YOLO mode · details

Copy this rig

# review before running: this installs third-party code
$ npx degit mariogmz/agentic-claude-template/.claude ./rig-agentic-claude-template  # 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.

$ curl -fsSL --create-dirs -o .claude/agents/backend-expert.md https://raw.githubusercontent.com/mariogmz/agentic-claude-template/master/.claude/agents/backend-expert.md
$ curl -fsSL --create-dirs -o .claude/agents/devops-specialist.md https://raw.githubusercontent.com/mariogmz/agentic-claude-template/master/.claude/agents/devops-specialist.md
$ curl -fsSL --create-dirs -o .claude/agents/frontend-expert.md https://raw.githubusercontent.com/mariogmz/agentic-claude-template/master/.claude/agents/frontend-expert.md
$ curl -fsSL --create-dirs -o .claude/agents/qa-automation.md https://raw.githubusercontent.com/mariogmz/agentic-claude-template/master/.claude/agents/qa-automation.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 /)",
      "Bash(rm:-rf /*)",
      "Bash(rm:-rf ~)",
      "Bash(rm:-rf $HOME)",
      "Bash(*:--force*origin/main*)",
      "Bash(*:--force*origin/master*)",
      "Bash(:*:DROP DATABASE:*)",
      "Bash(:*:DROP TABLE:*)",
      "Bash(:*:DELETE FROM:*WHERE:*)",
      "Bash(chmod:777:*)",
      "Bash(chmod:-R 777:*)",
      "Bash(dd:*)",
      "Bash(mkfs:*)",
      "Bash(*:/dev/sd*)",
      "Write(.env.production)",
      "Edit(.env.production)",
      "Write(config/database.yml)",
      "Edit(config/database.yml)",
      "Write(config/secrets.yml)",
      "Edit(config/secrets.yml)",
      "Write(.aws/credentials)",
      "Edit(.aws/credentials)"
    ]
  },
  "hooks": {
    "PreToolUse": [
      {
        "matcher": "Bash",
        "hooks": [
          {
            "type": "command",
            "command": ".claude/hooks/pre-tool-use.sh"
          }
        ]
      }
    ]
  }
}

Subagents (4)

backend-expert—
devops-specialist—
frontend-expert—
qa-automation—

Hooks (7)

eventmatcherruns
PreToolUseBash.claude/hooks/pre-tool-use.sh
PostToolUseEdit|Write|MultiEdit.claude/hooks/post-tool-use.sh
Notification*.claude/hooks/notification.sh
Stop*.claude/hooks/stop.sh
SubagentStop*.claude/hooks/subagent-stop.sh
UserPromptSubmit*.claude/hooks/user-prompt-submit.sh
SessionStart*.claude/hooks/session-start.sh

Slash commands (10)

/analyse/bug/chore/cleanup/create-command/feature/implement/install/prime/review

Permissions

deny (22)
Bash(rm:-rf /)
Bash(rm:-rf /*)
Bash(rm:-rf ~)
Bash(rm:-rf $HOME)
Bash(*:--force*origin/main*)
Bash(*:--force*origin/master*)
Bash(:*:DROP DATABASE:*)
Bash(:*:DROP TABLE:*)
Bash(:*:DELETE FROM:*WHERE:*)
Bash(chmod:777:*)
Bash(chmod:-R 777:*)
Bash(dd:*)
Bash(mkfs:*)
Bash(*:/dev/sd*)
Write(.env.production)
Edit(.env.production)
Write(config/database.yml)
Edit(config/database.yml)
Write(config/secrets.yml)
Edit(config/secrets.yml)
Write(.aws/credentials)
Edit(.aws/credentials)
ask (0)
—
allow (43)
Bash(git:*)
Bash(npm:*)
Bash(yarn:*)
Bash(pnpm:*)
Bash(bundle:*)
Bash(mix:*)
Bash(cargo:*)
Bash(rails:*)
Bash(rspec:*)
Bash(jest:*)
Bash(vitest:*)
Bash(pytest:*)
Bash(prettier:*)
Bash(eslint:*)
Bash(rubocop:*)
Bash(mix format:*)
Bash(black:*)
Bash(rustfmt:*)
Bash(gofmt:*)
Bash(mkdir:*)
Bash(find:*)
Bash(grep:*)
Bash(ls:*)
Bash(cp:*)
Bash(mv:*)
Bash(touch:*)
Bash(chmod:*)
Bash(cat:*)
Bash(echo:*)
Bash(cd:*)
Bash(pwd:*)
Bash(tree:*)
Bash(which:*)
Bash(node:*)
Bash(python:*)
Bash(ruby:*)
Write
Edit
MultiEdit
Read
Notebook
Glob
Grep

Similar rigs

copied ✓