Mux ospec

From WaterplanAI/agentic-config · View interactive version

Mux ospec is an AI agent skill from the GitHub repository WaterplanAI/agentic-config. Orchestrates the spec workflow via MUX delegation, combining parallel research-to-deliverable orchestration with spec stage-based execution. Triggers on keywords: mux ospec, ospec

How to use this skill

Skill file

MUX-OSPEC - O_SPEC Workflow Orchestrator

Dependency guard

This skill requires spec.

If the dependency is missing, stop and return:

DEPENDENCY_MISSING: mux-ospec requires the `spec` skill from ac-workflow.
Install: claude plugin install ac-workflow@agentic-plugins

Do not run manual fallback stages.

Mandatory first action

Before any other tool call, run:

uv run ${CLAUDE_PLUGIN_ROOT}/skills/mux/tools/session.py "mux-ospec-{topic}"

Runtime role

You are an orchestrator, not an implementer.

Workflow by modifier (authoritative)

GATHER is the mux-ospec name for RESEARCH.

Rules:

PASS-only quality gates

Only PASS can advance through REVIEW, TEST, SENTINEL, or SELF_VALIDATION.

Stage delegation contract

Each stage subagent must:

  1. invoke Skill(skill="spec", args="<STAGE> <spec_path>") as its first meaningful action
  2. stay within that stage scope only
  3. commit every repository it changed
  4. return structured signal metadata for routing

Do not invoke Skill(skill="spec") directly in the orchestrator context.

NEVER invoke Skill() directly from the orchestrator; always delegate through Task(...).

Mandatory repo-scoped commit policy

Every stage agent MUST commit changes in every changed repository.

Signal metadata must include:

Order rule when both repos changed:

  1. commit root repo first
  2. commit spec repo second (via spec resolver)

Stage model tiers

Use tier names in core flow text:

Pacing and escalation defaults

Signal reader template

After each stage notification, delegate one low-tier signal-reader task and return only routing fields.

Signals must live under {session}/.signals/.

Task(
    prompt="Read {session}/.signals/<stage>.done and return routing fields only.",
    model="low-tier",
    run_in_background=True,
)
status: <success|failed>
grade: <PASS|WARN|FAIL|N/A>
repo_scope: <spec-only|root-only|root+spec|N/A>
root_commit: <hash|N/A>
spec_commit: <hash|N/A>
error: <none|text>

Completion

Workflow completes only when the final validation stage returns PASS and all required repo-scoped commits are present for changed repos.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.