~ / rigs / bobbyaqlaar / AgentSmith

bobbyaqlaar/AgentSmith

Governance for software built with AI coding agents, apps that call LLMs, and apps made of agents: design-before-code and recorded reviews in Claude Code and Cursor, CI security and eval gates, and runtime guardrails (budgets, PII, tool all

↗ GitHub ★ 0 AGPL-3.0 updated 6d ago project Claude Code
share on X
ARCHETYPE
Automator
Hooks on every lifecycle event: format, lint, notify, log.
CONTEXT TAX · EVERY TURN
n/a
Nothing in this repo is loaded every turn (no root instruction file, MCP servers, skills or subagents), so there's nothing to estimate. Templates or plugins installed from it aren't counted.
No estimate · median rig: 2.3k · breakdown
GUARDRAILS
3/5
Blocks destructive commands · Pre-tool screening hook · No YOLO mode · details
Quality 24/100 Guardrails v2

Copy this rig

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

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": "Bash",
        "hooks": [
          {
            "type": "command",
            "command": "bash \"$CLAUDE_PROJECT_DIR/.githooks/process-gate\" pre-edit --ide claude"
          }
        ]
      },
      {
        "matcher": "Edit|Write|MultiEdit|NotebookEdit",
        "hooks": [
          {
            "type": "command",
            "command": "bash \"$CLAUDE_PROJECT_DIR/.githooks/process-gate\" pre-edit --ide claude || printf '%s' '{\"hookSpecificOutput\": {\"hookEventName\": \"PreToolUse\", \"permissionDecision\": \"deny\", \"permissionDecisionReason\": \"The process gate could not run (.githo"
          }
        ]
      }
    ]
  }
}

Hooks (4)

eventmatcherruns
SessionStart*bash "$CLAUDE_PROJECT_DIR/.githooks/process-gate" session-start --ide claude
PreToolUseBashbash "$CLAUDE_PROJECT_DIR/.githooks/process-gate" pre-edit --ide claude
PreToolUseEdit|Write|MultiEdit|NotebookEditbash "$CLAUDE_PROJECT_DIR/.githooks/process-gate" pre-edit --ide claude || printf '%s' '{"hookSpecificOutput": {"hookEventName": "PreToolUse", "permissionDecision": "deny", "permissionDecisionReason": "The process gate could not run (.githo
Stop*bash "$CLAUDE_PROJECT_DIR/.githooks/process-gate" stop --ide claude

Permissions

deny (0)
—
ask (0)
—
allow (1)
Bash(python3 -m pytest:*)

Similar rigs

copied ✓