gustavo-meilus/superpipelines/running-a-pipeline

Claude Code and agent skill by gustavo-meilus/superpipelines

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Run, resume, or list installed Superpipelines workflows from the registry.

Install

npx vskill@latest install gustavo-meilus/superpipelines/running-a-pipeline

SKILL.md

The same SKILL.md was published earlier as gustavo-meilus/superpipelines/running-a-pipeline.

Running a Pipeline — Execution Workflow

<overview> Central orchestrator for pipeline execution. Manages the full lifecycle from multi-scope discovery (Local, Project, User) through tier detection, model resolution, version/portability validation, state-aware resumption, and terminal completion. Execution is always grounded in the current pipeline-state.json; escalation states are preserved for human review. </overview>

<glossary> <term name="Pipeline Registry">A central registry.json tracking all pipelines within a scope.</term> <term name="Resume Protocol">The logic used to recover a crashed or interrupted run using its persisted state.</term> <term name="Escalated State">A non-terminal status indicating that a pipeline reached a boundary requiring human intervention.</term> </glossary>

Workflow Phases

<protocol>

PHASE ORDERING CONTRACT (read first — non-negotiable)

<HARD-GATE> Phase execution order is total and fixed:

0 → 0.25 → 0.4 → 0.45 → 0.5 → 0.6 → 0.7 → 1 → 2 → 3 → 4

Phase numbers are decimals because phases were inserted over time — they are NOT optional, NOT reorderable, and NONE may be skipped or renamed. There is no "soft gate", "no-active-run gate", or any phase not listed above; inventing a phase name or running phases from memory instead of from this body is the known phase-drift failure mode. Execute each phase by reading its section below, in this exact order.

Mandatory phase manifest. Before executing Phase 0, create a TodoWrite list with exactly these 11 items, in this order, each as a separate todo:

Phase 0 — Discovery & Selection, Phase 0.25 — Tier Detect & Dispatch Load, Phase 0.4 — Model Migration Check, Phase 0.45 — Model Resolution, Phase 0.5 — Version Compatibility Advisory, Phase 0.6 — Portability Validation, Phase 0.7 — Pre-Run Safety Tripwire, Phase 1 — Resume Check, Phase 2 — State Initialization, Phase 3 — Entry Skill Dispatch, Phase 4 — Completion & Cleanup.

Mark a todo completed ONLY after its phase has actually run. A skipped or out-of-order todo is a visible defect — the user can see it and intervene. Maintain an in-session phase ledger (the set of phases marked completed); Phase 3 asserts against it before any dispatch. </HARD-GATE>

PHASE 0: DISCOVERY & SELECTION
  • Q16 degraded-state preflight — IF the marker file ${CLAUDE_PLUGIN_ROOT}/.session-hook-degraded exists, emit:

> ⚠️ SessionStart hook degraded (Git Bash not found on the previous session start). Auto-loading of using-superpipelines routing context was skipped. The plugin still works, but routing decisions may be less precise. To restore: install Git for Windows (Git Bash), then restart this session. To dismiss this advisory for the current session only: del "%CLAUDE_PLUGIN_ROOT%\.session-hook-degraded" (Windows) or rm "${CLAUDE_PLUGIN_ROOT}/.session-hook-degraded" (Unix).

Do not delete the marker automatically — it is cleared by the next successful SessionStart hook.

  • Discovery: single-root by default, gated legacy fallback (Q5, #64 collapse). Call sk-pipeline-paths.ENUMERATE_PIPELINE_ROOTS(workspace). By default this is two registry reads — <workspace>/.superpipelines/registry.json + ~/.superpipelines/registry.json (both layout: "data") — with no per-tier registry enumeration (design spec §4). The legacy tail (layout: "legacy") is self-gating: ENUMERATE_ALL_SCOPE_ROOTS parses no registries and returns [] unless a pre-v2 old-root dir is actually present, so an all-data workspace reads exactly those two registries. This is the "Phase 0 stops re-deriving location every run" win — back-compat reads are preserved (design spec §8) but no longer the default mechanic.
  • For each layout: "data" root, read <root>/registry.json. For each layout: "legacy" root (present only when the back-compat fallback armed), read <root>/superpipelines/registry.json (if present). Merge all entries into a single registry view, annotating each with layout, scope (project | local | user), and — for legacy entries only — source_tier (derived from the scope root). Data-only entries are tier-independent (no source_tier path divergence); their runtime_tier is set at Phase 0.25.
  • Present available pipelines to the user; the listing MUST include layout (and source_tier/scope for legacy) so provenance is visible.
  • Capture the selection ({P}, layout, pattern; DATA_ROOT for data pipelines or {ROOT}+source_tier for legacy).
PHASE 0.25: TIER DETECT & DISPATCH LOAD

Step 1 — Locate the dispatch skill. The dispatch profile is obtained by reading the sk-platform-dispatch skill body directly, never by invoking it through the skill-load tool — sk-platform-dispatch declares disable-model-invocation: true, so a Skill() / activate_skill() load is guaranteed to be rejected. The probe distinguishes three observable conditions:

ConditionAction
File-read tool present and skills/sk-platform-dispatch/SKILL.md readableRead the file → execute DETECT() from its body (includes the Task-tool probe).
File-read tool present, dispatch skill file NOT readable (plugin not installed in this env)Emit "plugin not registered in this env" advisory; fall through to INLINE-DETECT().
No file-read tool availableEmit advisory; run INLINE-DETECT().

Step 2 — Load or inline-detect:

  • File-read tool available: Read the dispatch skill body and execute DETECT() inline.

No Skill() / activate_skill() load is attempted — the flag makes it a guaranteed failure.

`` try: Read(skills/sk-platform-dispatch/SKILL.md) profile = execute_DETECT_from_skill_body() // Task tool present → tier_1; etc. catch FileNotFound | unreadable: // Plugin not registered in this environment — the skill file is not on disk. emit advisory: "⚠️ Dispatch skill file not found — superpipelines plugin may not be registered in this environment. Falling back to INLINE-DETECT()." profile = INLINE-DETECT() ``

Executing DETECT() from the body preserves the Task-tool probe, which correctly identifies tier_1 regardless of whether the CLAUDE_CODE env var is set. NEVER skip the Read and go straight to INLINE-DETECT() when the file IS readable — INLINE-DETECT() lacks the Task-tool probe and will misidentify tier_1 as tier_1c on any machine where agy is installed and CLAUDE_CODE is absent.

On success (any path): cache platform_profile in session context. Proceed normally.

  • No file-read tool available: Emit the following advisory, then run INLINE-DETECT():

> ⚠️ PLATFORM ADVISORY: No file-read tool detected in this environment (superpipelines plugin may not be installed here). Running INLINE-DETECT() fallback. Phase 0.45 will execute the resolution algorithm inline — preference files will be consulted if readable. If detection looks wrong, set SUPERPIPELINES_FORCE_TIER=tier_1|tier_1b|tier_1c|tier_1d|tier_2 to override.

INLINE-DETECT() heuristics — first match wins. Each heuristic requires a runtime-capability signal (env var or binary on PATH), never a workspace filesystem artifact alone — filesystem artifacts indicate the plugin's presence, not the host's identity.

  1. SUPERPIPELINES_FORCE_TIER env var set to a known tier id → use that tier (escape hatch; takes precedence over all heuristics).
  2. CLAUDE_CODE env var set → tier_id = tier_1. (Q2: dropped the .claude-plugin/plugin.json readable fallback — filesystem presence does not imply CC runtime capability.)
  3. OPENCODE_CONFIG_DIR env var set → tier_id = tier_1b.
  4. agy binary on PATH → tier_id = tier_1c. (Q2: dropped the .agents/skills/ workspace-shape fallback — that directory is colonized by both Tier 1c and Tier 1d.)
  5. codex binary on PATH OR .codex-plugin/plugin.json readable → tier_id = tier_1d. (Q2: the manifest fallback is retained here because Codex installs ship the manifest alongside the binary; redundant signal is acceptable when both point to the same platform.)
  6. None matched → tier_id = tier_2 (safe default; sequential inline execution always works).

Read platform_profile from the embedded snapshot below using tier_id:

``json { "tier_1": {"tier":"tier_1", "capabilities":{"dispatch_mechanism":"native_task","skill_tool":true,"task_primitive":true,"dynamic_subagents":false,"worktrees":true},"model_tiers":{"triage":{"model":"claude-haiku-4-5-20251001"},"fast":{"model":"claude-haiku-4-5-20251001"},"medium":{"model":"claude-sonnet-4-6"},"deep":{"model":"claude-opus-4-8"}},"degradation_warnings":[]}, "tier_1b": {"tier":"tier_1b","capabilities":{"dispatch_mechanism":"native_subagent","skill_tool":true,"task_primitive":false,"dynamic_subagents":false,"worktrees":false},"model_tiers":{"triage":{"model":"opencode/big-pickle"},"fast":{"model":"opencode-go/deepseek-v4-flash"},"medium":{"model":"opencode-go/qwen3.6-plus"},"deep":{"model":"opencode-go/kimi-k2.6"}},"degradation_warnings":["Parallel fan-out (Pattern 2) degrades to sequential on OpenCode."]}, "tier_1c": {"tier":"tier_1c","capabilities":{"dispatch_mechanism":"model_driven","skill_tool":true,"skill_tool_name":"activate_skill","task_primitive":false,"dynamic_subagents":true,"model_field_format":"omit","worktrees":false},"model_tiers":{"triage":{"model":"gemini-3.5-flash"},"fast":{"model":"gemini-3.5-flash"},"medium":{"model":"gemini-3.5-pro"},"deep":{"model":"gemini-3.5-pro"}},"degradation_warnings":["Antigravity uses dynamic subagents — per-step model assignment is not supported. Only the orchestrator's model tier is user-configurable. Subagent model selection is owned by Antigravity's orchestrator.","Reviewer isolation is convention-only on Antigravity: dynamic subagents share the orchestrator context and carry no structural write-deny primitive. Review steps execute the reviewer protocol but cannot provide structural assumption-blindness defense. Treat review output as a self-check. For structurally verified review, run from Claude Code, OpenCode, or Codex."]}, "tier_1d": {"tier":"tier_1d","capabilities":{"dispatch_mechanism":"model_driven","skill_tool":true,"task_primitive":false,"dynamic_subagents":false,"worktrees":false},"model_tiers":{"triage":{"model":"gpt-5.4-mini"},"fast":{"model":"gpt-5.4-mini"},"medium":{"model":"gpt-5.4"},"deep":{"model":"gpt-5.5"}},"degradation_warnings":[]}, "tier_2": {"tier":"tier_2", "capabilities":{"dispatch_mechanism":"inline","skill_tool":true,"task_primitive":false,"dynamic_subagents":false,"worktrees":false},"model_tiers":{"triage":{"model":"inherit"},"fast":{"model":"inherit"},"medium":{"model":"inherit"},"deep":{"model":"inherit"}},"degradation_warnings":["Reviewer isolation is convention-only; reviews are advisory, not structurally enforced.","Parallel fan-out (Pattern 2) degrades to sequential.","Iterative pattern (Pattern 3) cycle limit still enforced inline.","Model selection is owned by the host IDE; per-step model assignment is not emitted."]} } ``

> Note: Inline snapshots are maintenance copies only. When the skill tool is available, always prefer the loaded profile — it reflects the authoritative profiles/{tier_id}.json.

<HARD-GATE>platform_profile MUST be non-null after Phase 0.25. INLINE-DETECT() defaults to tier_2 if no heuristic matches — it NEVER returns null. Emitting the advisory is mandatory when using the inline path. NEVER proceed to Phase 0.45 without a resolved platform_profile.</HARD-GATE>

This is the start of the file. Read the full SKILL.md on GitHub.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
4
7-day trend score
8

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/gustavo-meilus/superpipelines/running-a-pipeline/badge)](https://verified-skill.com/skills/gustavo-meilus/superpipelines/running-a-pipeline)

Something wrong with this skill or its page? Tell us.