Agent skill

MoAI Foundation Core

by modu-ai in modu-ai/moai-adk

Reference for MoAI-ADK's core development principles: TRUST 5 quality gates, SPEC-first domain-driven workflow, agent delegation and token budgeting.

Apache-2.0Auto-check passedAgent Workflows

Install MoAI Foundation Core

skills CLI
$ npx skills add modu-ai/moai-adk --skill moai-foundation-core -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install modu-ai/moai-adk moai-foundation-core --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/modu-ai/moai-adk.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/moai-foundation-core .claude/skills/moai-foundation-core && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
moai-foundation-core
GitHub stars
1.2k
Token cost
~5k tokens
SKILL.md length
2,170 words
Files
20 (incl. references)
Skills in repo
48
Repo updated
First seen
Licence
Apache-2.0

At a glance

Reference for MoAI-ADK's core development principles: TRUST 5 quality gates, SPEC-first domain-driven workflow, agent delegation and token budgeting.

  • Works in 6 steps: TRUST 5 Framework - Quality Assurance… → SPEC-First DDD - Development Workflow → Delegation Patterns - Agent Orchestration → …
  • Looking up what the TRUST 5 gates require before a merge
  • SKILL.md covers Quick Reference, Implementation Guide, Advanced Implementation and Works Well With, plus 5 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

This skill is a reference to six foundations of the MoAI-ADK workflow, split across module files that the agent reads on demand. They are the TRUST 5 quality gates (Tested, Readable, Unified, Secured, Trackable), SPEC-first domain-driven development, delegation of work to specialized agents rather than direct execution, token budget management around a 200K window, three-tier progressive disclosure and a modular file system.

Its stated uses include creating new agents and skills to quality standards, orchestrating complex workflows, planning token budgets, designing documentation structure and configuring quality gates. The Tested pillar, for example, calls for running the project's test runner with coverage, blocking the merge and generating missing tests on failure, with characterization tests to preserve legacy behavior. Further modules cover the agent catalog, command reference and execution rules. It is designed for Claude Code.

When your agent uses it

  • Looking up what the TRUST 5 gates require before a merge
  • Following the SPEC-first workflow for a new feature in a MoAI-ADK project
  • Deciding how to delegate tasks to specialized agents
  • Planning token and context budgets for a long agent session

Example prompts

  • “Which TRUST 5 gates does this change have to pass before merge?”
  • “Explain the SPEC-first DDD workflow and set up the first step for the invoice export feature.”
  • “How should I split this migration across agents so none of them runs the work directly?”

Requirements

  • Compatibility (from SKILL.md): Designed for Claude Code
  • Pre-approved tools (allowed-tools): Read, Grep, Glob

Workflow steps

6 steps, taken from the step headings in SKILL.md.

  1. TRUST 5 Framework - Quality Assurance System
  2. SPEC-First DDD - Development Workflow
  3. Delegation Patterns - Agent Orchestration
  4. Token Optimization - Budget Management
  5. Progressive Disclosure - Content Architecture
  6. Modular System - File Organization

What it can do on your machine

Read from SKILL.md and the folder at commit 2aab5f7. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Grep
    • Glob

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

  • Compatibility

    Designed for Claude Code

    From compatibility in the SKILL.md frontmatter.

Context cost

MoAI Foundation Core loads about 5k tokens when it runs, and up to ~11k if it reads all its reference files. Until then it costs about 87 tokens; SKILL.md has 2,170 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~87
When it runs · the whole SKILL.md, loaded when a task matches
~5k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~11k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from modu-ai/moai-adk at commit 2aab5f7, republished under its Apache-2.0 licence (© modu-ai). 2,170 words, ~4,975 tokens.

Download SKILL.mdSave it as .claude/skills/moai-foundation-core/SKILL.md (or your agent's skills folder). This skill also uses 19 other files; get the full folder from GitHub.
name
moai-foundation-core
description
Provides MoAI-ADK foundational principles including TRUST 5 quality framework, SPEC-First DDD methodology, delegation patterns, progressive disclosure, agent catalog reference, and token budget management (absorbed from moai-foundation-context). Use when referencing TRUST 5 gates, SPEC workflow, or context window optimization.
allowed-tools
Read, Grep, Glob
compatibility
Designed for Claude Code
when_to_use
Use for MoAI-ADK foundations: the TRUST 5 quality framework, SPEC-First DDD methodology, delegation patterns, progressive disclosure, token/context-window…
license
Apache-2.0
user-invocable
false
metadata.version
3.0.0
metadata.category
foundation
metadata.status
active
metadata.updated
2026-07-10
metadata.modularized
true
metadata.tags
foundation, core, orchestration, agents, commands, trust-5, spec-first-ddd, token-budget, context-window, session-state
metadata.related-skills
moai-foundation-cc, moai-foundation-thinking

MoAI Foundation Core

Foundational principles and architectural patterns that power MoAI-ADK's AI-driven development workflow.

Core Philosophy: Quality-first, domain-driven, modular, and efficient AI development through proven patterns and automated workflows.

Quick Reference

What is MoAI Foundation Core?

Six essential principles that ensure quality, efficiency, and scalability in AI-powered development:

  1. TRUST 5 Framework - Quality gate system (Tested, Readable, Unified, Secured, Trackable)
  2. SPEC-First DDD - Specification-driven domain-driven development workflow
  3. Delegation Patterns - Task orchestration via specialized agents (never direct execution)
  4. Token Optimization - 200K budget management and context efficiency
  5. Progressive Disclosure - Three-tier knowledge delivery (Quick, Implementation, Advanced)
  6. Modular System - File splitting and reference architecture for scalability

Quick Access:

  • Quality standards in modules/trust-5-framework.md
  • Development workflow in modules/spec-first-ddd.md
  • Agent coordination in modules/delegation-patterns.md
  • Budget management in modules/token-optimization.md
  • Content structure in modules/progressive-disclosure.md
  • File organization in modules/modular-system.md
  • Agent catalog in modules/agents-reference.md
  • Command reference in modules/commands-reference.md
  • Security and constraints in modules/execution-rules.md

Use Cases:

  • New agent creation with quality standards
  • New skill development with structural guidelines
  • Complex workflow orchestration
  • Token budget planning and optimization
  • Documentation architecture design
  • Quality gate configuration

Implementation Guide

1. TRUST 5 Framework - Quality Assurance System

Purpose: Automated quality gates ensuring code quality, security, and maintainability.

Five Pillars:

Tested Pillar: Maintain comprehensive test coverage with characterization tests ensuring behavior preservation. Execute the project's test runner with coverage (e.g. go test -cover, pytest --cov, cargo test, npm test -- --coverage). Block merge and generate missing tests on failure. Characterization tests capture current behavior for legacy code, while specification tests validate domain requirements for new code. High coverage ensures code reliability and reduces production defects, and preserves behavior during refactoring.

Readable Pillar: Use clear and descriptive naming conventions. Run the project's linter (e.g. golangci-lint, ruff, eslint, clippy). Issue warning and suggest refactoring improvements on failure. Clear naming improves code comprehension, team collaboration, and maintenance velocity.

Unified Pillar: Apply consistent formatting and import patterns. Run the project's formatter (e.g. gofmt, black, prettier, rustfmt). Auto-format code or issue warning on failure. Consistency eliminates style debates and merge conflicts and improves readability.

Secured Pillar: Comply with OWASP security standards. Surface security findings via the appropriate agent or reference skill (e.g. spawn a per-spawn general-purpose agent with security instructions, or load the moai-ref-owasp-checklist / moai-ref-llm-security reference). Block merge and require security review on failure. Security vulnerabilities create critical business and legal risks.

Trackable Pillar: Write clear and structured commit messages. Match Git commit message regex patterns (Conventional Commits). Suggest proper commit message format on failure. Clear history enables debugging, auditing, and collaboration.

Integration Points: Pre-commit hooks for automated validation, CI/CD pipelines for quality gate enforcement, Agent workflows for TRUST 5 validation (moai-foundation-quality orchestration), Documentation for quality metrics.

Detailed Reference: modules/trust-5-framework.md


2. SPEC-First DDD - Development Workflow

Purpose: Specification-driven development ensuring clear requirements before implementation.

Three-Phase Workflow:

Phase 1 SPEC (/moai plan): workflow-spec generates GEARS format (primary; EARS retained as 6-month backward-compat legacy reference for the 88 pre-v3 SPECs). Output is .moai/specs/SPEC-XXX/spec.md. Execute /clear to save 45-50K tokens.

Phase 2 DDD (/moai run): ANALYZE for requirements, PRESERVE for existing behavior, IMPROVE for enhancement. Validate with at least 85% coverage.

Phase 3 Docs (/moai sync): API documentation, architecture diagrams, project reports.

GEARS Format (current notation): Five patterns — Ubiquitous "The <subject> shall <behavior>" for system-wide always active requirements; Event-driven "When <event> the <subject> shall <behavior>" for trigger-response requirements; State-driven "While <state> the <subject> shall <behavior>" for conditional behavior; Where (capability gate) "Where <capability or feature flag>, the <subject> shall <behavior>" for capability-conditioned behavior; Event-detected (replaces the deprecated conditional modality) "When <undesired-condition-detected>, the <subject> shall <response>" for failure-mode handling. Unified compound clause: [Where ...][While ...][When ...] The <subject> shall <behavior> — any subset of the three modifiers may chain. The <subject> is generalized — any noun (system, component, service, agent, function, artifact). See the canonical authoring guide at ~/.claude/skills/moai-workflow-spec/SKILL.md § "GEARS Format".

EARS Format (legacy reference, 6-month backward-compat — expires 2026-11-22): Five patterns Ubiquitous / Event-driven (WHEN/THEN) / State-driven (WHILE) / Unwanted (SHALL NOT) / Optional (WHERE possible). The 88 pre-v3 SPECs continue to use EARS; the lint engine emits a LegacyEARSKeyword warning on residual deprecated conditional modality in NEW SPECs (warning non-strict, error under moai spec lint --strict). For NEW SPECs, use GEARS. See modules/spec-ears-format.md (legacy reference, deprecated — see GEARS Format guide).

Token Budget: SPEC takes 30K, DDD takes 180K, Docs takes 40K, Total is 250K.

Key Practice: Execute /clear after Phase 1 to initialize context.

Detailed Reference: modules/spec-first-ddd.md


3. Delegation Patterns - Agent Orchestration

Purpose: Task delegation to specialized agents, avoiding direct execution.

Core Principle: MoAI must delegate all work through Agent() to specialized agents. Direct execution bypasses specialization, quality gates, and token optimization. Proper delegation improves task success rate by 40 percent and enables parallel execution.

Delegation Syntax: MoAI delegates via natural language — "Use the {agent} subagent to {task}" — carrying full context, constraints, and rationale. The orchestrator never passes a subagent_type code literal; it spawns Agent() (or Agent(general-purpose) for domain work) with a prose prompt.

Three Patterns:

Sequential for dependencies: Use the manager-spec subagent to author the SPEC, then the manager-develop subagent to implement it with the SPEC as context.

Parallel for independent work: Spawn multiple Agent(general-purpose) teammates in one turn — e.g. one with backend instructions and one with frontend instructions — when the work is independent.

Conditional for analysis-based: Use the Explore subagent for read-only diagnosis, then route the result to the appropriate retained agent (manager-develop for fixes, sync-auditor for quality scoring) based on the findings.

Agent Selection: Simple tasks with 1 file use 1-2 agents sequential. Medium tasks with 3-5 files use 2-3 agents sequential. Complex tasks with 10+ files use 5+ agents mixed. Domain-specific work (backend / frontend / security / performance / refactoring) is handled in run-phase by manager-develop, or by a per-spawn Agent(general-purpose) with a domain whitelist per .claude/rules/moai/workflow/archived-agent-rejection.md.

Detailed Reference: modules/delegation-patterns.md


4. Token Optimization - Budget Management

Purpose: Efficient 200K token budget through strategic context management.

Budget Allocation:

SPEC Phase takes 30K tokens. Strategy is to load requirements only and execute /clear after completion. Specification phase requires minimal context for requirement analysis. Saves 45-50K tokens for implementation phase.

DDD Phase takes 180K tokens. Strategy is selective file loading, load only implementation-relevant files. Implementation requires deep context but not full codebase. Enables 70 percent larger implementations within budget.

Docs Phase takes 40K tokens. Strategy is result caching and template reuse. Documentation builds on completed work artifacts. Reduces redundant file reads by 60 percent.

Total Budget is 250K tokens across all phases. Phase separation with context reset between phases provides clean context boundaries and prevents token bloat. Enables 2-3x larger projects within same budget.

Token Saving Strategies:

Phase Separation: Execute /clear between phases, after /moai plan to save 45-50K, when context exceeds 150K, after 50+ messages.

Selective Loading: Load only necessary files.

Context Optimization: Target 20-30K tokens.

Model Selection: Sonnet for quality, Haiku for speed and cost with 70% cheaper rates for 60-70% total savings.

Detailed Reference: modules/token-optimization.md


5. Progressive Disclosure - Content Architecture

Purpose: Three-tier knowledge delivery balancing value with depth.

Three Levels:

Quick Reference Level: 30 seconds time investment, core principles and essential concepts, approximately 1,000 tokens. Rapid value delivery for time-constrained users. Users gain 80 percent understanding in 5 percent of time.

Implementation Level: 5 minutes time investment, workflows, practical examples, integration patterns, approximately 3,000 tokens. Bridges concept to execution with actionable guidance. Enables immediate productive work without deep expertise.

Advanced Level: 10+ minutes time investment, deep technical dives, edge cases, optimization techniques, approximately 5,000 tokens. Provides mastery-level knowledge for complex scenarios. Reduces escalations by 70 percent through comprehensive coverage.

SKILL.md Structure (maximum 500 lines): Quick Reference section, Implementation Guide section, Advanced Patterns section, Works Well With section.

Module Architecture: SKILL.md as entry point with cross-references, modules directory for deep dives with unlimited size, examples.md for working samples, reference.md for external links.

File Splitting when exceeding 500 lines: SKILL.md contains Quick at 80-120 lines, Implementation at 180-250 lines, Advanced at 80-140 lines, References at 10-20 lines. Overflow content goes to modules/topic.md.

Detailed Reference: modules/progressive-disclosure.md


Show full SKILL.md (879 more words)Show less
6. Modular System - File Organization

Purpose: Scalable file structure enabling unlimited content.

Standard Structure: Create .claude/skills/skill-name/ directory containing SKILL.md as core file under 500 lines, modules directory for extended content with unlimited size including patterns.md, examples.md for working samples, reference.md for external links, scripts directory for utilities (optional), templates directory (optional).

File Principles: SKILL.md stays under 500 lines with progressive disclosure and cross-references. modules directory is topic-focused with no limits and self-contained content. examples.md is copy-paste ready with comments. reference.md contains API docs and resources.

Cross-Reference Syntax: Reference modules as Details in modules/patterns.md, reference examples as Examples in examples.md#auth, reference external docs as External in reference.md#api.

Discovery Flow: SKILL.md to Topic to modules/topic.md to Deep dive.

Detailed Reference: modules/modular-system.md


Advanced Implementation

Advanced patterns including cross-module integration, quality validation, and error handling are available in the detailed module references.

Key Advanced Topics:

  • Cross-Module Integration: Combining TRUST 5 + SPEC-First DDD
  • Token-Optimized Delegation: Parallel execution with context reset
  • Progressive Agent Workflows: Escalation patterns
  • Quality Validation: Pre/Post execution validation
  • Error Handling: Delegation failure recovery

Detailed Reference: references/examples.md for working code samples


Works Well With

Agents: builder-harness for generating agents/skills/harnesses with foundation principles, manager-spec for plan-phase authoring, manager-develop for run-phase implementation, manager-docs for sync-phase documentation, sync-auditor for independent TRUST 5 quality scoring, super-advisor for on-demand high-reasoning consultation.

Skills: moai-foundation-cc for Claude Code authoring (skills, agents, plugins, hooks), moai-workflow-spec for GEARS format specification (current; EARS retained as legacy reference), moai-workflow-ddd for ANALYZE-PRESERVE-IMPROVE execution, moai-workflow-tdd for RED-GREEN-REFACTOR cycles, moai-foundation-quality for TRUST 5 validation orchestration, moai-foundation-thinking for strategic reasoning and Adaptive Thinking via the ultrathink keyword.

Tools: AskUserQuestion for direct user interaction and clarification needs.

Commands: /moai plan for SPEC-First Phase 1, /moai run for DDD Phase 2, /moai sync for Documentation Phase 3, /moai feedback for continuous improvement, /clear for token management.

Foundation Modules (Extended Documentation): modules/agents-reference.md for the 13-agent retained catalog (12 MoAI-custom, including manager-lead and manager-todo, + 1 Anthropic built-in Explore), modules/commands-reference.md for 6 core commands workflow, modules/execution-rules.md for security, Git strategy, and compliance. For migration of references to the 12 archived agents (manager-strategy, manager-quality, manager-brain, manager-project, claude-code-guide, researcher, and the 6 expert-* agents), see .claude/rules/moai/workflow/archived-agent-rejection.md.


Quick Decision Guide

New Agent: Primary principle is TRUST 5 and Delegation. Supporting principles are Token Optimization and Modular.

New Skill: Primary principle is Progressive and Modular. Supporting principles are TRUST 5 and Token Optimization.

Workflow: Primary principle is Delegation Patterns. Supporting principles are SPEC-First and Token Optimization.

Quality: Primary principle is TRUST 5 Framework. Supporting principle is SPEC-First DDD.

Budget: Primary principle is Token Optimization. Supporting principles are Progressive and Modular.

Docs: Primary principle is Progressive and Modular. Supporting principle is Token Optimization.

Module Deep Dives: modules/trust-5-framework.md, modules/spec-first-ddd.md, modules/delegation-patterns.md, modules/token-optimization.md, modules/progressive-disclosure.md, modules/modular-system.md, modules/agents-reference.md, modules/commands-reference.md, modules/execution-rules.md.

Full Examples: references/examples.md External Resources: references/reference.md

<!-- moai:evolvable-start id="rationalizations" -->

Common Rationalizations

RationalizationReality
"TRUST 5 is a guideline, not a gate"TRUST 5 is a HARD quality gate. All five dimensions must pass before completion.
"I can skip the SPEC for this small change"Every change without a SPEC is untracked. SPEC-less changes accumulate into unmanageable technical debt.
"Delegation to an agent is overhead for simple tasks"MoAI is an orchestrator, not an implementer. Skipping delegation bypasses domain expertise and quality checks.
"I will skip the quality gate, the code is clearly correct"Clearly correct code still needs evidence. Tests and linting are mechanisms; confidence is not.
"Progressive disclosure is not important for this project"Even small projects benefit from token-efficient skill loading. Disclosure is about context budget, not project size.
<!-- moai:evolvable-end -->
<!-- moai:evolvable-start id="red-flags" -->

Red Flags

  • MoAI executing implementation code directly instead of delegating to an agent
  • TRUST 5 dimensions partially checked (only Tested and Readable, ignoring Secured)
  • SPEC document exists but has no acceptance criteria
  • Agent selected without consulting the selection decision tree
  • Quality gate skipped with "will check later" comment
<!-- moai:evolvable-end -->
<!-- moai:evolvable-start id="verification" -->

Verification

  • All five TRUST 5 dimensions addressed (Tested, Readable, Unified, Secured, Trackable)
  • Agent selection documented with rationale matching the decision tree
  • SPEC document has acceptance criteria with observable evidence requirements
  • Delegation chain traceable: MoAI -> agent -> execution
  • Progressive disclosure levels configured in skill frontmatter
<!-- moai:evolvable-end -->

Token Budget (absorbed from moai-foundation-context)

Context window optimization, /clear strategy, session state persistence, and multi-agent handoff patterns.

Context Window Targets

See .claude/rules/moai/workflow/context-window-management.md § Context Window Targets for the authoritative per-model-class /clear threshold table (1M/GLM = 50%, 200K/256K = 90%). Do not restate thresholds here (SSOT).

Phase Token Allocation
PhaseBudgetStrategy
/moai plan30,000Load requirements only, /clear after completion
/moai run180,000Selective file loading, on-demand skill loading
/moai sync40,000Result caching, reduced redundant reads
/clear Strategy

Mandatory /clear points:

  1. After /moai plan completion (before /moai run)
  2. When context exceeds 150,000 tokens (Sonnet/standard)
  3. Before major phase transitions

Never use /clear when: In the middle of an agent task, when session state has not been persisted.

Session State Persistence

Before /clear, persist in-flight state to .moai/specs/<SPEC-ID>/progress.md:

  • Current task status (completed, in-progress, blocked)
  • File modification summary
  • Next action required
  • Resume message for paste-back after /clear

Resume message format:

Wave <N> 이어서 진행. SPEC-<ID>부터 <approach>.
progress.md: .moai/specs/<ID>/progress.md
다음 단계: <command>.
Multi-Agent Handoff

When delegating to a sub-agent near context ceiling:

  1. Summarize findings in progress.md before Agent() call
  2. Pass only necessary context in spawn prompt (avoid full file dumps)
  3. Sub-agent result contributes to parent context on return — factor this in
  4. If parent context > 120,000 tokens after return, save and /clear

Full optimization patterns: modules/token-optimization.md

© modu-ai, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 19 other files (references) in .claude/skills/moai-foundation-core of modu-ai/moai-adk.

  • SKILL.md
  • modules/INDEX.md
  • modules/agents-reference.md
  • modules/commands-reference.md
  • modules/delegation-advanced.md
  • modules/delegation-implementation.md
  • modules/delegation-patterns.md
  • modules/execution-rules.md
  • modules/modular-system.md
  • modules/patterns.md
  • modules/progressive-disclosure.md
  • modules/spec-ddd-implementation.md
  • modules/spec-ears-format.md
  • modules/spec-first-ddd.md
  • modules/token-optimization.md
  • modules/trust-5-framework.md
  • modules/trust-5-implementation.md
  • modules/trust-5-validation.md
  • references/examples.md
  • … and 1 more

Open the folder on GitHubat commit 2aab5f7

Compare with similar skills

MoAI Foundation Core next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

MoAI Foundation Core compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
MoAI Foundation Core this skillmodu-ai/moai-adk1.2k—~5kAutomated safety check: PassApache-2.0
Sagawarpdotdev/common-skills611—~4.1kAutomated safety check: PassMIT
Cc Dev Agentsangrokjung/claude-forge852—~771Automated safety check: PassMIT
Repo Context Ledgergviiisen/repo-context-ledger105—~2.8kAutomated safety check: PassMIT
Code Context Slicingtrailofbits/skills7.4k—~2.1kAutomated safety check: PassCC-BY-SA-4.0
Spec-Driven Development v2LichAmnesia/lich-skills234—~3.1kAutomated safety check: PassMIT

Similar skills

  • Saga

    warpdotdev/common-skills

    Run an autonomous, spec-driven development "saga" for medium-to-large features using an orchestrator agent and a fleet of worker subagents.

    611 GitHub stars~4.1k tokensUpdated 2 days ago
    Agent WorkflowsAuto-check passed
  • Cc Dev Agent

    sangrokjung/claude-forge

    A skill your agent uses when starting Claude Code projects, writing CLAUDE.md/spec.md, dispatching subagents, or requesting Agent Teams parallel development.

    852 GitHub stars~771 tokensUpdated 1 mo ago
    Agent WorkflowsAuto-check passed
  • Repo Context Ledger

    gviiisen/repo-context-ledger

    Record every behavior-changing feature addition, fix, and adjustment as durable, evidence-based repository knowledge, then use that ledger to continue accurately across AI windows, tools, Git…

    105 GitHub stars~2.8k tokensUpdated 1 mo ago
    Agent WorkflowsAuto-check passed
  • Code Context Slicing

    trailofbits/skills

    Official

    Picks a small, graph-based slice of source with Trailmark and hands a focused code task to a smaller or local model without exposing the whole repository.

    7.4k GitHub stars~2.1k tokensUpdated 2 days ago
    Agent WorkflowsAuto-check passed
  • Spec-Driven Development v2

    LichAmnesia/lich-skills

    Organizes long-running agent work into a Project, Sprint and Task hierarchy with per-task state files, isolated worktrees, review loops and script-checked rules.

    234 GitHub stars~3.1k tokensUpdated 4 mo ago
    Agent WorkflowsAuto-check passed
  • Codebase Explorer

    yologdev/yoyo-evolve

    Builds a structural map of a large or unfamiliar codebase by dispatching sub-agents to summarize regions, keeping the main context small.

    1.9k GitHub stars~2.8k tokensUpdated yesterday
    Agent WorkflowsAuto-check passed

More from modu-ai/moai-adk

All 48 skills in this repo
  • Builds hand-editable SVG diagrams from computed layout coordinates, lints the source and renders a 2x PNG, with rules for when mermaid is the better choice.

    1.2k GitHub stars~5.2k tokensUpdated today
    Auto-check: notes
  • MoAI SPEC Workflow

    modu-ai/moai-adk

    Manages SPEC documents for MoAI-ADK development, with GEARS or EARS requirement notation, acceptance criteria and a link into the Plan-Run-Sync workflow.

    1.2k GitHub stars~5.1k tokensUpdated today
    Auto-check passed
  • MoAI TDD Workflow

    modu-ai/moai-adk

    Drives test-first development through the RED, GREEN, REFACTOR cycle, with a config switch that selects between TDD and a DDD workflow for existing code.

    1.2k GitHub stars~3.1k tokensUpdated today
    Auto-check passed
  • MoAI Worktree Management

    modu-ai/moai-adk

    Gives each SPEC its own Git worktree with a registry of active workspaces, base-branch sync and cleanup of merged ones, inside the MoAI-ADK workflow.

    1.2k GitHub stars~3.9k tokensUpdated today
    Auto-check passed
  • Watches a pull request's CI checks after creation, separates required from auxiliary failures, applies limited safe fixes and escalates anything semantic to you.

    1.2k GitHub stars~2.4k tokensUpdated today
    Auto-check: notes
  • Database guidance for PostgreSQL, MongoDB, Redis and Oracle plus Neon, Supabase and Firestore: schema design, indexing, query tuning and cloud database choice.

    1.2k GitHub stars~2.8k tokensUpdated today
    Auto-check passed

Questions about MoAI Foundation Core

What does MoAI Foundation Core do?

Reference for MoAI-ADK's core development principles: TRUST 5 quality gates, SPEC-first domain-driven workflow, agent delegation and token budgeting. This skill is a reference to six foundations of the MoAI-ADK workflow, split across module files that the agent reads on demand. They are the TRUST 5 quality gates (Tested, Readable, Unified, Secured, Trackable), SPEC-first domain-driven development, delegation of work to specialized agents rather than direct execution, token budget management around a 200K window, three-tier progressive disclosure and a modular file system.

When should I use MoAI Foundation Core?

MoAI Foundation Core fits situations like: looking up what the TRUST 5 gates require before a merge; following the SPEC-first workflow for a new feature in a MoAI-ADK project; deciding how to delegate tasks to specialized agents; planning token and context budgets for a long agent session.

How do I install MoAI Foundation Core in Claude Code?

Run `npx skills add modu-ai/moai-adk --skill moai-foundation-core -a claude-code`. Or copy the skill folder (.claude/skills/moai-foundation-core in modu-ai/moai-adk) into .claude/skills/moai-foundation-core in your project. Claude Code loads it when a task matches its description.

How do I install MoAI Foundation Core in Codex?

Run `npx skills add modu-ai/moai-adk --skill moai-foundation-core -a codex`. Or copy the skill folder (.claude/skills/moai-foundation-core in modu-ai/moai-adk) into .agents/skills/moai-foundation-core in your project. Codex loads it when a task matches its description.

Can I use MoAI Foundation Core in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add modu-ai/moai-adk --skill moai-foundation-core -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/moai-foundation-core, .gemini/skills/moai-foundation-core, .github/skills/moai-foundation-core and .opencode/skills/moai-foundation-core in your project.

What does MoAI Foundation Core need to run?

SKILL.md names no scripts, command-line tools or credentials: MoAI Foundation Core is instructions for the agent only. Its frontmatter pre-approves these tools: Read, Grep, Glob. Compatibility (from SKILL.md): Designed for Claude Code.

Does MoAI Foundation Core access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is MoAI Foundation Core safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does MoAI Foundation Core use?

MoAI Foundation Core is published under the Apache-2.0 licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does MoAI Foundation Core use?

About 5k tokens (SKILL.md is roughly 20k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 6.4k tokens, read only when the agent opens those files.

What are the alternatives to MoAI Foundation Core?

Skills that share tags, products or a category with MoAI Foundation Core: Saga (warpdotdev/common-skills, 611 stars), Cc Dev Agent (sangrokjung/claude-forge, 852 stars), Repo Context Ledger (gviiisen/repo-context-ledger, 105 stars) and Code Context Slicing (trailofbits/skills, 7.4k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains MoAI Foundation Core?

modu-ai (a GitHub organization) maintains it in modu-ai/moai-adk, which has 1,232 GitHub stars. The repository holds 48 skills in this directory. The repository was last updated on October 9, 2026.

Source: modu-ai/moai-adk on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.