mmnto-ai/totem
Rules you can enforce, state you can derive, context you can query: plain files in your repo, under whichever coding agent you use.
ARCHETYPE
Automator
Hooks on every lifecycle event: format, lint, notify, log.
Copy this rig
# review before running: this installs third-party code $ claude mcp add totem -- cmd /c npx -y @mmnto/mcp $ npx degit mmnto-ai/totem/.claude ./rig-totem # 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 totem -- cmd /c npx -y @mmnto/mcp $ npx degit mmnto-ai/totem/.agents/skills/review-loop .claude/skills/review-loop $ npx degit mmnto-ai/totem/.agents/skills/review-reply .claude/skills/review-reply $ npx degit mmnto-ai/totem/.agents/skills/signoff .claude/skills/signoff $ npx degit mmnto-ai/totem/.agents/skills/signon .claude/skills/signon $ npx degit mmnto-ai/totem/.claude/skills/postmerge .claude/skills/postmerge $ npx degit mmnto-ai/totem/.claude/skills/preflight .claude/skills/preflight $ npx degit mmnto-ai/totem/.claude/skills/prepush .claude/skills/prepush $ npx degit mmnto-ai/totem/.junie/skills/totem-rules .claude/skills/totem-rules
$ curl -fsSL --create-dirs -o .claude/agents/build-leg.md https://raw.githubusercontent.com/mmnto-ai/totem/main/.claude/agents/build-leg.md $ curl -fsSL --create-dirs -o .claude/agents/explore-leg.md https://raw.githubusercontent.com/mmnto-ai/totem/main/.claude/agents/explore-leg.md $ curl -fsSL --create-dirs -o .claude/agents/falsification-leg.md https://raw.githubusercontent.com/mmnto-ai/totem/main/.claude/agents/falsification-leg.md
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": "Write|Edit",
"hooks": [
{
"type": "command",
"command": "node .claude/hooks/PreWriteShield.cjs"
}
]
},
{
"matcher": "Bash|PowerShell",
"hooks": [
{
"type": "command",
"command": "node .claude/hooks/gate-wrapper.cjs --event transport-shield --strict"
},
{
"type": "command",
"command": "node .claude/hooks/gate-wrapper.cjs --event merge-ready --pilot"
}
]
}
]
}
} MCP servers (1)
| server | source | est. tokens |
|---|---|---|
| @mmnto/mcp · "totem" | npm | 2.5k |
Skills (8)
Subagents (3)
| build-leg model: opus | Bounded Opus build leg for mechanical labor against a ruled spec — fixtures, mechanical variations on an exemplar, sweeps, file authoring to a verbatim contract clause. Never handed a ruling or contra |
| explore-leg model: opus | Read-only-charge Opus exploration/derivation leg — censuses, sweeps, searches, state derivation across many files or repos. Returns grounded conclusions with named sources; no-edit tool grant. |
| falsification-leg model: opus | Standing pre-merge falsification leg (mmnto-ai/totem-strategy:doctrine/model-tiering.md § Review legs). Dispatch on any self-authored judgment-dense diff BEFORE presenting it for merge, and again on a |
Hooks (7)
| event | matcher | runs |
|---|---|---|
| PreToolUse | Write|Edit | node .claude/hooks/PreWriteShield.cjs |
| PreToolUse | Bash|PowerShell | node .claude/hooks/gate-wrapper.cjs --event transport-shield --strict |
| PreToolUse | Bash|PowerShell | node .claude/hooks/gate-wrapper.cjs --event merge-ready --pilot |
| SessionStart | * | node .claude/hooks/session-context.mjs |
| SessionStart | * | node .claude/hooks/SessionStart.cjs |
| PreCompact | * | bash .claude/hooks/pre-compact.sh |
| PostCompact | * | bash .claude/hooks/post-compact.sh |
Permissions
deny (0)
—
ask (0)
—
allow (5)
Bash(npm view *)
Bash(gdlint *)
Bash(gh search *)
mcp__totem-dev__search_knowledge
mcp__totem-strategy__search_knowledge
Similar rigs
spxrogers/agentsync
Sync AI coding-agent configs (Claude Code, OpenCode, Codex, and more) from one canonical, committable source.
Pragmatist 12.8k tok ·
Dana-Afazeli/agentic-swe-kit
A maintained template for the agentic-SWE harness: proven gates, Claude Code hooks, CI, a headless review loop, and the workflow docs behind them. Use this template, run kit.py init, take updates with kit.py update.
Fort Knox 1.7k tok ·
manpreet171/slopguard
Security guardrails for vibe coding. Blocks insecure AI-generated code at the moment it's written - hardcoded secrets, SQL injection, hallucinated packages, and agent supply-chain attacks.
Minimalist 2.4k tok ·
anveo/dotfiles
There's no place like ~/
Pragmatist 2.1k tok ·