rpg-sim-lab/rpg-based-simulation
Large-scale, detailed fantasy world simulation engine in Python: autonomous entities with strategic cognition, social interaction, economy, and world evolution. Built with an AI-first, multi-agent development workflow.
ARCHETYPE
Fort Knox
Deny lists, pre-tool hooks, sandboxing. Nothing touches prod without a signature.
CONTEXT TAX · EVERY TURN
up to ~37.2k tokens
Claude Code loads MCP tools on demand, so the real cost is usually lower.
Context hog · median rig: 2.3k · breakdown
GUARDRAILS
4/5
Blocks destructive commands · Pre-tool screening hook · No YOLO mode · Sandbox or ask-first rules · details
Quality 30/100 Guardrails v2
Copy this rig
# review before running: this installs third-party code $ claude mcp add github -- docker run -i --rm --env-file ${HOME}/.config/rpg-sim/github-mcp.env ghcr.io/github/github-mcp-server $ npx degit rpg-sim-lab/rpg-based-simulation/.claude ./rig-rpg-based-simulation # 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 github -- docker run -i --rm --env-file ${HOME}/.config/rpg-sim/github-mcp.env ghcr.io/github/github-mcp-server $ npx degit rpg-sim-lab/rpg-based-simulation/.agents/skills/agent-monitoring-retro .claude/skills/agent-monitoring-retro $ npx degit rpg-sim-lab/rpg-based-simulation/.agents/skills/api-design-principles .claude/skills/api-design-principles $ npx degit rpg-sim-lab/rpg-based-simulation/.agents/skills/architecture .claude/skills/architecture $ npx degit rpg-sim-lab/rpg-based-simulation/.agents/skills/backend-testing .claude/skills/backend-testing $ npx degit rpg-sim-lab/rpg-based-simulation/.agents/skills/brainstorming .claude/skills/brainstorming $ npx degit rpg-sim-lab/rpg-based-simulation/.agents/skills/code-craft .claude/skills/code-craft $ npx degit rpg-sim-lab/rpg-based-simulation/.agents/skills/cognition-strategy .claude/skills/cognition-strategy $ npx degit rpg-sim-lab/rpg-based-simulation/.agents/skills/combat-mechanics .claude/skills/combat-mechanics $ npx degit rpg-sim-lab/rpg-based-simulation/.agents/skills/create-tickets .claude/skills/create-tickets $ npx degit rpg-sim-lab/rpg-based-simulation/.agents/skills/debugging-strategies .claude/skills/debugging-strategies $ npx degit rpg-sim-lab/rpg-based-simulation/.agents/skills/doc-coauthoring .claude/skills/doc-coauthoring $ npx degit rpg-sim-lab/rpg-based-simulation/.agents/skills/frontend-design .claude/skills/frontend-design $ npx degit rpg-sim-lab/rpg-based-simulation/.agents/skills/implement-epic .claude/skills/implement-epic $ npx degit rpg-sim-lab/rpg-based-simulation/.agents/skills/implement-ticket .claude/skills/implement-ticket $ npx degit rpg-sim-lab/rpg-based-simulation/.agents/skills/observability .claude/skills/observability $ npx degit rpg-sim-lab/rpg-based-simulation/.agents/skills/progression-entities .claude/skills/progression-entities $ npx degit rpg-sim-lab/rpg-based-simulation/.agents/skills/prompt-builder .claude/skills/prompt-builder $ npx degit rpg-sim-lab/rpg-based-simulation/.agents/skills/python-performance-optimization .claude/skills/python-performance-optimization $ npx degit rpg-sim-lab/rpg-based-simulation/.agents/skills/python-testing-patterns .claude/skills/python-testing-patterns $ npx degit rpg-sim-lab/rpg-based-simulation/.agents/skills/simq-audit .claude/skills/simq-audit $ npx degit rpg-sim-lab/rpg-based-simulation/.agents/skills/simq-dev .claude/skills/simq-dev $ npx degit rpg-sim-lab/rpg-based-simulation/.agents/skills/systems-economy .claude/skills/systems-economy $ npx degit rpg-sim-lab/rpg-based-simulation/.agents/skills/test-driven-development .claude/skills/test-driven-development
$ curl -fsSL --create-dirs -o .claude/agents/architecture-reviewer.md https://raw.githubusercontent.com/rpg-sim-lab/rpg-based-simulation/main/.claude/agents/architecture-reviewer.md $ curl -fsSL --create-dirs -o .claude/agents/concern-investigator.md https://raw.githubusercontent.com/rpg-sim-lab/rpg-based-simulation/main/.claude/agents/concern-investigator.md $ curl -fsSL --create-dirs -o .claude/agents/doc-updater.md https://raw.githubusercontent.com/rpg-sim-lab/rpg-based-simulation/main/.claude/agents/doc-updater.md $ curl -fsSL --create-dirs -o .claude/agents/done-checker.md https://raw.githubusercontent.com/rpg-sim-lab/rpg-based-simulation/main/.claude/agents/done-checker.md $ curl -fsSL --create-dirs -o .claude/agents/implementer.md https://raw.githubusercontent.com/rpg-sim-lab/rpg-based-simulation/main/.claude/agents/implementer.md $ curl -fsSL --create-dirs -o .claude/agents/investigator.md https://raw.githubusercontent.com/rpg-sim-lab/rpg-based-simulation/main/.claude/agents/investigator.md $ curl -fsSL --create-dirs -o .claude/agents/mechanics-auditor.md https://raw.githubusercontent.com/rpg-sim-lab/rpg-based-simulation/main/.claude/agents/mechanics-auditor.md $ curl -fsSL --create-dirs -o .claude/agents/parity-updater.md https://raw.githubusercontent.com/rpg-sim-lab/rpg-based-simulation/main/.claude/agents/parity-updater.md $ curl -fsSL --create-dirs -o .claude/agents/planner.md https://raw.githubusercontent.com/rpg-sim-lab/rpg-based-simulation/main/.claude/agents/planner.md $ curl -fsSL --create-dirs -o .claude/agents/security-reviewer.md https://raw.githubusercontent.com/rpg-sim-lab/rpg-based-simulation/main/.claude/agents/security-reviewer.md $ curl -fsSL --create-dirs -o .claude/agents/session-agent-working-designer-u24.md https://raw.githubusercontent.com/rpg-sim-lab/rpg-based-simulation/main/.claude/agents/session-agent-working-designer-u24.md $ curl -fsSL --create-dirs -o .claude/agents/session-agent-working-designer.md https://raw.githubusercontent.com/rpg-sim-lab/rpg-based-simulation/main/.claude/agents/session-agent-working-designer.md $ curl -fsSL --create-dirs -o .claude/agents/session-agent-working-implementer-u24.md https://raw.githubusercontent.com/rpg-sim-lab/rpg-based-simulation/main/.claude/agents/session-agent-working-implementer-u24.md $ curl -fsSL --create-dirs -o .claude/agents/session-agent-working-implementer.md https://raw.githubusercontent.com/rpg-sim-lab/rpg-based-simulation/main/.claude/agents/session-agent-working-implementer.md $ curl -fsSL --create-dirs -o .claude/agents/session-agent-working-planner-u24.md https://raw.githubusercontent.com/rpg-sim-lab/rpg-based-simulation/main/.claude/agents/session-agent-working-planner-u24.md $ curl -fsSL --create-dirs -o .claude/agents/session-agent-working-planner.md https://raw.githubusercontent.com/rpg-sim-lab/rpg-based-simulation/main/.claude/agents/session-agent-working-planner.md $ curl -fsSL --create-dirs -o .claude/agents/session-architecture-implementer-u24.md https://raw.githubusercontent.com/rpg-sim-lab/rpg-based-simulation/main/.claude/agents/session-architecture-implementer-u24.md $ curl -fsSL --create-dirs -o .claude/agents/session-architecture-implementer.md https://raw.githubusercontent.com/rpg-sim-lab/rpg-based-simulation/main/.claude/agents/session-architecture-implementer.md $ curl -fsSL --create-dirs -o .claude/agents/session-architecture-planner-u24.md https://raw.githubusercontent.com/rpg-sim-lab/rpg-based-simulation/main/.claude/agents/session-architecture-planner-u24.md $ curl -fsSL --create-dirs -o .claude/agents/session-architecture-planner.md https://raw.githubusercontent.com/rpg-sim-lab/rpg-based-simulation/main/.claude/agents/session-architecture-planner.md $ curl -fsSL --create-dirs -o .claude/agents/session-asset-implementer.md https://raw.githubusercontent.com/rpg-sim-lab/rpg-based-simulation/main/.claude/agents/session-asset-implementer.md $ curl -fsSL --create-dirs -o .claude/agents/session-asset-planner.md https://raw.githubusercontent.com/rpg-sim-lab/rpg-based-simulation/main/.claude/agents/session-asset-planner.md $ curl -fsSL --create-dirs -o .claude/agents/session-codebase-designer.md https://raw.githubusercontent.com/rpg-sim-lab/rpg-based-simulation/main/.claude/agents/session-codebase-designer.md $ curl -fsSL --create-dirs -o .claude/agents/session-codebase-implementer.md https://raw.githubusercontent.com/rpg-sim-lab/rpg-based-simulation/main/.claude/agents/session-codebase-implementer.md $ curl -fsSL --create-dirs -o .claude/agents/session-codebase-planner.md https://raw.githubusercontent.com/rpg-sim-lab/rpg-based-simulation/main/.claude/agents/session-codebase-planner.md $ curl -fsSL --create-dirs -o .claude/agents/session-lead-planner-u24.md https://raw.githubusercontent.com/rpg-sim-lab/rpg-based-simulation/main/.claude/agents/session-lead-planner-u24.md $ curl -fsSL --create-dirs -o .claude/agents/session-lead-planner.md https://raw.githubusercontent.com/rpg-sim-lab/rpg-based-simulation/main/.claude/agents/session-lead-planner.md $ curl -fsSL --create-dirs -o .claude/agents/session-perf-implementer.md https://raw.githubusercontent.com/rpg-sim-lab/rpg-based-simulation/main/.claude/agents/session-perf-implementer.md $ curl -fsSL --create-dirs -o .claude/agents/session-perf-planner.md https://raw.githubusercontent.com/rpg-sim-lab/rpg-based-simulation/main/.claude/agents/session-perf-planner.md $ curl -fsSL --create-dirs -o .claude/agents/session-platform-implementer-u24.md https://raw.githubusercontent.com/rpg-sim-lab/rpg-based-simulation/main/.claude/agents/session-platform-implementer-u24.md $ curl -fsSL --create-dirs -o .claude/agents/session-platform-implementer.md https://raw.githubusercontent.com/rpg-sim-lab/rpg-based-simulation/main/.claude/agents/session-platform-implementer.md $ curl -fsSL --create-dirs -o .claude/agents/session-platform-planner-u24.md https://raw.githubusercontent.com/rpg-sim-lab/rpg-based-simulation/main/.claude/agents/session-platform-planner-u24.md $ curl -fsSL --create-dirs -o .claude/agents/session-platform-planner.md https://raw.githubusercontent.com/rpg-sim-lab/rpg-based-simulation/main/.claude/agents/session-platform-planner.md $ curl -fsSL --create-dirs -o .claude/agents/session-rpg-designer-ubuntu.md https://raw.githubusercontent.com/rpg-sim-lab/rpg-based-simulation/main/.claude/agents/session-rpg-designer-ubuntu.md $ curl -fsSL --create-dirs -o .claude/agents/session-rpg-designer.md https://raw.githubusercontent.com/rpg-sim-lab/rpg-based-simulation/main/.claude/agents/session-rpg-designer.md $ curl -fsSL --create-dirs -o .claude/agents/session-rpg-implementer-ubuntu.md https://raw.githubusercontent.com/rpg-sim-lab/rpg-based-simulation/main/.claude/agents/session-rpg-implementer-ubuntu.md $ curl -fsSL --create-dirs -o .claude/agents/session-rpg-implementer.md https://raw.githubusercontent.com/rpg-sim-lab/rpg-based-simulation/main/.claude/agents/session-rpg-implementer.md $ curl -fsSL --create-dirs -o .claude/agents/session-rpg-planner-ubuntu.md https://raw.githubusercontent.com/rpg-sim-lab/rpg-based-simulation/main/.claude/agents/session-rpg-planner-ubuntu.md $ curl -fsSL --create-dirs -o .claude/agents/session-rpg-planner.md https://raw.githubusercontent.com/rpg-sim-lab/rpg-based-simulation/main/.claude/agents/session-rpg-planner.md $ curl -fsSL --create-dirs -o .claude/agents/session-testing-designer.md https://raw.githubusercontent.com/rpg-sim-lab/rpg-based-simulation/main/.claude/agents/session-testing-designer.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(gh pr merge*--admin*)"
],
"ask": [
"Bash(gh pr merge *)",
"Bash(git push --delete *)",
"Bash(git push * --delete *)",
"Bash(gh api -X DELETE *)",
"Bash(gh api --method DELETE *)",
"Bash(git worktree remove *)",
"Bash(rm *agent-working/agent-monitoring/*)",
"Workflow"
]
},
"hooks": {
"PreToolUse": [
{
"matcher": "*",
"hooks": [
{
"type": "command",
"command": "R=$(git rev-parse --show-toplevel 2>/dev/null) || exit 0; test -f \"$R/tools/agent-monitoring/pre_tool_hook.py\" || exit 0; cd \"$R\" && python3 tools/agent-monitoring/pre_tool_hook.py 2>/dev/null || true"
}
]
},
{
"matcher": "Bash",
"hooks": [
{
"type": "command",
"command": "CMD=$(python3 -c \"import json,sys; d=json.load(sys.stdin); print(d.get('tool_input',d).get('command',''))\" 2>/dev/null || true); case \"$CMD\" in *grep*|*rg\\ *|*ripgrep*|*find\\ *|*fd\\ *|*ack\\ *|*ag\\ *) if [ -f graphify-out/graph.json ]; then "
},
{
"type": "command",
"command": "python3 -c \"import json,sys\ntry:\n from tools.write_path_guard import scan_for_secrets\n d=json.load(sys.stdin)\n m=scan_for_secrets(d.get('tool_input',d).get('command',''))\n if m: print(json.dumps({'hookSpecificOutput':{'hookEvent"
},
{
"type": "command",
"command": "R=$(git rev-parse --show-toplevel 2>/dev/null) || exit 0; test -f \"$R/tools/agent-monitoring/cd_prefix_advisory_hook.py\" || exit 0; cd \"$R\" && python3 tools/agent-monitoring/cd_prefix_advisory_hook.py 2>/dev/null || true"
},
{
"type": "command",
"command": "python3 tools/delivery/pre_push_advisory_hook.py 2>/dev/null || true"
}
]
},
{
"matcher": "Agent",
"hooks": [
{
"type": "command",
"command": "DESC=$(python3 -c \"import json,sys; d=json.load(sys.stdin); i=d.get('tool_input',{}); print(i.get('description','') + ' ' + i.get('prompt',''))\" 2>/dev/null || true); case \"$DESC\" in *invest*|*search*|*find*|*explor*|*locat*|*grep*|*where*|"
}
]
},
{
"matcher": "Edit|Write",
"hooks": [
{
"type": "command",
"command": "FILE=$(python3 -c \"import json,sys; d=json.load(sys.stdin); print(d.get('tool_input',d).get('file_path',''))\" 2>/dev/null || true); case \"$FILE\" in */agent-working/tickets/*|*/agent-working/staging_artifacts/*|*/src/*|*/tests/*|*/docs/*) if"
}
]
},
{
"matcher": "Bash|Edit|Write|MultiEdit|NotebookEdit|SendMessage",
"hooks": [
{
"type": "command",
"command": "R=$(git rev-parse --show-toplevel 2>/dev/null) || exit 0; test -f \"$R/tools/sessions/guard.py\" || exit 0; python3 \"$R/tools/sessions/guard.py\""
}
]
}
]
}
} MCP servers (4)
| server | source | est. tokens |
|---|---|---|
| knowledge-search | local / custom | 2.5k |
| GitHub MCP · "github" | docker | 18.0k |
| headroom | local / custom | 2.5k |
| aseprite-pixel-art env: VISUAL_ASSETS_CHECKOUT | local / custom | 2.5k |
Skills (23)
agent-monitoring-retroapi-design-principlesarchitecturebackend-testingbrainstormingcode-craftcognition-strategycombat-mechanicscreate-ticketsdebugging-strategiesdoc-coauthoringfrontend-designimplement-epicimplement-ticketobservabilityprogression-entitiesprompt-builderpython-performance-optimizationpython-testing-patternssimq-auditsimq-devsystems-economytest-driven-development
Subagents (48)
| architecture-reviewer | Validates an implementation plan (pre-Implement) or a diff (post-Implement Architecture-Verify) against the project's durable-state, API-boundary, registry, and Mechanics Bible/engine-contract rules b |
| concern-investigator | Given a proposal concern (not yet a ticket), investigates the codebase via search_docs → graphify → registry → working_log ordering and returns structured JSON findings for create-tickets.js's Structu |
| doc-updater | After a behavior change is implemented, updates the relevant docs/ files (outside parity_ledger/, audits/, archive/, scenarios/, entity/) to reflect the new state. |
| done-checker | Verifies all 13 Definition-of-Done conditions for a ticket before it can move to agent-working/tickets/done/, citing the static pre-check script for the five script-checkable conditions. |
| implementer | Writes the code changes described in an approved plan.md, following the project's durable-state and API-boundary architecture constraints exactly. |
| investigator | Given a ticket, digs into the affected codebase and produces the two mandatory pre-implementation artifacts, investigation.md and test_plan.md. |
| mechanics-auditor | Compares a Mechanics Bible chapter to the actual source implementation and reports PARITY/DIVERGENT/MISSING/UNDOCUMENTED findings. |
| parity-updater | After a behavior change is implemented, updates the relevant YAML entries in docs/parity_ledger/ to reflect the new state. |
| planner | Given a ticket and investigation findings, produces plan.md — the ordered, implementer-ready implementation spec with scope guards and an acceptance-criteria map. |
| security-reviewer | Given implemented code changes on a security-tagged ticket, reviews the diff for injection, unsafe deserialization, path traversal, secrets-in-code, and raw-domain-model exposure before Verify. |
| session-agent-working-designer-u24 | Launcher-only session role card for agent-working-designer-u24. Never spawn this as a subagent: it is the main-session definition used by `--agent`. |
| session-agent-working-designer | Launcher-only session role card for agent-working-designer. Never spawn this as a subagent: it is the main-session definition used by `--agent`. |
| session-agent-working-implementer-u24 | Launcher-only session role card for agent-working-implementer-u24. Never spawn this as a subagent: it is the main-session definition used by `--agent`. |
| session-agent-working-implementer | Launcher-only session role card for agent-working-implementer. Never spawn this as a subagent: it is the main-session definition used by `--agent`. |
| session-agent-working-planner-u24 | Launcher-only session role card for agent-working-planner-u24. Never spawn this as a subagent: it is the main-session definition used by `--agent`. |
| session-agent-working-planner | Launcher-only session role card for agent-working-planner. Never spawn this as a subagent: it is the main-session definition used by `--agent`. |
| session-architecture-implementer-u24 | Launcher-only session role card for architecture-implementer-u24. Never spawn this as a subagent: it is the main-session definition used by `--agent`. |
| session-architecture-implementer | Launcher-only session role card for architecture-implementer. Never spawn this as a subagent: it is the main-session definition used by `--agent`. |
| session-architecture-planner-u24 | Launcher-only session role card for architecture-planner-u24. Never spawn this as a subagent: it is the main-session definition used by `--agent`. |
| session-architecture-planner | Launcher-only session role card for architecture-planner. Never spawn this as a subagent: it is the main-session definition used by `--agent`. |
| session-asset-implementer | Launcher-only session role card for asset-implementer. Never spawn this as a subagent: it is the main-session definition used by `--agent`. |
| session-asset-planner | Launcher-only session role card for asset-planner. Never spawn this as a subagent: it is the main-session definition used by `--agent`. |
| session-codebase-designer | Launcher-only session role card for codebase-designer. Never spawn this as a subagent: it is the main-session definition used by `--agent`. |
| session-codebase-implementer | Launcher-only session role card for codebase-implementer. Never spawn this as a subagent: it is the main-session definition used by `--agent`. |
| session-codebase-planner | Launcher-only session role card for codebase-planner. Never spawn this as a subagent: it is the main-session definition used by `--agent`. |
| session-lead-planner-u24 | Launcher-only session role card for lead-planner-u24. Never spawn this as a subagent: it is the main-session definition used by `--agent`. |
| session-lead-planner | Launcher-only session role card for lead-planner. Never spawn this as a subagent: it is the main-session definition used by `--agent`. |
| session-perf-implementer | Launcher-only session role card for perf-implementer. Never spawn this as a subagent: it is the main-session definition used by `--agent`. |
| session-perf-planner | Launcher-only session role card for perf-planner. Never spawn this as a subagent: it is the main-session definition used by `--agent`. |
| session-platform-implementer-u24 | Launcher-only session role card for platform-implementer-u24. Never spawn this as a subagent: it is the main-session definition used by `--agent`. |
| session-platform-implementer | Launcher-only session role card for platform-implementer. Never spawn this as a subagent: it is the main-session definition used by `--agent`. |
| session-platform-planner-u24 | Launcher-only session role card for platform-planner-u24. Never spawn this as a subagent: it is the main-session definition used by `--agent`. |
| session-platform-planner | Launcher-only session role card for platform-planner. Never spawn this as a subagent: it is the main-session definition used by `--agent`. |
| session-rpg-designer-ubuntu | Launcher-only session role card for rpg-designer-ubuntu. Never spawn this as a subagent: it is the main-session definition used by `--agent`. |
| session-rpg-designer | Launcher-only session role card for rpg-designer. Never spawn this as a subagent: it is the main-session definition used by `--agent`. |
| session-rpg-implementer-ubuntu | Launcher-only session role card for rpg-implementer-ubuntu. Never spawn this as a subagent: it is the main-session definition used by `--agent`. |
| session-rpg-implementer | Launcher-only session role card for rpg-implementer. Never spawn this as a subagent: it is the main-session definition used by `--agent`. |
| session-rpg-planner-ubuntu | Launcher-only session role card for rpg-planner-ubuntu. Never spawn this as a subagent: it is the main-session definition used by `--agent`. |
| session-rpg-planner | Launcher-only session role card for rpg-planner. Never spawn this as a subagent: it is the main-session definition used by `--agent`. |
| session-testing-designer | Launcher-only session role card for testing-designer. Never spawn this as a subagent: it is the main-session definition used by `--agent`. |
Hooks (18)
| event | matcher | runs |
|---|---|---|
| ConfigChange | * | R=$(git rev-parse --show-toplevel 2>/dev/null) || exit 0; test -f "$R/tools/sessions/config_change_warning.py" || exit 0; python3 "$R/tools/sessions/config_change_warning.py" |
| PreToolUse | * | R=$(git rev-parse --show-toplevel 2>/dev/null) || exit 0; test -f "$R/tools/agent-monitoring/pre_tool_hook.py" || exit 0; cd "$R" && python3 tools/agent-monitoring/pre_tool_hook.py 2>/dev/null || true |
| PreToolUse | Bash | CMD=$(python3 -c "import json,sys; d=json.load(sys.stdin); print(d.get('tool_input',d).get('command',''))" 2>/dev/null || true); case "$CMD" in *grep*|*rg\ *|*ripgrep*|*find\ *|*fd\ *|*ack\ *|*ag\ *) if [ -f graphify-out/graph.json ]; then |
| PreToolUse | Agent | DESC=$(python3 -c "import json,sys; d=json.load(sys.stdin); i=d.get('tool_input',{}); print(i.get('description','') + ' ' + i.get('prompt',''))" 2>/dev/null || true); case "$DESC" in *invest*|*search*|*find*|*explor*|*locat*|*grep*|*where*| |
| PreToolUse | Edit|Write | FILE=$(python3 -c "import json,sys; d=json.load(sys.stdin); print(d.get('tool_input',d).get('file_path',''))" 2>/dev/null || true); case "$FILE" in */agent-working/tickets/*|*/agent-working/staging_artifacts/*|*/src/*|*/tests/*|*/docs/*) if |
| PreToolUse | Bash | python3 -c "import json,sys try: from tools.write_path_guard import scan_for_secrets d=json.load(sys.stdin) m=scan_for_secrets(d.get('tool_input',d).get('command','')) if m: print(json.dumps({'hookSpecificOutput':{'hookEvent |
| PreToolUse | Bash | R=$(git rev-parse --show-toplevel 2>/dev/null) || exit 0; test -f "$R/tools/agent-monitoring/cd_prefix_advisory_hook.py" || exit 0; cd "$R" && python3 tools/agent-monitoring/cd_prefix_advisory_hook.py 2>/dev/null || true |
| PreToolUse | Bash | python3 tools/delivery/pre_push_advisory_hook.py 2>/dev/null || true |
| PreToolUse | Bash|Edit|Write|MultiEdit|NotebookEdit|SendMessage | R=$(git rev-parse --show-toplevel 2>/dev/null) || exit 0; test -f "$R/tools/sessions/guard.py" || exit 0; python3 "$R/tools/sessions/guard.py" |
| PostToolUse | * | R=$(git rev-parse --show-toplevel 2>/dev/null) || exit 0; test -f "$R/tools/agent-monitoring/post_tool_hook.py" || exit 0; cd "$R" && python3 tools/agent-monitoring/post_tool_hook.py 2>/dev/null || true |
| PostToolUse | Edit|Write|MultiEdit | FILE=$(python3 -c "import json,sys; d=json.load(sys.stdin); print(d.get('tool_input',d).get('file_path',''))" 2>/dev/null || true); case "$FILE" in */src/*|*/tests/*) [ ! -L graphify-out ] && [ -f graphify-out/graph.json ] && graphify updat |
| PostToolUse | * | R=$(git rev-parse --show-toplevel 2>/dev/null) || exit 0; test -f "$R/tools/agent-monitoring/retro_nudge_hook.py" || exit 0; cd "$R" && python3 tools/agent-monitoring/retro_nudge_hook.py 2>/dev/null || true |
| PostToolUse | * | R=$(git rev-parse --show-toplevel 2>/dev/null) || exit 0; test -f "$R/tools/agent-monitoring/epic_staleness_check.py" || exit 0; cd "$R" && python3 tools/agent-monitoring/epic_staleness_check.py --hook 2>/dev/null || true |
| PostToolUse | Edit|Write|MultiEdit | python3 -m codebase.hooks.edit_ratchet_hook 2>/dev/null || true |
| SubagentStop | * | python3 tools/agent-monitoring/subagent_stop_background_guard.py |
| UserPromptSubmit | * | R=$(git rev-parse --show-toplevel 2>/dev/null) || exit 0; test -f "$R/tools/agent-monitoring/manual_actions.py" || exit 0; python3 "$R/tools/agent-monitoring/manual_actions.py" hook 2>/dev/null || true |
| SessionStart | * | python3 tools/sessions/session_start_hook.py 2>/dev/null || true |
| PostToolUseFailure | * | R=$(git rev-parse --show-toplevel 2>/dev/null) || exit 0; test -f "$R/tools/agent-monitoring/post_tool_hook.py" || exit 0; cd "$R" && python3 tools/agent-monitoring/post_tool_hook.py 2>/dev/null || true |
Permissions
deny (1)
Bash(gh pr merge*--admin*)
ask (8)
Bash(gh pr merge *)
Bash(git push --delete *)
Bash(git push * --delete *)
Bash(gh api -X DELETE *)
Bash(gh api --method DELETE *)
Bash(git worktree remove *)
Bash(rm *agent-working/agent-monitoring/*)
Workflow
allow (49)
Write
Edit
mcp__knowledge-search__search_docs
mcp__knowledge-search__search_health
Bash(git *)
Bash(grep *)
Bash(find *)
Bash(sed *)
Bash(awk *)
Bash(mkdir *)
Bash(mv *)
Bash(rm *)
Bash(cp *)
Bash(ln *)
Bash(ls *)
Bash(cat *)
Bash(head *)
Bash(tail *)
Bash(echo *)
Bash(sort *)
Bash(xargs *)
Bash(wc *)
Bash(python3 *)
Bash(python *)
Bash(/usr/bin/python3 *)
Bash(.venv/bin/python3 *)
Bash(~/Work/rpg-based-simulation/.venv/bin/python3 *)
Bash(~/Work/venv/bin/python3 *)
Bash(uv run *)
Bash(uv *)
Bash(pytest *)
Bash(pip *)
Bash(pip3 *)
Bash(make *)
Bash(graphify *)
Bash(npm *)
Bash(node *)
Bash(npx *)
Bash(nohup *)
Bash(curl *)
Bash(tmux *)
Bash(pkill *)
Bash(docker *)
Bash(timeout *)
Bash(gh pr create *)
Bash(rm -rf data/runs*)
Bash(rm -rf reports/release_proof*)
Bash(rm -rf data/runs/*)
Bash(rm -rf reports/release_proof/*)
Similar rigs
ttnhan18062000/rpg-based-simulation
Large-scale, detailed fantasy world simulation engine in Python: autonomous entities with strategic cognition, social interaction, economy, and world evolution. Built with an AI-first, multi-agent development workflow.
Fort Knox 36.0k tok · · Q15
mitchmolstad/claude-spark
Project template for Claude Code. Keep building useful stuff as things get complex through smart scaffolding and memory-that-matters. Persistent memory across sessions via structured documentation and skills.
Skill Collector 20.9k tok · · Q52
nguyenxp3n/agent-coding
Universal engineering behavioral rules, standardized skills, and reviewer personas for AI coding agents
Orchestrator 4.5k tok · · Q3
bartstc/vite-ts-react-template
This project provides a basic dev setup intended for Single Page Application (SPA) development. It contains key tools, settings for seamless DX, and an demo app presenting good practices and used tooling in action.
Skill Collector 35.9k tok · · Q16