Install
$ agentstack add skill-gustavo-meilus-superpipelines-sk-pipeline-grilling ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
About
Pipeline Grilling — Brief-Hardening Interrogation
> Hardens a pipeline brief and fills knowledge gaps before the architect designs the topology. Trigger from creating-a-pipeline Phase 2 (MODE=brief) and Phase 3 (MODE=architectural). Adapted from the crawl/grill/reconcile protocol of create-aiboarding.
Pipeline Grilling replaces passive slot-filling with an adversarial interrogation. It silently crawls available context, holds the findings, grills the user one question at a time while challenging vague answers, then confronts the held findings against the answers in a hard-gated reconciliation pass. The result is a hardened brief the architect can trust. The protocol is mandatory and self-scaling: a complete brief yields a short session.
project-embedded (operates on this repository's code/artifacts) vs self-contained/generative (does not consume the repo). Determines the crawl scope. A silent scan whose findings are held, never revealed before reconciliation. The live, one-question-at-a-time interrogation of the user. The structured output: goal, success criteria, pipeline I/O contract, step decomposition, failure modes, and pipeline type.
Operation
GRILL(MODE, platformprofile, scope, name, rawbrief): IF MODE == "brief": run PASS A (A0 → A1 → A2 → A3), return hardenedbrief IF MODE == "architectural": run PASS B, return acknowledgement IF MODE == "optimization": run PASS C (findings, hardened), return optimizationplan
PASS A — Brief Hardening (MODE=brief)
A0 · CONTEXT DETERMINATION (pipeline type)
- Infer a suggested type from
raw_brief: keywords like "endpoints", "this codebase", "the API", "the repo" lean project-embedded; "build/create an X generator/builder", content generation with no repo dependency lean self-contained. - Prompt the user to confirm the type before any crawl. Do NOT crawl the codebase until the type is confirmed.
- Record the confirmed
pipeline_typefor A1 scope, A3 scope, and the hardened brief.
A1 · SILENT CRAWL (Track A) — partly conditional
- Hold all findings silently. Do NOT reveal them until A3.
- Always (context-independent):
- Enumerate existing pipelines via
sk-pipeline-paths.ENUMERATE_ALL_SCOPE_ROOTS→ detect name overlap / reuse / collision againstname. - Read
platform_profile.capabilities→ which patterns / isolation / parallelism are possible. - Only when
pipeline_type == project_embedded: - Bounded scan of the target workspace: dependency manifests, top-level directory structure, key README/docs. Bounded — never a full read of every file. Prefer Glob for structure + targeted Grep over broad Reads.
- When
pipeline_type == self_contained: skip the codebase scan entirely; the always-on scans still run.
A2 · GRILL (Track B)
- One question at a time. NEVER batch questions.
- Challenge vague answers; push for a targeted brain-dump per micro-topic instead of accepting hand-waving.
- Walk the conceptual tree across micro-topics:
- Goal — push until measurable.
- Success criteria — observable, concrete.
- Pipeline I/O contract — exactly what enters the pipeline and exactly what it emits (format included).
- Rough step decomposition — the stages, not fine-grained per-step contracts.
- Failure modes — where it breaks; capture ≥1 pipeline-level mode.
A3 · RECONCILIATION (HARD GATE)
- Confront the held Track A findings against the user's A2 answers; grill ONLY on discrepancies.
- Confrontation scope depends on what was crawled:
- project-embedded: codebase contradictions (e.g. "the brief says the pipeline reads test results, but the repo has no test runner — where do results come from?") PLUS registry/capability contradictions.
- self-contained: registry/capability contradictions only (e.g. "a pipeline named X already exists in {scope} doing Y — how does this differ?"). NO "the repo lacks X" challenges.
- Do not exit until ZERO unresolved discrepancies remain (scoped to whatever crawl ran).
EXIT BAR — gate opens only when ALL true
- measurable goal
- explicit success criteria
- pipeline-level I/O contract
- rough step decomposition
- ≥1 pipeline-level failure mode
- zero unresolved crawl discrepancies (scoped to the crawl that ran)
OUTPUT — hardened_brief
Return a structured object:
{
pipeline_type: "project_embedded" | "self_contained",
goal, success_criteria, io_contract,
step_decomposition: [...],
captured_failure_modes: [...]
}
PASS B — Architectural Confirmation (MODE=architectural)
- Invoked AFTER the orchestrator selects a pattern. No new crawl — reuse
platform_profileand the selected pattern. - A short confirmation grill. Challenge ONLY when the user's stated expectation contradicts what the pattern/tier actually delivers:
- the selected pattern's tradeoffs (e.g. Pattern 3 iteration cap of 3; Patterns 2/5 require worktrees).
- isolation reality on this tier:
platform_profile.capabilities.reviewer_isolation(structural vs convention-only). Surface every entry ofplatform_profile.degradation_warnings. - model-tier implications of the chosen tiers.
- Gate: the user acknowledges the key tradeoff(s). This is confirmation, not extraction.
PASS C — Optimization Reconciliation (MODE=optimization)
- Invoked by
optimizing-a-pipelinePhase 2 AFTER thepipeline-optimizersurvey. No new crawl. - Inputs: the analyst's opportunity report (
findings) and thehardenedconstraints distilled bysk-4d-method(what "better" means for this pipeline). - Behavior — convergent, one opportunity at a time: walk the rendered opportunities individually. NEVER batch. For each, confront the user against the finding (e.g. "the analyst found steps B and C are redundant — merge them, or is the split intentional?"). Capture a per-opportunity verdict: accept / reject / modify, each WITH a rationale.
- Challenge vague verdicts the same way Pass A challenges vague answers: push until the decision is concrete and grounded in the hardened constraints.
- RECONCILIATION: do not exit until ZERO opportunities remain unresolved — every opportunity carries an explicit accept/reject/modify verdict. Mirrors the A3 reconciliation gate.
OUTPUT — optimization_plan
Return a structured object:
{
accepted: [ {id, axis, proposed_change, suggested_engine}, ... ],
rejected: [ {id, reason}, ... ],
modifications: [ {id, original, modified_change}, ... ],
success_criteria:
}
- Crawl findings are HELD silently until A3 — never leak them before reconciliation.
- One question at a time, always.
- Vague answers are challenged, not accepted.
- The A3 reconciliation gate is a HARD GATE — zero unresolved discrepancies to pass.
- Mandatory and self-scaling — no skip flag. A complete brief yields a short A2 and an empty A3.
- Profile-driven: reference
platform_profile.abstractly; NEVER hardcode platform names, model IDs, or capability values (perDEPENDENCY_INVERSION: PROFILE_DRIVEN). - Bounded crawl: manifests + structure + targeted greps only; never read the entire repository.
Reference Files
sk-pipeline-paths/SKILL.md—ENUMERATE_ALL_SCOPE_ROOTSfor the registry scan.sk-pipeline-patterns/SKILL.md— pattern tradeoffs referenced in Pass B.sk-4d-method/SKILL.md— the per-invocation wrapper this complements.creating-a-pipeline/SKILL.md— the orchestrator that invokes both modes.
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: gustavo-meilus
- Source: gustavo-meilus/superpipelines
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.