~ / rigs / TomSzenessy / AI_TEMPLATE

TomSzenessy/AI_TEMPLATE

Self-healing starting point for AI-agent-built projects of any size: docs bound to code, generated host adapters, delegation roles, and deterministic gates for any agent or model.

share on X
ARCHETYPE
Orchestrator
A bench of specialised subagents. The main agent mostly delegates.
CONTEXT TAX · EVERY TURN
up to ~13.6k tokens
Claude Code loads MCP tools on demand, so the real cost is usually lower.
Heavy · median rig: 2.3k · breakdown
GUARDRAILS
2/5
No YOLO mode · Sandbox or ask-first rules · details
Quality 23/100 Guardrails v2

Copy this rig

# review before running: this installs third-party code
$ claude mcp add --transport http context7 https://mcp.context7.com/mcp -H 'CONTEXT7_API_KEY: YOUR_VALUE'
$ claude mcp add --transport http exa https://mcp.exa.ai/mcp -H 'x-api-key: YOUR_VALUE'
$ claude mcp add playwright -- npx -y @playwright/mcp@0.0.83
$ npx degit TomSzenessy/AI_TEMPLATE/.claude ./rig-ai_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.

$ claude mcp add --transport http context7 https://mcp.context7.com/mcp -H 'CONTEXT7_API_KEY: YOUR_VALUE'
$ claude mcp add --transport http exa https://mcp.exa.ai/mcp -H 'x-api-key: YOUR_VALUE'
$ claude mcp add playwright -- npx -y @playwright/mcp@0.0.83
$ npx degit TomSzenessy/AI_TEMPLATE/.agents/skills/agent-handover .claude/skills/agent-handover
$ npx degit TomSzenessy/AI_TEMPLATE/.agents/skills/brand-sweep .claude/skills/brand-sweep
$ npx degit TomSzenessy/AI_TEMPLATE/.agents/skills/design-tokens .claude/skills/design-tokens
$ npx degit TomSzenessy/AI_TEMPLATE/.agents/skills/experiment-lab .claude/skills/experiment-lab
$ npx degit TomSzenessy/AI_TEMPLATE/.agents/skills/parity-check .claude/skills/parity-check
$ npx degit TomSzenessy/AI_TEMPLATE/.agents/skills/pitch-from-evidence .claude/skills/pitch-from-evidence
$ npx degit TomSzenessy/AI_TEMPLATE/.agents/skills/plan-and-build .claude/skills/plan-and-build
$ npx degit TomSzenessy/AI_TEMPLATE/.agents/skills/product-kickoff .claude/skills/product-kickoff
$ npx degit TomSzenessy/AI_TEMPLATE/.agents/skills/product-recon .claude/skills/product-recon
$ npx degit TomSzenessy/AI_TEMPLATE/.agents/skills/quality-loop .claude/skills/quality-loop
$ npx degit TomSzenessy/AI_TEMPLATE/.agents/skills/repository-audit .claude/skills/repository-audit
$ npx degit TomSzenessy/AI_TEMPLATE/.agents/skills/review-mining .claude/skills/review-mining
$ npx degit TomSzenessy/AI_TEMPLATE/.agents/skills/review-practice .claude/skills/review-practice
$ npx degit TomSzenessy/AI_TEMPLATE/.agents/skills/stack-foundation .claude/skills/stack-foundation
$ npx degit TomSzenessy/AI_TEMPLATE/.agents/skills/systematic-debugging .claude/skills/systematic-debugging
$ npx degit TomSzenessy/AI_TEMPLATE/.agents/skills/technical-recon .claude/skills/technical-recon
$ npx degit TomSzenessy/AI_TEMPLATE/.agents/skills/ux-quality .claude/skills/ux-quality
$ npx degit TomSzenessy/AI_TEMPLATE/.agents/skills/web-quality .claude/skills/web-quality
$ curl -fsSL --create-dirs -o .claude/agents/critic.md https://raw.githubusercontent.com/TomSzenessy/AI_TEMPLATE/main/.claude/agents/critic.md
$ curl -fsSL --create-dirs -o .claude/agents/doc-gardener.md https://raw.githubusercontent.com/TomSzenessy/AI_TEMPLATE/main/.claude/agents/doc-gardener.md
$ curl -fsSL --create-dirs -o .claude/agents/implementer.md https://raw.githubusercontent.com/TomSzenessy/AI_TEMPLATE/main/.claude/agents/implementer.md
$ curl -fsSL --create-dirs -o .claude/agents/researcher.md https://raw.githubusercontent.com/TomSzenessy/AI_TEMPLATE/main/.claude/agents/researcher.md
$ curl -fsSL --create-dirs -o .claude/agents/scout.md https://raw.githubusercontent.com/TomSzenessy/AI_TEMPLATE/main/.claude/agents/scout.md
$ curl -fsSL --create-dirs -o .claude/agents/skill-scout.md https://raw.githubusercontent.com/TomSzenessy/AI_TEMPLATE/main/.claude/agents/skill-scout.md
$ curl -fsSL --create-dirs -o .claude/agents/strategist.md https://raw.githubusercontent.com/TomSzenessy/AI_TEMPLATE/main/.claude/agents/strategist.md

Merge into .claude/settings.json (project) or ~/.claude/settings.json (user). Hook commands reference scripts in the source repo — copy those too.

{
  "permissions": {
    "ask": [
      "Bash(make kit-publish:*)",
      "Bash(python3 tools/repoctl.py kit-publish:*)",
      "Bash(tools/repoctl kit-publish:*)",
      "Bash(./tools/repoctl kit-publish:*)"
    ]
  }
}

MCP servers (3)

serversourceest. tokens
Context7 remote · remote 1.2k
Exa remote · remote 1.5k
Playwright MCP · "playwright" npm 7.5k

Skills (18)

Subagents (7)

critic
model: opus
Fresh, read-only reviewer that tries to falsify a completion claim against the original acceptance criteria, the diff, and the real artifact. Use before declaring high-risk or subjective work done; th
doc-gardener
model: haiku
Docs-only maintainer. Fixes stale or dead doc bindings, broken command references, and navigation drift reported by make garden or the stop gate, so documentation keeps matching what the code actually
implementer
model: sonnet
Builds one bounded deliverable from a brief - smallest coherent change, tests first for bugs, owning docs updated in the same change, verified with the declared commands. Use for disjoint, well-specif
researcher
model: sonnet
Answers an external-knowledge question (current library APIs, platform rules, prior art, error messages) from primary sources using web search, docs MCP servers, and a browser, returning cited, versio
scout
model: haiku
Read-only locator. Use before reading many files yourself - finds where something lives, who owns it, how it is wired, and what broke there before, then returns a short map with file:line evidence.
skill-scout
model: sonnet
Absorb supplied notes, pasted information, GitHub URLs or resources against the current goal, or vet a missing capability; compare existing owners first and return a compact intake decision without in
strategist
model: opus
Divergent ideas: generates genuinely different, out-of-the-box approaches and alternative strategies to a goal, each with its cheapest decisive test; Use at goal start and when a measured metric stops

Hooks (4)

eventmatcherruns
SessionStart*"$CLAUDE_PROJECT_DIR/tools/repoctl" hook session-start
PreCompact*"$CLAUDE_PROJECT_DIR/tools/repoctl" hook pre-compact
PostToolUseEdit|Write|MultiEdit|NotebookEdit"$CLAUDE_PROJECT_DIR/tools/repoctl" hook after-edit
Stop*"$CLAUDE_PROJECT_DIR/tools/repoctl" hook stop

Permissions

deny (0)
—
ask (4)
Bash(make kit-publish:*)
Bash(python3 tools/repoctl.py kit-publish:*)
Bash(tools/repoctl kit-publish:*)
Bash(./tools/repoctl kit-publish:*)
allow (18)
Bash(make start)
Bash(make next)
Bash(make ui-review)
Bash(make done)
Bash(make check)
Bash(make test)
Bash(make verify)
Bash(make map)
Bash(make where:*)
Bash(make garden)
Bash(make risk)
Bash(make capabilities)
Bash(make sync)
Bash(make handover)
Bash(make inventory)
Bash(make resources)
Bash(make similar:*)
Bash(make new:*)

Similar rigs

copied ✓