From superpipelines
Read-only four-axis optimization survey for pipeline topology, model-tier cost, past-run signals, and protocol/prompt quality. Produces an opportunity report for the orchestrator to apply.
How this skill is triggered — by the user, by Claude, or both
Slash command
/superpipelines:pipeline-optimizer-protocolThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
<glossary>
Resolve any unprovided paths via sk-pipeline-paths. Read only; do not glob outside the named bundle and its run dirs.
<telemetry_tiers>
| Tier | Available | Axes the survey can ground |
|---|---|---|
| no-run-dirs | topology.json + agent frontmatter only | Topology + model-tier cost (static). Emit advisory: "analysis is static — no run history." |
| state-only | state files, no telemetry | Add past-run signals from escalations / failures / loop-cap hits. |
| full-telemetry | state files + run-telemetry.jsonl | Add cost/latency/ctx hotspots from telemetry rows. |
| </telemetry_tiers> |
When telemetry is absent, do not fabricate token/latency numbers. State the tier reached in the report header so the orchestrator can advise enabling the opt-in hook (CLAUDE_CODE_ENHANCED_TELEMETRY_BETA=1 + register subagent-telemetry). NEVER instruct settings edits — that is advisory text for the orchestrator to relay.
Apply sk-4d-method to frame "better" for this bundle, then survey each axis. Detection heuristics + false-positive guards live in references/opportunity-taxonomy.md — consult, do not duplicate.
Axis 1 — Topology structure.
depends_on edge between them and disjoint inputs → Pattern 1 sequential → Pattern 2 fan-out candidates).Axis 2 — Model-tier cost.
deep/high step doing mechanical/deterministic work.fast/triage step doing planning/architecture/review work.effort_tier inconsistent with the step's reasoning load.suggested_engine: change-models (Mode C).Axis 3 — Past-run signals (state-only / full-telemetry tiers).
step_id across runs.BLOCKED / non-terminal state).run-telemetry.jsonl (full-telemetry only).Axis 4 — Protocol/prompt quality (ADVISORY ONLY — never auto-action).
suggested_engine: advisory-only.temp/{P}/optimize-{ts}/findings.md.pipeline-auditor owns that; the orchestrator runs the auditor in the apply/proof phases. Reference it; never duplicate its checks (DEPENDENCY_INVERSION).
<output_contract> Render an executive summary (telemetry tier reached, opportunity count by axis) followed by one entry per opportunity:
- id: OPP-{n}
axis: topology | cost | past-run | quality
impact: high | medium | low
affected_steps: [step_id, ...]
proposed_change: <one-line description>
rationale: <evidence, citing file:line or run/state when grounded>
suggested_engine: update-step | add-step | delete-step | change-models | advisory-only
Cite file:line or run-id/state evidence for every grounded opportunity. Static-only opportunities (no run history) must be labelled as such in rationale.
</output_contract>
Emit exactly one: DONE (survey complete, opportunities rendered or none found), DONE_WITH_CONCERNS (survey complete but blind to one or more axes due to telemetry tier), NEEDS_CONTEXT (a required input path was not provided/resolvable), or BLOCKED (cannot read the bundle).
pipeline-auditor's job (DEPENDENCY_INVERSION); do not duplicate.model_tier direction only; concrete IDs live in profile JSON.<rationalization_table>
| Excuse | Reality |
|---|---|
| "Writing the report file is faster." | Render-inline avoids the report-ownership / permissionMode split-brain fixed in #33. Orchestrator persists. |
| "Re-checking isolation is thorough." | Duplicating auditor checks is source-of-truth drift (DEPENDENCY_INVERSION). Delegate. |
| "No telemetry, but I can guess the hotspot." | Guessed metrics mislead the plan. Degrade to the available tier and say so. |
| "Quality issues should auto-fix." | Axis-4 is advisory-only by contract; the human decides. |
| </rationalization_table> |
${CLAUDE_PLUGIN_ROOT}/skills/pipeline-optimizer-references/references/opportunity-taxonomy.mdnpx claudepluginhub gustavo-meilus/superpipelines --plugin superpipelinesProvides behavioral guidelines to reduce common LLM coding mistakes, focusing on simplicity, surgical changes, assumption surfacing, and verifiable success criteria.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.