moai

Routes natural language and subcommands to specialized agents for autonomous development workflows.

2|Updated May 27, 2026
One-click install
npx skills add https://github.com/yekinya/moai-novel --skill moai-yekinya
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: moai
Source: https://github.com/yekinya/moai-novel/tree/main/moai-novel/.claude/skills/moai
Command: npx skills add https://github.com/yekinya/moai-novel --skill moai-yekinya

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Coordinating planning, implementation, testing, documentation, and code quality across a software project requires juggling many disconnected tools and prompts. This Skill acts as a unified orchestrator that interprets natural language or explicit subcommands and routes work to specialized agents, enforcing quality gates and SPEC-driven traceability throughout. ## Core Features & Use Cases - Intent Routing: Parses subcommands (plan, run, sync, fix, loop, review, clean, coverage, e2e, db, design, and more) or classifies natural language into the correct workflow with a strict priority order. - SPEC-Driven Development: Creates EARS-format specification documents, then implements them via DDD/TDD workflows with quality gates, coverage analysis, and documentation synchronization. - Autonomous Maintenance: Provides auto-fix loops, dead code removal, OWASP security audits, MX tag annotation, and git-based context memory for session continuity. - Use Case: A developer types "/moai run SPEC-AUTH-001" and the orchestrator loads the SPEC, delegates implementation to DDD/TDD agents, runs pre-commit quality gates, and prepares a synchronized pull request. ## Quick Start Ask the assistant to run the moai skill with a subcommand like "plan a user authentication feature" or simply describe your development task in natural language.

Frequently Asked Questions about moai

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I use the moai orchestrator for a development task?

Invoke the skill with a subcommand like plan, run, or sync followed by your task, or describe the task in natural language. The intent router matches the first word to a workflow or classifies the full input, then delegates to specialized agents.

What subcommands does the moai skill support?

Supported subcommands include plan, run, sync, design, db, project, fix, loop, mx, review, clean, codemaps, coverage, e2e, context, gate, security, and feedback. Each maps to a dedicated workflow file with its own phases and agents.

What is the difference between --team and --solo modes?

The --team flag forces Agent Teams mode for parallel execution across multiple teammates, while --solo forces single sub-agent execution per phase. Without a flag, the system auto-selects based on complexity thresholds like domain count and file count.

Can I run implementation without a SPEC document?

Running /moai run without a SPEC-XXX document is flagged as a red flag because there is no acceptance criterion to verify against. The workflow expects a SPEC created via the plan subcommand before implementation begins.

How does moai handle test coverage gaps?

The coverage subcommand measures coverage with language-specific tools like go test, pytest, or vitest, prioritizes gaps using MX tags and fan-in analysis, then generates missing tests until the configured target percentage is met.

What are the limitations of the natural language routing?

Routing only reaches natural language classification when the first word does not match a known subcommand and no SPEC-ID pattern is detected. Ambiguous intents trigger an AskUserQuestion prompt presenting the top matching workflows for user selection.