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
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)
| event | matcher | runs |
|---|---|---|
| SessionStart | * | bash "$CLAUDE_PROJECT_DIR/.githooks/process-gate" session-start --ide claude |
| PreToolUse | Bash | bash "$CLAUDE_PROJECT_DIR/.githooks/process-gate" pre-edit --ide claude |
| PreToolUse | Edit|Write|MultiEdit|NotebookEdit | 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 |
| Stop | * | bash "$CLAUDE_PROJECT_DIR/.githooks/process-gate" stop --ide claude |
Permissions
deny (0)
—
ask (0)
—
allow (1)
Bash(python3 -m pytest:*)
Similar rigs
eyaltoledano/claude-task-master
An AI-powered task-management system you can drop into Cursor, Lovable, Windsurf, Roo, and others.
Automator 64.3k tok · · Q3
cocoindex-io/cocoindex
Incremental engine for long horizon agents 🌟 Star if you like it!
Automator 7.3k tok · · Q18
FailproofAI/failproofai
Observability and enforcement for AI agent harnesses. Capture every run and runtime reliability with policy enforcement.
Automator 22.9k tok · · Q48
caliber-ai-org/ai-setup
Continuously sync your AI setups with one command. Codebase tailor suited agent skills, MCPs and config files for Claude Code, Cursor, and Codex.
Automator 3.2k tok · · Q11