askill
pipeline

pipelineSafety 100Repository

Configurable pipeline orchestrator for sequencing stages

2.2k stars
44.6k downloads
Updated 3/19/2026

Package Files

Loading files...
SKILL.md

Pipeline Skill

$pipeline is the configurable pipeline orchestrator for OMX. It sequences stages through a uniform PipelineStage interface, with state persistence and resume support.

Default Autopilot Pipeline

The canonical OMX pipeline sequences:

RALPLAN (consensus planning) -> team-exec (Codex CLI workers) -> ralph-verify (architect verification)

Configuration

Pipeline parameters are configurable per run:

ParameterDefaultDescription
maxRalphIterations10Ralph verification iteration ceiling
workerCount2Number of Codex CLI team workers
agentTypeexecutorAgent type for team workers

Stage Interface

Every stage implements the PipelineStage interface:

interface PipelineStage {
  readonly name: string;
  run(ctx: StageContext): Promise<StageResult>;
  canSkip?(ctx: StageContext): boolean;
}

Stages receive a StageContext with accumulated artifacts from prior stages and return a StageResult with status, artifacts, and duration.

Built-in Stages

  • ralplan: Consensus planning (planner + architect + critic). Skips if a prd-*.md plan already exists.
  • team-exec: Team execution via Codex CLI workers. Always the OMX execution backend.
  • ralph-verify: Ralph verification loop with configurable iteration count.

State Management

Pipeline state persists via the ModeState system at .omx/state/pipeline-state.json. The HUD renders pipeline phase automatically. Resume is supported from the last incomplete stage.

  • On start: state_write({mode: "pipeline", active: true, current_phase: "stage:ralplan"})
  • On stage transitions: state_write({mode: "pipeline", current_phase: "stage:<name>"})
  • On completion: state_write({mode: "pipeline", active: false, current_phase: "complete"})

API

import {
  runPipeline,
  createAutopilotPipelineConfig,
  createRalplanStage,
  createTeamExecStage,
  createRalphVerifyStage,
} from './pipeline/index.js';

const config = createAutopilotPipelineConfig('build feature X', {
  stages: [
    createRalplanStage(),
    createTeamExecStage({ workerCount: 3, agentType: 'executor' }),
    createRalphVerifyStage({ maxIterations: 15 }),
  ],
});

const result = await runPipeline(config);

Relationship to Other Modes

  • autopilot: Autopilot can use pipeline as its execution engine (v0.8+)
  • team: Pipeline delegates execution to team mode (Codex CLI workers)
  • ralph: Pipeline delegates verification to ralph (configurable iterations)
  • ralplan: Pipeline's first stage runs RALPLAN consensus planning

Install

Download ZIP
Requires askill CLI v1.0+

AI Quality Score

72/100Analyzed 3/2/2026

Technical reference document for a configurable pipeline orchestrator (OMX). Provides comprehensive coverage of stage interfaces, built-in stages (ralplan, team-exec, ralph-verify), configuration parameters, state management, and API usage. Well-structured with TypeScript interfaces and code examples. Score reflects high clarity and completeness as reference content, moderate actionability due to lack of step-by-step walkthrough, and good reusability of architectural patterns. No safety concerns.

100
85
60
80
45

Metadata

Licenseunknown
Version-
Updated3/19/2026
PublisherYeachan-Heo

Tags

apici-cd