Token导航 LogoToken导航

Agent Skill · 研究检索

moai-foundation-core(摩艾基础核心)

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

moai-foundation-core 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证为 MIT,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 71,089。

总安装 196周安装 8GitHub Stars 公开资料未说明下载 63核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT

安装方式

通过对话安装

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

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

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/rdmptv/adbautoplayer --skill moai-foundation-core

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

用于查找、检索和筛选相关信息,适合基于关键词或场景定位内容。支持多轮交互和结果精炼,便于 Agent 在复杂任务中提取事实。通过 GitHub 安装,需确认是否会触发联网或执行系统命令。权限和稳定性未经验证,建议在使用前人工复核输出。

适用于 Codex、Claude、Cursor 和 Gemini CLI,实际能力依赖仓库实现。

来源仓库内路径:skills/moai-foundation-core

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/rdmptv/adbautoplayer --skill moai-foundation-c…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

moai-foundation-core 怎么安装?

在终端执行 npx skills add https://github.com/rdmptv/adbautoplayer --skill moai-foundation-core。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

moai-foundation-core 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

moai-foundation-core 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

moai-foundation-core 是免费的吗?

来源标注的许可证是 MIT。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

moai-foundation-core 用的人多吗?

公开数据是累计安装 196 次,近一周安装 8 次,下载 63 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

moai-foundation-core 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 3 个目录同时收录,说明这个 Skill 流传比较广。
  • 许可证明确为 MIT,商用和分发边界好判断。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。
  • 需要许可证清楚、并且有第三方扫描结果的团队项目。

不太适合

  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
moai-foundation-core

摩艾基础核心 · 本页

196—需要联网MIT通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

MoAI Foundation Core

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

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

Quick Reference (30 seconds)

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 (Test-first, Readable, Unified, Secured, Trackable)
  2. SPEC-First TDD - Specification-driven test-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:

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 (5 minutes)

1. TRUST 5 Framework - Quality Assurance System

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

Five Pillars:

PillarRequirementValidationFailure Action
Test-first≥85% coveragepytest --covBlock merge, generate tests
ReadableClear namingruff linterWarning, suggest refactor
UnifiedConsistent patternsblack, isortAuto-format or warn
SecuredOWASP compliancesecurity-expertBlock merge, review
TrackableClear commitsGit regexSuggest format

Integration Points:

  • Pre-commit hooks → Automated validation
  • CI/CD pipelines → Quality gate enforcement
  • Agent workflows → core-quality validation
  • Documentation → Quality metrics

Detailed Reference: TRUST 5 Framework Module


2. SPEC-First TDD - Development Workflow

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

Three-Phase Workflow:

Phase 1: SPEC (/moai:1-plan)
 workflow-spec → EARS format
 Output: .moai/specs/SPEC-XXX/spec.md
 Execute /clear (saves 45-50K tokens)

Phase 2: TDD (/moai:2-run)
 RED: Failing tests
 GREEN: Passing code
 REFACTOR: Optimize
 Validate: ≥85% coverage

Phase 3: Docs (/moai:3-sync)
 API documentation
 Architecture diagrams
 Project reports

EARS Format:

  • Ubiquitous: System-wide (always active)
  • Event-driven: Trigger-based (when X, do Y)
  • State-driven: Conditional (while X, do Y)
  • Unwanted: Prohibited (shall not do X)
  • Optional: Nice-to-have (where possible, do X)

Token Budget: SPEC 30K | TDD 180K | Docs 40K | Total 250K

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

Detailed Reference: SPEC-First TDD Module


3. Delegation Patterns - Agent Orchestration

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

Core Principle: Alfred NEVER executes directly. All work via Task().

Delegation Syntax:

result = await Task(
 subagent_type="specialized_agent",
 prompt="Clear, specific task",
 context={"relevant": "data"}
)

Three Patterns:

Sequential (dependencies):

design = Task(subagent_type="api-designer", prompt="Design API")
code = Task(subagent_type="backend-expert", prompt="Implement", context={"design": design})

Parallel (independent):

results = await Promise.all([
 Task(subagent_type="backend-expert", prompt="Backend"),
 Task(subagent_type="frontend-expert", prompt="Frontend")
])

Conditional (analysis-based):

analysis = Task(subagent_type="debug-helper", prompt="Analyze")
if analysis.type == "security":
 Task(subagent_type="security-expert", prompt="Fix")

Agent Selection:

  • Simple (1 file): 1-2 agents sequential
  • Medium (3-5 files): 2-3 agents sequential
  • Complex (10+ files): 5+ agents mixed

Detailed Reference: Delegation Patterns Module


4. Token Optimization - Budget Management

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

Budget Allocation:

PhaseBudgetStrategy
SPEC30KLoad requirements only, /clear after
TDD180KSelective file loading
Docs40KResult caching, templates
Total250KPhase separation

Token Saving Strategies:

  1. Phase Separation: /clear between phases
  • After /moai:1-plan (saves 45-50K)
  • When context > 150K
  • After 50+ messages
  1. Selective Loading: Load only necessary files
  2. Context Optimization: 20-30K tokens target
  3. Model Selection: Sonnet (quality) | Haiku (speed/cost)

Monitoring: /context command, track budget, suggest /clear

Cost Savings: Haiku 70% cheaper → 60-70% total savings

Detailed Reference: Token Optimization Module


5. Progressive Disclosure - Content Architecture

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

Three Levels:

LevelTimeContentTokens
Quick Reference30sCore principles1,000
Implementation5minWorkflows, examples3,000
Advanced10+minDeep dives, edge cases5,000

SKILL.md Structure (≤500 lines):

## Quick Reference (30s)
## Implementation Guide (5min)
## Advanced Patterns (10+min)
## Works Well With

Module Architecture:

  • SKILL.md: Entry point, cross-references
  • modules/: Deep dives, unlimited
  • examples.md: Working samples
  • reference.md: External links

File Splitting (when >500 lines):

SKILL.md (500 lines)
 Quick (80-120)
 Implementation (180-250)
 Advanced (80-140)
 References (10-20)

Overflow → modules/[topic].md

Detailed Reference: Progressive Disclosure Module


6. Modular System - File Organization

Purpose: Scalable file structure enabling unlimited content.

Standard Structure:

.claude/skills/skill-name/
 SKILL.md # Core (≤500 lines)
 modules/ # Extended (unlimited)
 patterns.md
 examples.md # Working samples
 reference.md # External links
 scripts/ # Utilities (optional)
 templates/ # Templates (optional)

File Principles:

  1. SKILL.md: ≤500 lines, progressive disclosure, cross-references
  2. modules/: Topic-focused, no limits, self-contained
  3. examples.md: Copy-paste ready, commented
  4. reference.md: API docs, resources

Cross-Reference Syntax:

Details: [Module](modules/patterns.md)
Examples: [Examples](examples.md#auth)
External: [Reference](reference.md#api)

Discovery Flow: SKILL.md → Topic → modules/[topic].md → Deep dive

Detailed Reference: Modular System Module


Advanced Implementation (10+ minutes)

Cross-Module Integration

TRUST 5 + SPEC-First TDD:

spec = Task(subagent_type="workflow-spec", prompt="SPEC with TRUST 5")
impl = Task(subagent_type="workflow-tdd", prompt="≥85% coverage",
 context={"spec": spec, "quality_gates": ["TRUST5"]})
validation = Task(subagent_type="core-quality", prompt="Validate TRUST 5",
 context={"implementation": impl})

Token-Optimized Delegation:

spec = Task(subagent_type="workflow-spec", prompt="Generate SPEC")
execute_clear() # Save 45-50K
results = await Promise.all([
 Task(subagent_type="backend-expert", prompt="Backend", context={"spec_id": spec.id}),
 Task(subagent_type="frontend-expert", prompt="Frontend", context={"spec_id": spec.id})
])
Task(subagent_type="workflow-docs", prompt="Docs", context={"results": results})

Progressive Agent Workflows:

quick = Task(subagent_type="debug-helper", prompt="Quick diagnosis")
if quick.complexity == "high":
 detailed = Task(subagent_type="debug-helper", prompt="Detailed analysis")
 if detailed.requires_expert:
 expert = Task(subagent_type="security-expert", prompt="Deep dive")

Quality Validation

Pre-Execution:

def validate_execution_requirements(task, context):
 return all([
 validate_security_clearance(task),
 validate_resource_availability(context),
 validate_quality_standards(task),
 validate_permission_compliance(task)
 ])

Post-Execution:

def validate_execution_results(result, task):
 validations = [
 validate_output_quality(result),
 validate_security_compliance(result),
 validate_test_coverage(result),
 validate_documentation_completeness(result)
 ]
 if not all(validations):
 raise QualityGateError("Quality gate failures")
 return True

Error Handling

Delegation Failure:

try:
 result = Task(subagent_type="backend-expert", prompt="Complex task")
except AgentExecutionError as e:
 analysis = Task(subagent_type="debug-helper", prompt=f"Analyze: {e}")
 if analysis.issue == "complexity":
 results = await Promise.all([
 Task(subagent_type="backend-expert", prompt="Subtask 1"),
 Task(subagent_type="backend-expert", prompt="Subtask 2")
 ])

Token Budget Exceeded:

if token_usage > 150_000:
 execute_clear()
 context = {"spec_id": current_spec.id, "phase_results": summarize(previous_results)}
 Task(subagent_type="next-agent", prompt="Continue", context=context)

Works Well With

Agents:

  • agent-factory - Create agents with foundation principles
  • skill-factory - Generate skills with modular architecture
  • core-quality - Automated TRUST 5 validation
  • workflow-spec - EARS format specification
  • workflow-tdd - RED-GREEN-REFACTOR execution
  • workflow-docs - Documentation with progressive disclosure

Skills:

  • moai-cc-claude-md - CLAUDE.md with foundation patterns
  • moai-cc-configuration - Config with TRUST 5
  • moai-cc-memory - Token optimization
  • moai-core-ask-user-questions - User clarification
  • moai-context7-integration - MCP integration

Commands:

  • /moai:1-plan - SPEC-First Phase 1
  • /moai:2-run - TDD Phase 2
  • /moai:3-sync - Documentation Phase 3
  • /moai:9-feedback - Continuous improvement
  • /clear - Token management

Foundation Modules (Extended Documentation):


Quick Decision Matrix

ScenarioPrimary PrincipleSupporting
New agentTRUST 5 + DelegationToken, modular
New skillProgressive + ModularTRUST 5, token
WorkflowDelegationSPEC-First, token
QualityTRUST 5SPEC-First
BudgetToken OptimizationProgressive, modular
DocsProgressive + ModularToken

Module Deep Dives:

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


Version: 2.2.0 Last Updated: 2025-11-26 Status: Active (496 lines, within 500-line limit)

平台分布

Claude Code

28.49%
按下载量换算18

windsurf

23.03%
按下载量换算15

OpenCode

16.41%
按下载量换算10

Codex

12.25%
按下载量换算8

Antigravity

7.6%
按下载量换算5

Gemini CLI

3.35%
按下载量换算2

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

继续浏览同类 Skills