/moai-meta-harness
DEPRECATED — legacy 7-Phase meta-harness. Redirects to the v4 harness Builder (/moai:harness <natural-language request>) which replaces the static 7-Phase workflow with an orchestrator-direct 4-phase Builder (ANALYZE / PLAN / GENERATE / ACTIVATE) + a manifest-driven
$ npx -y skills add modu-ai/moai-adk --skill moai-meta-harness --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
- You can call itInvoke it directly when you want it.
- Slash command
/moai-meta-harness
Context preview
The summary Claude sees to decide when to auto-load this skill.
DEPRECATED — legacy 7-Phase meta-harness. Redirects to the v4 harness Builder (/moai:harness <natural-language request>) which replaces the static 7-Phase workflow with an orchestrator-direct 4-phase Builder (ANALYZE / PLAN / GENERATE / ACTIVATE) + a manifest-driven
SKILL.md
moai-meta-harness.SKILL.mdname: moai-meta-harness
description: >
DEPRECATED — legacy 7-Phase meta-harness. Redirects to the v4 harness Builder
(/moai:harness <natural-language request>) which replaces the static 7-Phase
workflow with an orchestrator-direct 4-phase Builder (ANALYZE / PLAN /
GENERATE / ACTIVATE) + a manifest-driven dynamic-workflow Runner. Retained as
the redirect source for backward-compat invocation paths; the 7-Phase body
below is preserved as historical reference, NOT for new harness creation.
when_to_use: >
Use the v4 Builder instead: issue /moai:harness <natural-language request> to
enter Context-First Discovery (domain / goal / constraints / scope extraction)
then the orchestrator-direct Builder. This legacy skill fires ONLY on
backward-compat invocation paths that still reference the 7-Phase workflow; on
any such invocation it surfaces a deprecation notice and redirects to v4.
license: Apache-2.0
compatibility: Designed for Claude Code (v2.1.111+)
allowed-tools: Read, Write, Edit, Grep, Glob, Bash
user-invocable: false
metadata:
version: "0.2.0"
category: "meta"
status: "deprecated"
updated: "2026-06-20"
modularized: "false"
tags: "meta-skill, harness, deprecated, v4-redirect, agent-team-architect, apache-2-0-attribution"
upstream_source: "revfactory/harness"
generated_by: "moai-adk"
superseded_by: "/moai:harness v4 Builder"
# MoAI Extension: Progressive Disclosure
progressive_disclosure:
enabled: true
level1_tokens: 100
level2_tokens: 5000
moai-meta-harness (DEPRECATED — redirect to v4)
> **DEPRECATION NOTICE** — This legacy 7-Phase meta-harness is > **superseded by the v4 harness Builder** (`/moai:harness <natural-language > request>`). The v4 design replaces the static 7-Phase workflow with: > > - An **orchestrator-direct 4-phase Builder** (ANALYZE -> PLAN -> GENERATE -> > ACTIVATE) that holds the plan in Claude's session context and can call > AskUserQuestion at the PLAN->GENERATE approval gate (first-class boundary). > - A **manifest-driven dynamic-workflow Runner** (`hns-<name>-run.js`) that > reads `manifest.json` and dispatches specialists per their declared > `primitive` (sub-agent / dynamic-workflow / worktree / /moai goal / > adversarial-fan-out) — no heuristic re-derivation. > - **Conditional sub-agent-granular worktree isolation** (no mandatory > top-level worktree; worktree only for conflict-prone parallel generation). > - **Signal-driven phase synthesis** (not a fixed pipeline); the evaluator is > conditional (skipped for tasks within the model's solo reliable range). > > **To create a new harness**: issue `/moai:harness <natural-language request>` > (e.g., `/moai:harness build a harness for my-project's API development`). The > orchestrator runs Context-First Discovery on the request, derives a harness > `<name>`, and enters the Builder. Do NOT use the 7-Phase workflow below for > new harness creation. > > **What is preserved here**: the 7-Phase body below is retained as the > **redirect source** for backward-compat — so existing invocation paths that > reference the legacy workflow land on a deprecation notice + redirect rather > than a dead link. The 7-Phase content is historical reference material, NOT > active workflow. The revfactory 7-Phase residual grep excludes this body > precisely because it IS the redirect source.
<!-- @MX:NOTE: [AUTO] V3R4 contract SUPERSEDED — the original V3R4 contract preserved this skill body unchanged per the harness foundation policy §10 exclusion #10 (text annotation only, no behavioral change). That contract is hereby EXPLICITLY SUPERSEDED by the v4 harness redesign: the body is converted to a v4 redirect. Rationale for supersession: (1) the V3R4 contract protected against behavioral change, but v4 IS a deliberate behavioral change — the 7-Phase workflow is retired in favor of the orchestrator-direct Builder + manifest-driven Runner; (2) preserving the body unchanged would leave a dead-path 7-Phase workflow that contradicts the v4 design; (3) the AskUserQuestion-only contract (REQ-HRN-FND-015) is itself preserved verbatim under v4 — any generated subagent under .claude/agents/harness/ still MUST NOT invoke AskUserQuestion (this is reaffirmed, not weakened). The supersession is narrow: the 7-Phase workflow is retired; the AskUserQuestion boundary + namespace separation + Apache-2.0 attribution are all preserved. Cross-reference: the v4 design's Migration Path (revfactory 7-Phase -> v4 mapping) in the companion harness-builder.md workflow. -->
<!-- ATTRIBUTION Original work: revfactory/harness (https://github.com/revfactory/harness) License: Apache License 2.0 Adaptations: 7-Phase workflow integrated with MoAI agent ecosystem (manager-*, expert-*, sync-auditor) NOTICE: This file contains modifications. See the harness policy for derivation history. The 7-Phase workflow below is superseded by the v4 Builder; it is retained as the redirect source for backward-compat. -->
> **Apache 2.0 Attribution**: Adapted from [revfactory/harness](https://github.com/revfactory/harness) (Apache License 2.0). The 7-Phase workflow below is a MoAI adaptation of the upstream 6-Phase + Evolution Mechanism. See `.claude/rules/moai/NOTICE.md` for the full third-party notices and the harness policy for derivation history. **The v4 Builder (the replacement) is documented in `.claude/skills/moai/workflows/harness-builder.md`.**
---
v4 Redirect (the active path)
**New harness creation**: `/moai:harness <natural-language request>`
This routes to the v4 Builder (orchestrator-direct). The Builder:
1. **Context-First Discovery** on the request (extract domain / goal / constraints / scope). 2. **AskUserQuestion Socratic rounds** if clarity <100%; **derives** harness `<name>` from confirmed intent. 3. **Explicit approval gate** (AskUserQuestion, PLAN->GENERATE boundary). 4. **ANALYZE / PLAN / GENERATE / ACTIVATE** as orchestrator-direct phases. 5. Emits 5 artifact types: entry command, Run
Read more
name: moai-meta-harness description: > DEPRECATED — legacy 7-Phase meta-harness. Redirects to the v4 harness Builder (/moai:harness <natural-language request>) which replaces the static 7-Phase workflow with an orchestrator-direct 4-phase Builder (ANALYZE / PLAN / GENERATE / ACTIVATE) + a manifest-driven dynamic-workflow Runner. Retained as the redirect source for backward-compat invocation paths; the 7-Phase body below is preserved as historical reference, NOT for new harness creation. when_to_use: > Use the v4 Builder instead: issue /moai:harness <natural-language request> to enter Context-First Discovery (domain / goal / constraints / scope extraction) then the orchestrator-direct Builder. This legacy skill fires ONLY on backward-compat invocation paths that still reference the 7-Phase workflow; on any such invocation it surfaces a deprecation notice and redirects to v4. license: Apache-2.0 compatibility: Designed for Claude Code (v2.1.111+) allowed-tools: Read, Write, Edit, Grep, Glob, Bash user-invocable: false metadata: version: "0.2.0" category: "meta" status: "deprecated" updated: "2026-06-20" modularized: "false" tags: "meta-skill, harness, deprecated, v4-redirect, agent-team-architect, apache-2-0-attribution" upstream_source: "revfactory/harness" generated_by: "moai-adk" superseded_by: "/moai:harness v4 Builder" # MoAI Extension: Progressive Disclosure progressive_disclosure: enabled: true level1_tokens: 100 level2_tokens: 5000
moai-meta-harness (DEPRECATED — redirect to v4)
> **DEPRECATION NOTICE** — This legacy 7-Phase meta-harness is > **superseded by the v4 harness Builder** (`/moai:harness <natural-language > request>`). The v4 design replaces the static 7-Phase workflow with: > > - An **orchestrator-direct 4-phase Builder** (ANALYZE -> PLAN -> GENERATE -> > ACTIVATE) that holds the plan in Claude's session context and can call > AskUserQuestion at the PLAN->GENERATE approval gate (first-class boundary). > - A **manifest-driven dynamic-workflow Runner** (`hns-<name>-run.js`) that > reads `manifest.json` and dispatches specialists per their declared > `primitive` (sub-agent / dynamic-workflow / worktree / /moai goal / > adversarial-fan-out) — no heuristic re-derivation. > - **Conditional sub-agent-granular worktree isolation** (no mandatory > top-level worktree; worktree only for conflict-prone parallel generation). > - **Signal-driven phase synthesis** (not a fixed pipeline); the evaluator is > conditional (skipped for tasks within the model's solo reliable range). > > **To create a new harness**: issue `/moai:harness <natural-language request>` > (e.g., `/moai:harness build a harness for my-project's API development`). The > orchestrator runs Context-First Discovery on the request, derives a harness > `<name>`, and enters the Builder. Do NOT use the 7-Phase workflow below for > new harness creation. > > **What is preserved here**: the 7-Phase body below is retained as the > **redirect source** for backward-compat — so existing invocation paths that > reference the legacy workflow land on a deprecation notice + redirect rather > than a dead link. The 7-Phase content is historical reference material, NOT > active workflow. The revfactory 7-Phase residual grep excludes this body > precisely because it IS the redirect source.
<!-- @MX:NOTE: [AUTO] V3R4 contract SUPERSEDED — the original V3R4 contract preserved this skill body unchanged per the harness foundation policy §10 exclusion #10 (text annotation only, no behavioral change). That contract is hereby EXPLICITLY SUPERSEDED by the v4 harness redesign: the body is converted to a v4 redirect. Rationale for supersession: (1) the V3R4 contract protected against behavioral change, but v4 IS a deliberate behavioral change — the 7-Phase workflow is retired in favor of the orchestrator-direct Builder + manifest-driven Runner; (2) preserving the body unchanged would leave a dead-path 7-Phase workflow that contradicts the v4 design; (3) the AskUserQuestion-only contract (REQ-HRN-FND-015) is itself preserved verbatim under v4 — any generated subagent under .claude/agents/harness/ still MUST NOT invoke AskUserQuestion (this is reaffirmed, not weakened). The supersession is narrow: the 7-Phase workflow is retired; the AskUserQuestion boundary + namespace separation + Apache-2.0 attribution are all preserved. Cross-reference: the v4 design's Migration Path (revfactory 7-Phase -> v4 mapping) in the companion harness-builder.md workflow. -->
<!-- ATTRIBUTION Original work: revfactory/harness (https://github.com/revfactory/harness) License: Apache License 2.0 Adaptations: 7-Phase workflow integrated with MoAI agent ecosystem (manager-*, expert-*, sync-auditor) NOTICE: This file contains modifications. See the harness policy for derivation history. The 7-Phase workflow below is superseded by the v4 Builder; it is retained as the redirect source for backward-compat. -->
> **Apache 2.0 Attribution**: Adapted from [revfactory/harness](https://github.com/revfactory/harness) (Apache License 2.0). The 7-Phase workflow below is a MoAI adaptation of the upstream 6-Phase + Evolution Mechanism. See `.claude/rules/moai/NOTICE.md` for the full third-party notices and the harness policy for derivation history. **The v4 Builder (the replacement) is documented in `.claude/skills/moai/workflows/harness-builder.md`.**
---
v4 Redirect (the active path)
**New harness creation**: `/moai:harness <natural-language request>`
This routes to the v4 Builder (orchestrator-direct). The Builder:
1. **Context-First Discovery** on the request (extract domain / goal / constraints / scope). 2. **AskUserQuestion Socratic rounds** if clarity <100%; **derives** harness `<name>` from confirmed intent. 3. **Explicit approval gate** (AskUserQuestion, PLAN->GENERATE boundary). 4. **ANALYZE / PLAN / GENERATE / ACTIVATE** as orchestrator-direct phases. 5. Emits 5 artifact types: entry command, Run
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.
Repo: modu-ai/moai-adk
Other skills on moai-adk.
- /hns-lsel-applier
Local Self-Evolution Loop (LSEL) APPLY engine — the playback-only consumer of approved decision.json records that drives `.moai/hooks/lsel-apply.sh` for the GOOS-local PROPOSE→APPLY seam closure (SPEC-LSEL-LOCAL-EVOLUTION-001 M3). Reads an approved decision.json, validates the
Open skill - /hns-lsel-curator
Local Self-Evolution Loop (LSEL) curator — the CLUSTER + drain engine for the GOOS-local PROPOSE→APPLY seam closure (SPEC-LSEL-LOCAL-EVOLUTION-001). Companion-offset drain of .moai/lessons-inbox.jsonl with a drain-side severity filter that drops the ~65% Bash-timeout/sandbox
Open skill - /hns-moaiadk-best-practices
moai-adk-go best-practices reference for the 4 harness specialists (cli-template-specialist, quality-specialist, workflow-specialist, hook-ci-specialist). Covers TRUST 5 gates, Go test isolation (t.TempDir, no OTEL env in parallel tests), hardcoding-prevention rules (env
Open skill - /hns-moaiadk-dev-reference
moai-adk-go local dev reference — version management/release process (sec 5), shell-script hook development (sec 7), build & dev commands (sec 10). Load only when performing these specific tasks.
Open skill - /hns-moaiadk-patterns
moai-adk-go domain-patterns reference for the 4 harness specialists (cli-template-specialist, quality-specialist, workflow-specialist, hook-ci-specialist). Covers the CLI/template/config/hook/spec subsystem architecture, key source paths, the Pipeline specialist delegation map,
Open skill - /hns-oss-docs-i18n-rules
HARD i18n rules digest for the oss-docs harness specialists working on moai-adk-go README 4-locale set and the docs-site (adk.mo.ai.kr). Covers the canonical-locale chains, the 4-locale same-PR obligation, Mermaid TD-only, the no-emoji + icon-shortcode rule, emphasis-marker
Open skill

