modu-ai/moai-adk
Agentic development harness for Claude Code — SPEC-driven plan/run/sync, TRUST 5 quality gates, model+effort routing, and Claude×GLM multi-LLM cost control. Single Go binary, 16 languages, zero deps.
field: Developer tools workflow: DocsTesting & TDDPlanning & specsSecurity reviewFrontend & design runs claude in CI
ARCHETYPE
Fort Knox
Deny lists, pre-tool hooks, sandboxing. Nothing touches prod without a signature.
GUARDRAILS
4/5
Blocks destructive commands · Protects secrets · Pre-tool screening hook · No YOLO mode · details
Quality 37/100 Guardrails v2
Copy this rig
# review before running: this installs third-party code $ claude mcp add moai -- moai mcp-server $ npx degit modu-ai/moai-adk/.claude ./rig-moai-adk # 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 moai -- moai mcp-server $ npx degit modu-ai/moai-adk/.agents/skills/moai-clean .claude/skills/moai-clean $ npx degit modu-ai/moai-adk/.agents/skills/moai-codemaps .claude/skills/moai-codemaps $ npx degit modu-ai/moai-adk/.agents/skills/moai-e2e .claude/skills/moai-e2e $ npx degit modu-ai/moai-adk/.agents/skills/moai-feedback .claude/skills/moai-feedback $ npx degit modu-ai/moai-adk/.agents/skills/moai-fix .claude/skills/moai-fix $ npx degit modu-ai/moai-adk/.agents/skills/moai-gate .claude/skills/moai-gate $ npx degit modu-ai/moai-adk/.agents/skills/moai-goal .claude/skills/moai-goal $ npx degit modu-ai/moai-adk/.agents/skills/moai-gtd .claude/skills/moai-gtd $ npx degit modu-ai/moai-adk/.agents/skills/moai-harness .claude/skills/moai-harness $ npx degit modu-ai/moai-adk/.agents/skills/moai-loop .claude/skills/moai-loop $ npx degit modu-ai/moai-adk/.agents/skills/moai-mx .claude/skills/moai-mx $ npx degit modu-ai/moai-adk/.agents/skills/moai-plan .claude/skills/moai-plan $ npx degit modu-ai/moai-adk/.agents/skills/moai-project .claude/skills/moai-project $ npx degit modu-ai/moai-adk/.agents/skills/moai-review .claude/skills/moai-review $ npx degit modu-ai/moai-adk/.agents/skills/moai-run .claude/skills/moai-run $ npx degit modu-ai/moai-adk/.agents/skills/moai-sync .claude/skills/moai-sync $ npx degit modu-ai/moai-adk/.agents/skills/moai-todo .claude/skills/moai-todo $ npx degit modu-ai/moai-adk/.claude/skills/hns-lsel-applier .claude/skills/hns-lsel-applier $ npx degit modu-ai/moai-adk/.claude/skills/hns-lsel-curator .claude/skills/hns-lsel-curator $ npx degit modu-ai/moai-adk/.claude/skills/hns-moaiadk-best-practices .claude/skills/hns-moaiadk-best-practices $ npx degit modu-ai/moai-adk/.claude/skills/hns-moaiadk-dev-reference .claude/skills/hns-moaiadk-dev-reference $ npx degit modu-ai/moai-adk/.claude/skills/hns-moaiadk-patterns .claude/skills/hns-moaiadk-patterns $ npx degit modu-ai/moai-adk/.claude/skills/hns-oss-docs-i18n-rules .claude/skills/hns-oss-docs-i18n-rules $ npx degit modu-ai/moai-adk/.claude/skills/hns-oss-docs-readme-sync .claude/skills/hns-oss-docs-readme-sync $ npx degit modu-ai/moai-adk/.claude/skills/hns-oss-docs-structure-map .claude/skills/hns-oss-docs-structure-map $ npx degit modu-ai/moai-adk/.claude/skills/hns-oss-docs-verify .claude/skills/hns-oss-docs-verify $ npx degit modu-ai/moai-adk/.claude/skills/hns-workflow-ci-loop .claude/skills/hns-workflow-ci-loop $ npx degit modu-ai/moai-adk/.claude/skills/moai-domain-backend .claude/skills/moai-domain-backend $ npx degit modu-ai/moai-adk/.claude/skills/moai-domain-database .claude/skills/moai-domain-database $ npx degit modu-ai/moai-adk/.claude/skills/moai-domain-design-dna .claude/skills/moai-domain-design-dna $ npx degit modu-ai/moai-adk/.claude/skills/moai-domain-frontend .claude/skills/moai-domain-frontend $ npx degit modu-ai/moai-adk/.claude/skills/moai-domain-html-report .claude/skills/moai-domain-html-report $ npx degit modu-ai/moai-adk/.claude/skills/moai-domain-humanize .claude/skills/moai-domain-humanize $ npx degit modu-ai/moai-adk/.claude/skills/moai-domain-svg-infographic .claude/skills/moai-domain-svg-infographic $ npx degit modu-ai/moai-adk/.claude/skills/moai-factory-foreman .claude/skills/moai-factory-foreman $ npx degit modu-ai/moai-adk/.claude/skills/moai-foundation-cc .claude/skills/moai-foundation-cc $ npx degit modu-ai/moai-adk/.claude/skills/moai-foundation-core .claude/skills/moai-foundation-core $ npx degit modu-ai/moai-adk/.claude/skills/moai-foundation-quality .claude/skills/moai-foundation-quality $ npx degit modu-ai/moai-adk/.claude/skills/moai-foundation-thinking .claude/skills/moai-foundation-thinking $ npx degit modu-ai/moai-adk/.claude/skills/moai-harness-learner .claude/skills/moai-harness-learner
$ curl -fsSL --create-dirs -o .claude/agents/cli-template-specialist.md https://raw.githubusercontent.com/modu-ai/moai-adk/main/.claude/agents/harness/cli-template-specialist.md $ curl -fsSL --create-dirs -o .claude/agents/hns-github-specialist.md https://raw.githubusercontent.com/modu-ai/moai-adk/main/.claude/agents/harness/hns-github-specialist.md $ curl -fsSL --create-dirs -o .claude/agents/hns-oss-docs-content-author-specialist.md https://raw.githubusercontent.com/modu-ai/moai-adk/main/.claude/agents/harness/hns-oss-docs-content-author-specialist.md $ curl -fsSL --create-dirs -o .claude/agents/hns-oss-docs-locale-translator-specialist.md https://raw.githubusercontent.com/modu-ai/moai-adk/main/.claude/agents/harness/hns-oss-docs-locale-translator-specialist.md $ curl -fsSL --create-dirs -o .claude/agents/hns-oss-docs-structure-curator-specialist.md https://raw.githubusercontent.com/modu-ai/moai-adk/main/.claude/agents/harness/hns-oss-docs-structure-curator-specialist.md $ curl -fsSL --create-dirs -o .claude/agents/hns-release-specialist.md https://raw.githubusercontent.com/modu-ai/moai-adk/main/.claude/agents/harness/hns-release-specialist.md $ curl -fsSL --create-dirs -o .claude/agents/hns-release-update-specialist.md https://raw.githubusercontent.com/modu-ai/moai-adk/main/.claude/agents/harness/hns-release-update-specialist.md $ curl -fsSL --create-dirs -o .claude/agents/hook-ci-specialist.md https://raw.githubusercontent.com/modu-ai/moai-adk/main/.claude/agents/harness/hook-ci-specialist.md $ curl -fsSL --create-dirs -o .claude/agents/quality-specialist.md https://raw.githubusercontent.com/modu-ai/moai-adk/main/.claude/agents/harness/quality-specialist.md $ curl -fsSL --create-dirs -o .claude/agents/workflow-specialist.md https://raw.githubusercontent.com/modu-ai/moai-adk/main/.claude/agents/harness/workflow-specialist.md $ curl -fsSL --create-dirs -o .claude/agents/builder-harness.md https://raw.githubusercontent.com/modu-ai/moai-adk/main/.claude/agents/moai/builder-harness.md $ curl -fsSL --create-dirs -o .claude/agents/e2e-tester.md https://raw.githubusercontent.com/modu-ai/moai-adk/main/.claude/agents/moai/e2e-tester.md $ curl -fsSL --create-dirs -o .claude/agents/manager-design.md https://raw.githubusercontent.com/modu-ai/moai-adk/main/.claude/agents/moai/manager-design.md $ curl -fsSL --create-dirs -o .claude/agents/manager-develop.md https://raw.githubusercontent.com/modu-ai/moai-adk/main/.claude/agents/moai/manager-develop.md $ curl -fsSL --create-dirs -o .claude/agents/manager-docs.md https://raw.githubusercontent.com/modu-ai/moai-adk/main/.claude/agents/moai/manager-docs.md $ curl -fsSL --create-dirs -o .claude/agents/manager-git.md https://raw.githubusercontent.com/modu-ai/moai-adk/main/.claude/agents/moai/manager-git.md $ curl -fsSL --create-dirs -o .claude/agents/manager-lead.md https://raw.githubusercontent.com/modu-ai/moai-adk/main/.claude/agents/moai/manager-lead.md $ curl -fsSL --create-dirs -o .claude/agents/manager-spec.md https://raw.githubusercontent.com/modu-ai/moai-adk/main/.claude/agents/moai/manager-spec.md $ curl -fsSL --create-dirs -o .claude/agents/manager-todo.md https://raw.githubusercontent.com/modu-ai/moai-adk/main/.claude/agents/moai/manager-todo.md $ curl -fsSL --create-dirs -o .claude/agents/plan-auditor.md https://raw.githubusercontent.com/modu-ai/moai-adk/main/.claude/agents/moai/plan-auditor.md $ curl -fsSL --create-dirs -o .claude/agents/super-advisor.md https://raw.githubusercontent.com/modu-ai/moai-adk/main/.claude/agents/moai/super-advisor.md $ curl -fsSL --create-dirs -o .claude/agents/sync-auditor.md https://raw.githubusercontent.com/modu-ai/moai-adk/main/.claude/agents/moai/sync-auditor.md $ curl -fsSL --create-dirs -o .claude/agents/builder-harness.md https://raw.githubusercontent.com/modu-ai/moai-adk/main/internal/template/templates/.claude/agents/moai/builder-harness.md $ curl -fsSL --create-dirs -o .claude/agents/e2e-tester.md https://raw.githubusercontent.com/modu-ai/moai-adk/main/internal/template/templates/.claude/agents/moai/e2e-tester.md $ curl -fsSL --create-dirs -o .claude/agents/manager-design.md https://raw.githubusercontent.com/modu-ai/moai-adk/main/internal/template/templates/.claude/agents/moai/manager-design.md $ curl -fsSL --create-dirs -o .claude/agents/manager-develop.md https://raw.githubusercontent.com/modu-ai/moai-adk/main/internal/template/templates/.claude/agents/moai/manager-develop.md $ curl -fsSL --create-dirs -o .claude/agents/manager-docs.md https://raw.githubusercontent.com/modu-ai/moai-adk/main/internal/template/templates/.claude/agents/moai/manager-docs.md $ curl -fsSL --create-dirs -o .claude/agents/manager-git.md https://raw.githubusercontent.com/modu-ai/moai-adk/main/internal/template/templates/.claude/agents/moai/manager-git.md $ curl -fsSL --create-dirs -o .claude/agents/manager-lead.md https://raw.githubusercontent.com/modu-ai/moai-adk/main/internal/template/templates/.claude/agents/moai/manager-lead.md $ curl -fsSL --create-dirs -o .claude/agents/manager-spec.md https://raw.githubusercontent.com/modu-ai/moai-adk/main/internal/template/templates/.claude/agents/moai/manager-spec.md $ curl -fsSL --create-dirs -o .claude/agents/manager-todo.md https://raw.githubusercontent.com/modu-ai/moai-adk/main/internal/template/templates/.claude/agents/moai/manager-todo.md $ curl -fsSL --create-dirs -o .claude/agents/plan-auditor.md https://raw.githubusercontent.com/modu-ai/moai-adk/main/internal/template/templates/.claude/agents/moai/plan-auditor.md $ curl -fsSL --create-dirs -o .claude/agents/super-advisor.md https://raw.githubusercontent.com/modu-ai/moai-adk/main/internal/template/templates/.claude/agents/moai/super-advisor.md $ curl -fsSL --create-dirs -o .claude/agents/sync-auditor.md https://raw.githubusercontent.com/modu-ai/moai-adk/main/internal/template/templates/.claude/agents/moai/sync-auditor.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(Clear-Disk:*)",
"Bash(DELETE FROM:*)",
"Bash(DROP DATABASE:*)",
"Bash(DROP TABLE:*)",
"Bash(Format-Volume:*)",
"Bash(Remove-Item -Recurse -Force C:/*)",
"Bash(TRUNCATE:*)",
"Bash(chmod -R 777:*)",
"Bash(chmod 777:*)",
"Bash(dd:*)",
"Bash(del /S /Q C:/*)",
"Bash(fdisk:*)",
"Bash(format:*)",
"Bash(git * clean -fd*)",
"Bash(git * clean -fdx*)",
"Bash(git * push --force*)",
"Bash(git * push --force-with-lease*)",
"Bash(git * push -f*)",
"Bash(git * rebase -i*)",
"Bash(git * reset --hard*)",
"Bash(git clean -fd:*)",
"Bash(git clean -fdx:*)",
"Bash(git push --force-with-lease:*)",
"Bash(git push --force:*)",
"Bash(git push -f:*)",
"Bash(git rebase -i:*)",
"Bash(git reset --hard:*)",
"Bash(init:*)",
"Bash(kill -9:*)",
"Bash(killall:*)",
"Bash(mkfs:*)",
"Bash(mongo:*)",
"Bash(mongosh:*)",
"Bash(mysql -e DROP:*)",
"Bash(psql -c DROP:*)",
"Bash(reboot:*)",
"Bash(redis-cli FLUSHALL:*)",
"Bash(redis-cli FLUSHDB:*)",
"Bash(rm -rf /)",
"Bash(rm -rf /*)",
"Bash(rm -rf C:/)",
"Bash(rm -rf C:/*)",
"Bash(rm -rf ~)",
"Bash(rm -rf ~/*)",
"Bash(rmdir /S /Q C:/*)",
"Bash(shutdown:*)",
"Bash(systemctl:*)",
"Edit(./secrets/**)",
"Edit(~/.aws/**)",
"Edit(~/.config/gcloud/**)",
"Edit(~/.ssh/**)",
"PowerShell(Clear-Disk:*)",
"PowerShell(DELETE FROM:*)",
"PowerShell(DROP DATABASE:*)",
"PowerShell(DROP TABLE:*)",
"PowerShell(Format-Volume:*)",
"PowerShell(chmod -R 777:*)",
"PowerShell(chmod 777:*)",
"PowerShell(dd:*)",
"PowerShell(fdisk:*)",
"PowerShell(format:*)",
"PowerShell(git * clean -fd*)",
"PowerShell(git * clean -fdx*)",
"PowerShell(git * push --force*)",
"PowerShell(git * push --force-with-lease*)",
"PowerShell(git * push -f*)",
"PowerShell(git * rebase -i*)",
"PowerShell(git * reset --hard*)",
"PowerShell(git clean -fd:*)",
"PowerShell(git clean -fdx:*)",
"PowerShell(git push --force-with-lease:*)",
"PowerShell(git push --force:*)",
"PowerShell(git push -f:*)",
"PowerShell(git rebase -i:*)",
"PowerShell(git reset --hard:*)",
"PowerShell(init:*)",
"PowerShell(killall:*)",
"PowerShell(mkfs:*)",
"PowerShell(mongo:*)",
"PowerShell(mongosh:*)"
]
},
"hooks": {
"PreToolUse": [
{
"matcher": "Write|Edit|Bash",
"hooks": [
{
"type": "command",
"command": "bash"
}
]
},
{
"matcher": "PowerShell",
"hooks": [
{
"type": "command",
"command": "bash"
}
]
},
{
"matcher": "Agent|Task",
"hooks": [
{
"type": "command",
"command": "bash"
}
]
},
{
"matcher": "SendMessage|TaskStop",
"hooks": [
{
"type": "command",
"command": "bash"
}
]
},
{
"matcher": "AskUserQuestion",
"hooks": [
{
"type": "command",
"command": "bash"
}
]
}
]
}
} MCP servers (4)
| server | source | est. tokens |
|---|---|---|
| chrome-devtools | local / custom | 2.5k |
| Context7 | local / custom | 1.2k |
| moai | binary | 2.5k |
| playwright | local / custom | 2.5k |
Skills (66)
moai-cleanmoai-codemapsmoai-e2emoai-feedbackmoai-fixmoai-gatemoai-goalmoai-gtdmoai-harnessmoai-loopmoai-mxmoai-planmoai-projectmoai-reviewmoai-runmoai-syncmoai-todohns-lsel-applierhns-lsel-curatorhns-moaiadk-best-practiceshns-moaiadk-dev-referencehns-moaiadk-patternshns-oss-docs-i18n-ruleshns-oss-docs-readme-synchns-oss-docs-structure-maphns-oss-docs-verifyhns-workflow-ci-loopmoai-domain-backendmoai-domain-databasemoai-domain-design-dnamoai-domain-frontendmoai-domain-html-reportmoai-domain-humanizemoai-domain-svg-infographicmoai-factory-foremanmoai-foundation-ccmoai-foundation-coremoai-foundation-qualitymoai-foundation-thinkingmoai-harness-learnermoai-jev-skill-suggestionmoai-lane-watchdogmoai-meta-harnessmoai-ref-api-patternsmoai-ref-aside-browsermoai-ref-cross-model-auditmoai-ref-git-workflowmoai-ref-jev-question-designmoai-ref-llm-securitymoai-ref-owasp-checklistmoai-ref-react-patternsmoai-ref-secopsmoai-ref-seomoai-ref-supply-chainmoai-ref-testing-pyramidmoai-ref-ui-polishmoai-workflow-dddmoai-workflow-docs-claim-checkmoai-workflow-loopmoai-workflow-projectmoai-workflow-specmoai-workflow-tddmoai-workflow-testingmoai-workflow-worktreemoaiverify
Subagents (34)
Hooks (40)
| event | matcher | runs |
|---|---|---|
| SessionStart | startup|resume|clear|compact|fork | bash |
| SessionStart | startup|resume|clear|compact|fork | bash |
| PreCompact | manual|auto | bash |
| SessionEnd | * | bash |
| PreToolUse | Write|Edit|Bash | bash |
| PreToolUse | PowerShell | bash |
| PreToolUse | Agent|Task | bash |
| PreToolUse | SendMessage|TaskStop | bash |
| PreToolUse | AskUserQuestion | bash |
| PostToolUse | Write|Edit|MultiEdit|EnterWorktree|ExitWorktree | bash |
| PostToolUse | Write|Edit|MultiEdit|EnterWorktree|ExitWorktree | bash |
| PostToolUse | Write|Edit|MultiEdit|EnterWorktree|ExitWorktree | bash |
| PostToolUse | Write|Edit|MultiEdit|EnterWorktree|ExitWorktree | bash |
| PostToolUse | * | bash |
| Stop | * | bash |
| Stop | * | bash |
| Stop | * | bash |
| Stop | * | bash |
| Stop | * | bash |
| Stop | * | bash |
| Stop | * | bash |
| Stop | * | bash |
| SubagentStop | * | bash |
| SubagentStop | * | bash |
| SubagentStop | * | bash |
| PostToolUseFailure | * | bash |
| SubagentStart | * | bash |
| UserPromptSubmit | * | bash |
| UserPromptSubmit | * | bash |
| UserPromptSubmit | * | bash |
Slash commands (23)
/harness/github/harness/oss-docs/harness/release-update/harness/release/moai/clean/moai/codemaps/moai/e2e/moai/feedback/moai/fix/moai/gate/moai/goal/moai/gtd/moai/harness/moai/loop/moai/mx/moai/plan/moai/project/moai/review/moai/run/moai/sync/moai/todo/moai/gtd/moai/todo
Permissions
deny (91)
Bash(Clear-Disk:*)
Bash(DELETE FROM:*)
Bash(DROP DATABASE:*)
Bash(DROP TABLE:*)
Bash(Format-Volume:*)
Bash(Remove-Item -Recurse -Force C:/*)
Bash(TRUNCATE:*)
Bash(chmod -R 777:*)
Bash(chmod 777:*)
Bash(dd:*)
Bash(del /S /Q C:/*)
Bash(fdisk:*)
Bash(format:*)
Bash(git * clean -fd*)
Bash(git * clean -fdx*)
Bash(git * push --force*)
Bash(git * push --force-with-lease*)
Bash(git * push -f*)
Bash(git * rebase -i*)
Bash(git * reset --hard*)
Bash(git clean -fd:*)
Bash(git clean -fdx:*)
Bash(git push --force-with-lease:*)
Bash(git push --force:*)
Bash(git push -f:*)
Bash(git rebase -i:*)
Bash(git reset --hard:*)
Bash(init:*)
Bash(kill -9:*)
Bash(killall:*)
Bash(mkfs:*)
Bash(mongo:*)
Bash(mongosh:*)
Bash(mysql -e DROP:*)
Bash(psql -c DROP:*)
Bash(reboot:*)
Bash(redis-cli FLUSHALL:*)
Bash(redis-cli FLUSHDB:*)
Bash(rm -rf /)
Bash(rm -rf /*)
Bash(rm -rf C:/)
Bash(rm -rf C:/*)
Bash(rm -rf ~)
Bash(rm -rf ~/*)
Bash(rmdir /S /Q C:/*)
Bash(shutdown:*)
Bash(systemctl:*)
Edit(./secrets/**)
Edit(~/.aws/**)
Edit(~/.config/gcloud/**)
Edit(~/.ssh/**)
PowerShell(Clear-Disk:*)
PowerShell(DELETE FROM:*)
PowerShell(DROP DATABASE:*)
PowerShell(DROP TABLE:*)
PowerShell(Format-Volume:*)
PowerShell(chmod -R 777:*)
PowerShell(chmod 777:*)
PowerShell(dd:*)
PowerShell(fdisk:*)
ask (0)
—
allow (114)
Agent
AskUserQuestion
Bash(ast-grep:*)
Bash(awk:*)
Bash(basename:*)
Bash(black:*)
Bash(bun*)
Bash(cat:*)
Bash(comm:*)
Bash(coverage:*)
Bash(cp:*)
Bash(curl:*)
Bash(cut:*)
Bash(diff:*)
Bash(dirname:*)
Bash(echo:*)
Bash(eslint:*)
Bash(false:*)
Bash(find:*)
Bash(flake8:*)
Bash(gh issue:*)
Bash(gh pr:*)
Bash(gh repo view:*)
Bash(git add:*)
Bash(git blame:*)
Bash(git branch:*)
Bash(git checkout:*)
Bash(git commit:*)
Bash(git config:*)
Bash(git diff:*)
Bash(git fetch:*)
Bash(git log:*)
Bash(git merge:*)
Bash(git pull:*)
Bash(git push:*)
Bash(git remote:*)
Bash(git revert:*)
Bash(git show:*)
Bash(git stash:*)
Bash(git status:*)
Bash(git switch:*)
Bash(git tag:*)
Bash(grep:*)
Bash(head:*)
Bash(jq:*)
Bash(less:*)
Bash(ls:*)
Bash(lsof:*)
Bash(make:*)
Bash(man:*)
Bash(mkdir:*)
Bash(moai-adk:*)
Bash(moai:*)
Bash(mv:*)
Bash(mypy:*)
Bash(node*)
Bash(npm*)
Bash(npx*)
Bash(pip*)
Bash(pip3:*)
Similar rigs
zenbu-labs/terminal-browser
A browser inside your terminal
Minimalist 815 tok · · Q18
cosmtrek/mindwalk
A visualization tool that replays coding-agent sessions on a 3D map of your codebase.
Minimalist 1.1k tok · · Q0
alleriasun/clearclaw
—
Minimalist 1.1k tok · · Q0
dongnguyenvie/BashCut
Native macOS video editor that coding agents can drive: everything the UI does, Claude Code and Codex can do through the bashcut CLI or MCP server. Layered timeline, captions, voiceover, plugins.
Minimalist 276 tok · · Q3