Token导航 LogoToken导航TokenDH.com
研究检索执行命令github未标认证来源可访问许可证需确认审计提醒

moaimoai 搜索

Agent Skill

moai 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

1,247

周安装

53

GitHub Stars

964

下载量

437
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:moai(moai 搜索)
来源仓库:https://github.com/modu-ai/moai-adk
仓库路径:skills/moai
安装命令:
npx skills add https://github.com/modu-ai/moai-adk --skill moai
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/modu-ai/moai-adk --skill moai

简介

用于查找、检索和筛选相关信息,适合基于关键词定位内容。

  • 支持多轮交互和结果排序,便于 Agent 快速获取所需资料。
  • 通过 GitHub 安装,需确认是否依赖外部服务或需要认证。
  • 权限和稳定性未明确,建议在使用前验证小规模用例。
  • 适用于 Codex、Claude、Cursor 和 Gemini CLI,实际行为以仓库文档为准。

SKILL.md

Pre-execution Context

!git status --porcelain 2>/dev/null || true!git branch --show-current 2>/dev/null || true

Essential Files

.moai/config/config.yaml


Authority References

Rules and constraints governing all workflows are always loaded from these sources. Do NOT duplicate their content here:

  • Core identity, orchestration principles, agent catalog: CLAUDE.md
  • Quality gates, security boundaries:.claude/rules/moai/core/moai-constitution.md
  • SPEC workflow phases, token budgets:.claude/rules/moai/workflow/spec-workflow.md
  • Development methodologies (DDD/TDD):.claude/rules/moai/workflow/spec-workflow.md (Run Phase section)
  • Agent definitions: See CLAUDE.md Section 4. For agent creation, use builder-agent subagent.
  • @MX tag rules and protocol:.claude/rules/moai/workflow/mx-tag-protocol.md

Intent Router

Raw User Input

$ARGUMENTS

Routing Instructions

[HARD] Route the Raw User Input above using the strict priority order below. Extract the FIRST WORD of the input for subcommand matching. All text after the subcommand keyword is CONTEXT to be passed to the matched workflow — it is NOT a routing signal and MUST NOT influence which workflow is selected.

Execution Mode Flags (mutually exclusive)

  • --team: Force Agent Teams mode for parallel execution
  • --solo: Force sub-agent mode (single agent per phase)
  • No flag: System auto-selects based on complexity thresholds (domains >= 3, files >= 10, or complexity score >= 7)

When no flag is provided, the system evaluates task complexity and automatically selects between team mode (for complex, multi-domain tasks) and sub-agent mode (for focused, single-domain tasks).

Priority 1: Explicit Subcommand Matching

[HARD] Extract the FIRST WORD from the Raw User Input section above. If it matches any subcommand below (or its alias), route to that workflow IMMEDIATELY. Do NOT analyze the remaining text for routing — it is context for the matched workflow:

  • plan (aliases: spec): SPEC document creation workflow
  • run (aliases: impl): DDD/TDD implementation workflow (per quality.yaml development_mode)
  • sync (aliases: docs, pr): Documentation synchronization and PR creation
  • design (aliases: brief, brand): Hybrid design workflow (Claude Design import path A or code-based skill path B)
  • db (aliases: database, schema): Database metadata management (init/refresh/verify/list for.moai/project/db/)
  • project (aliases: init): Project documentation generation
  • feedback (aliases: fb, bug, issue): GitHub issue creation
  • fix: Auto-fix errors in a single pass
  • loop: Iterative auto-fix until completion marker detected
  • mx: MX tag scan and annotation for codebase
  • review (aliases: code-review): Code review with security and MX tag compliance
  • clean (aliases: dead-code): Identify and safely remove dead code
  • codemaps: Generate architecture documentation in .moai/project/codemaps/
  • coverage (aliases: cov): Analyze test coverage and generate missing tests
  • e2e (aliases: e2e-test): Create and run E2E tests
  • gate (aliases: check, pre-commit): Lightweight pre-commit quality gate (lint+format+type-check+test)
  • security (aliases: audit, sec): Dedicated OWASP security audit with dependency scanning

Priority 2: SPEC-ID Detection

Only if Priority 1 did not match: Check if the Raw User Input contains a pattern matching SPEC-XXX (such as SPEC-AUTH-001). If found, route to the run workflow automatically. The SPEC-ID becomes the target for DDD/TDD implementation.

Priority 3: Natural Language Classification

Only if BOTH Priority 1 AND Priority 2 did not match: Classify the intent of the ENTIRE Raw User Input as natural language. This priority is NEVER reached when the first word matches a known subcommand.

  • Planning and design language (design, architect, plan, spec, requirements, feature request) routes to plan
  • Quality gate language (lint, format, check, pre-commit, quality gate) routes to gate
  • Security language (security, audit, owasp, vulnerability, injection, xss, csrf) routes to security
  • Error and fix language (fix, error, bug, broken, failing, lint) routes to fix
  • Iterative and repeat language (keep fixing, until done, repeat, iterate, all errors) routes to loop
  • Documentation language (document, sync, docs, readme, changelog, PR) routes to sync or project
  • Feedback and bug report language (report, feedback, suggestion, issue) routes to feedback
  • MX tag language (mx tag, annotation, code context, legacy annotate) routes to mx
  • Implementation language (implement, build, create, add, develop) with clear scope routes to moai (default autonomous)

Priority 4: Default Behavior

If the intent remains ambiguous after all priority checks, use AskUserQuestion to present the top 2-3 matching workflows and let the user choose.

If the intent is clearly a development task with no specific routing signal, default to the moai workflow (plan -> run -> sync pipeline) for full autonomous execution.


Workflow Quick Reference

plan - SPEC Document Creation

Purpose: Create comprehensive specification documents using EARS format with Research-Plan-Annotate cycle. Phases: Deep Research (research.md) -> SPEC Planning -> Annotation Cycle (1-6 iterations) -> SPEC Creation Agents: manager-spec (primary), Explore (research), manager-git (conditional) Flags: --worktree, --branch, --resume SPEC-XXX, --team, --no-issue For detailed orchestration: Read ${CLAUDE_SKILL_DIR}/workflows/plan.md (team mode: ${CLAUDE_SKILL_DIR}/team/plan.md)

run - DDD/TDD Implementation

Purpose: Implement SPEC requirements through configured development methodology. Agents: manager-strategy, manager-ddd or manager-tdd (per quality.yaml), manager-quality, manager-git Flags: --resume SPEC-XXX, --team For detailed orchestration: Read ${CLAUDE_SKILL_DIR}/workflows/run.md (team mode: ${CLAUDE_SKILL_DIR}/team/run.md)

sync - Documentation Sync and PR

Purpose: Synchronize documentation with code changes and prepare pull requests. Agents: manager-docs (primary), manager-quality, manager-git Modes: auto, force, status, project. Flags: --merge, --skip-mx For detailed orchestration: Read ${CLAUDE_SKILL_DIR}/workflows/sync.md (team mode: ${CLAUDE_SKILL_DIR}/team/sync.md)

gate - Pre-Commit Quality Gate

Purpose: Lightweight pre-commit quality check running lint, format, type-check, and tests in parallel. Also integrated into run (Phase 2.75) and sync (Phase 0) workflows as automatic pre-checks. Agents: Direct execution (no agent delegation) Flags: --fix, --staged, --file PATH Integration: Automatically invoked by run workflow (Phase 2.75) and sync workflow (Phase 0.0.1) with --fix behavior. For detailed orchestration: Read ${CLAUDE_SKILL_DIR}/workflows/gate.md

security - OWASP Security Audit

Purpose: Dedicated security audit with OWASP Top 10 analysis, dependency scanning, secrets detection, and data isolation checks. Agents: expert-security (primary) Flags: --full, --deps, --secrets, --file PATH, --branch BRANCH For detailed orchestration: Read /Users/goos/MoAI/moai-adk-go/.claude/skills/moai/workflows/security.md

fix - Auto-Fix Errors

Purpose: Autonomously detect and fix LSP errors, linting issues, and type errors. Agents: expert-debug (diagnosis), expert-backend/expert-frontend (fixes) Flags: --dry, --sequential, --level N, --resume, --team For detailed orchestration: Read ${CLAUDE_SKILL_DIR}/workflows/fix.md

loop - Iterative Auto-Fix

Purpose: Repeatedly fix issues until completion marker detected or max iterations reached. Agents: expert-debug, expert-backend, expert-frontend, expert-testing Flags: --max N, --auto-fix, --seq For detailed orchestration: Read ${CLAUDE_SKILL_DIR}/workflows/loop.md

mx - MX Tag Scan and Annotation

Purpose: Scan codebase and add @MX code-level annotations for AI agent context. Agents: Explore (scan), expert-backend (annotation) Flags: --all, --dry, --priority P1-P4, --force, --team For detailed orchestration: Read ${CLAUDE_SKILL_DIR}/workflows/mx.md

review - Code Review

Purpose: Multi-perspective code review with security, performance, quality, and UX analysis. Agents: manager-quality (primary), expert-security Flags: --staged, --branch, --security, --team For detailed orchestration: Read ${CLAUDE_SKILL_DIR}/workflows/review.md (team mode: ${CLAUDE_SKILL_DIR}/team/review.md)

clean - Dead Code Removal

Purpose: Identify and safely remove unused code with test verification. Agents: expert-refactoring, expert-testing Flags: --dry, --safe-only, --file PATH For detailed orchestration: Read ${CLAUDE_SKILL_DIR}/workflows/clean.md

codemaps - Architecture Documentation

Purpose: Scan codebase and generate architecture documentation. Agents: Explore, manager-docs Flags: --force, --area AREA For detailed orchestration: Read ${CLAUDE_SKILL_DIR}/workflows/codemaps.md

coverage - Test Coverage Analysis

Purpose: Analyze test coverage gaps and generate missing tests. Agents: expert-testing Flags: --target N, --file PATH, --report For detailed orchestration: Read ${CLAUDE_SKILL_DIR}/workflows/coverage.md

e2e - End-to-End Testing

Purpose: Create and run E2E tests using Chrome, Playwright, or Agent Browser. Agents: expert-testing, expert-frontend Flags: --record, --url URL, --journey NAME For detailed orchestration: Read ${CLAUDE_SKILL_DIR}/workflows/e2e.md

design - Hybrid Design Workflow

Purpose: Produce web/brand design artifacts via Claude Design import (path A) or code-based skill pipeline (path B). Integrates brand context from .moai/project/brand/ and design briefs from .moai/design/. Agents: manager-spec (BRIEF), expert-frontend (implementation), evaluator-active (GAN loop scoring) Skills: moai-domain-copywriting, moai-domain-brand-design, moai-workflow-design-import, moai-workflow-gan-loop, moai-workflow-design-context, my-harness-pencil-mcp (Path B2, generated by meta-harness) Flags: --path A|B, --harness thorough|standard, --brief BRIEF-XXX For detailed orchestration: Read ${CLAUDE_SKILL_DIR}/workflows/design.md

db - Database Metadata Management

Purpose: Manage project database documentation in .moai/project/db/ (schema.md, erd.mmd, migrations.md, rls-policies.md, queries.md, seed-data.md). Subcommands synchronize schema from migration files, verify drift, and list state. Agents: moai-domain-db-docs (parser + sync), Explore (migration discovery) Subcommands: init | refresh | verify | list Flags: --dry, --force, --engine postgres|mongodb|mysql|oracle|sqlite|supabase For detailed orchestration: Read ${CLAUDE_SKILL_DIR}/workflows/db.md

(default) - MoAI Autonomous Workflow

Purpose: Full autonomous research -> plan -> annotate -> run -> sync pipeline. Phases: Parallel Exploration (research.md) -> SPEC Generation -> Annotation Cycle -> Implementation -> Sync Agents: Explore, manager-spec, manager-ddd/tdd, manager-quality, manager-docs, manager-git Flags: --loop, --max N, --branch, --pr, --resume SPEC-XXX, --team, --solo, --no-issue For detailed orchestration: Read ${CLAUDE_SKILL_DIR}/workflows/moai.md

project - Project Documentation

Purpose: Generate project documentation by analyzing the existing codebase. Agents: Explore, manager-docs, expert-devops (optional) Output: product.md, structure.md, tech.md in.moai/project/ For detailed orchestration: Read ${CLAUDE_SKILL_DIR}/workflows/project.md

feedback - GitHub Issue Creation

Purpose: Collect user feedback and create GitHub issues. Agents: manager-quality For detailed orchestration: Read ${CLAUDE_SKILL_DIR}/workflows/feedback.md


Execution Directive

When this skill is activated, execute the following steps in order:

Step 1 - Parse Arguments: Extract subcommand keywords and flags from the Raw User Input. Recognized global flags: --resume [ID], --seq, --deepthink, --team, --solo. Also detect ultrathink keyword in the input text.

CRITICAL: Two distinct deep analysis modes:

  • --deepthink flag detected → Invoke Sequential Thinking MCP (mcp__sequential-thinking__sequentialthinking) for structured step-by-step analysis. This is an MCP tool call.
  • ultrathink keyword detected → Activate Claude's native extended reasoning (high effort mode). Do NOT invoke Sequential Thinking MCP. This is native Claude behavior with no MCP dependency.
  • Both can coexist: ultrathink --deepthink activates BOTH independently.

Step 2 - Route to Workflow: Apply the Intent Router (Priority 1 through Priority 4) to determine the target workflow. If ambiguous, use AskUserQuestion to clarify with the user.

Step 2.5 - Project Documentation Check: Before executing plan, run, sync, fix, loop, or default workflows, verify project documentation exists by checking for .moai/project/product.md. If product.md does NOT exist, use AskUserQuestion to ask the user (in their conversation_language):

Question: Project documentation not found. Would you like to create it first? Options:

  • Create project documentation (Recommended): Generates product.md, structure.md, tech.md through a guided interview. This helps MoAI understand your project context for better results in all subsequent workflows.
  • Skip and continue: Proceed without project documentation. MoAI will have less context about your project.

This check does NOT apply to: project, feedback subcommands.

[HARD] Beginner-Friendly Option Design: All AskUserQuestion calls throughout MoAI workflows MUST follow these rules:

  • The first option MUST always be the recommended choice, clearly marked with "(Recommended)" suffix
  • Every option MUST include a detailed description explaining what it does and its implications

Step 3 - Load Workflow Details: If --team flag was parsed AND ${CLAUDE_SKILL_DIR}/team/<name>.md exists for the target subcommand, read the team workflow file instead of the solo workflow. Otherwise read workflows/<name>.md. The Quick Reference section above shows both paths for each subcommand that supports team mode.

Step 4 - Read Configuration: Load relevant configuration from.moai/config/config.yaml and section files as needed.

Step 5 - Initialize Task Tracking: Use TaskCreate to register discovered work items with pending status.

Step 6 - Execute Workflow Phases: Follow the workflow-specific phase instructions. Delegate all implementation to appropriate agents via Agent(). Collect user approvals at designated checkpoints via AskUserQuestion.

Step 7 - Track Progress: Update task status using TaskUpdate as work progresses (pending to in_progress to completed).

Step 8 - Present Results: Display results to the user in their conversation_language using Markdown format.

Step 9 - Add Completion Marker: When all workflow phases complete successfully, add the appropriate completion marker (<moai>DONE</moai> or <moai>COMPLETE</moai>).

Step 10 - Guide Next Steps: Use AskUserQuestion to present the user with logical next actions based on the completed workflow.


Version: 2.6.0 Last Updated: 2026-02-25

Common Rationalizations

RationalizationReality
"I will just implement this directly, delegation is overhead"MoAI is an orchestrator. Direct implementation bypasses the quality gates agents enforce.
"The user's intent is obvious, no need for a Socratic interview"Ambiguous verbs (clean, fix, improve) almost always produce wrong scope. Rule 5 exists because obvious is often wrong.
"This is a small change, Approach-First is unnecessary"Small changes still touch files the user cares about. One sentence of approach costs nothing and prevents rework.
"I can run /moai run without a SPEC, it is just a tweak"Without a SPEC, there is no acceptance criterion to check. Every run without a SPEC silently degrades quality tracking.
"Parallel agents will just race, sequential is safer"Independent tool calls are explicitly required to run in parallel. Sequentializing them wastes user time.
"I will respond in English since it is technical"Conversation language is a HARD rule. User-facing output must match the configured language, always.
"Schema 로드가 귀찮으니 이번엔 산문으로 질문하자"AskUserQuestion/Task* 는 deferred tool. ToolSearch 한 번으로 session 전체 사용 가능. 산문 질문은 HARD 위반 (CLAUDE.md §1, §8 Deferred Tool Preload Protocol).
"짧은 확인 질문은 산문으로 처리해도 된다"모든 user-facing 질문은 AskUserQuestion 경유 강제. "짧은 질문"은 예외 아님. Self-check: 응답에 "?" 있으면 AskUserQuestion 호출 동반 필수.

Red Flags

  • MoAI writes code directly instead of delegating to a specialized agent
  • Response in English when conversation_language is not English
  • Multiple independent tool calls executed sequentially in separate messages
  • AskUserQuestion with more than 4 options or containing emoji
  • Agent invocation prompt contains absolute paths to the main project when isolation is worktree
  • /moai run executed without a corresponding SPEC-XXX document
  • Response ends with "?" but no AskUserQuestion tool call accompanies it
  • Options listed as markdown (- A:, - B:, Option X:) without structured AskUserQuestion
  • Prose decision requests ("진행할까요?", "어느 것 선호?", "A or B?") instead of AskUserQuestion
  • First AskUserQuestion call in session without prior ToolSearch preload (produces InputValidationError)
  • Waiting for user's next message after prose question without AskUserQuestion tool call

Verification

  • User-facing response language matches conversation_language from language.yaml
  • Every independent tool call was launched in parallel (one message, multiple tool blocks)
  • Agent selection trace documents why this agent, not another, was chosen
  • No XML tags visible in user-facing output
  • For non-trivial tasks, approach was explained and approved before code changes
  • SPEC-ID is referenced when /moai run, /moai sync, or /moai fix is invoked
  • TodoList used to decompose multi-file changes (3+ files)
  • Session opened with ToolSearch preload of deferred tools (AskUserQuestion, TaskCreate/Update/List/Get)
  • Every response containing "?" is accompanied by a structured AskUserQuestion tool call
  • Option lists (- A:, - B:) are routed through AskUserQuestion, not markdown-only
  • No silent "wait for user input" state after prose question (§8 Deferred Tool Preload Protocol)

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

35.24%
按下载量换算154

Claude

33.82%
按下载量换算148

Cursor

19.84%
按下载量换算87

Gemini CLI

8.66%
按下载量换算38

安全审计

Gen Agent Trust Hub

通过

Socket

可疑

Snyk

可疑

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/modu-ai/moai-adk --skill moai 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills