Skip to content
Back to skills

Pipeline

ASecurity

Suggest, start, route, pause, stop and resume a pipeline, and answer its escalations. Invoke before you suggest or start a pipeline or when an ESCALATE line arrives.

  • 7 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 4, 2026
ai-agentsgogit

Security analysis

A100/100

Scanned December 4, 2026

npx -y skills add ARostovsky/jarvis --skill pipeline --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Pipeline?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Pipeline
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/arostovsky-pipeline/badge)](https://www.skillsdirectory.com/skills/arostovsky-pipeline)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: pipeline
description: Suggest, start, route, pause, stop and resume a pipeline, and answer its escalations. Invoke before you suggest or start a pipeline or when an ESCALATE line arrives.
---

# Pipelines

A pipeline passes items through steps without the user. The server spawns each step agent from the spec, counts attempts, refills the pool; the user reads the pipeline panel. The chat gets only an `ESCALATE:` line per escalated item and one line when the pipeline ends. You only judge each report and move the item.

## Suggest and write

1. Suggest a pipeline when the user describes a repeating multi-step cycle ("for each X do A, B, C", "keep going until N", "again and again: check, fix, repeat"), asks for a pipeline, or you are about to route the same step sequence by hand a third time. Say it once, in one sentence. Never suggest during an urgent task or in a failure report.
2. On yes, spawn one builder agent (model sonnet, effort medium, no lead). Its task holds the user's description, the absolute path of the notes folder, and: "Read and follow `<jarvis repo>/templates/pipelines/SKILL.md`." The path is in your prompt when this workspace has a notes folder; without one, tell the user to set it in the tab menu first. Never write the YAML yourself.
3. The builder ends with VERDICT partial and questions: ask the user, then send the answers to the same agent with `send_to_agent`.
4. The builder ends with VERDICT verified and a check output that starts with `OK`: show the user the file path and the one-line summary, and ask "start it?". Call `pipeline_start` only after the user says yes. A check that does not start with `OK`, or a builder that started anything, is a failed task.

## Start

1. The spec is a file in the catalog `<notes>/pipelines/<name>.yaml`, or any absolute `.yaml` path. Call `pipeline_list` to see the catalog (names, descriptions, validity), then `pipeline_start {spec: <name or path>}`. The result is one progress line; `pipeline_status` gives the table. A name needs the notes folder of this workspace.
2. The server copies the spec at start. When `pipeline_status` shows `file changed since start`, the running pipeline still uses the copy. Apply the edit only when the user wants it: `pipeline_start {pid, reload: true}`.
3. A line that starts with `warning:` in the result means another workspace with the same notes folder already works on a pipeline of that name. Tell the user in one sentence and go on.
4. Never start a pipeline the user did not ask for.

## Route

1. A report that ends with a `[pipeline <id>]` line is work. In the same turn, call `pipeline_advance` with the pipeline id, the item and the verdict you read from the report. Pass `report`, `ref` and `signature` only when the agent wrote them as `REPORT:`, `REF:` and `SIGNATURE:` lines, and pass `agent` as the line says.
2. Check the report body against its VERDICT line first, as for any report. A body that contradicts the verdict gets the verdict the body supports.
3. A report that ends with a `[pipeline <id>] source:` line is from the intake agent of an agent source. Call `pipeline_advance` with item `"@source"`, the agent and a verdict: `verified` with `new_item` (`id`, `title`, and `link` or `payload` if given; copy them from its `ITEM:` line and text) adds the item, `verified` with `exhausted: true` when it wrote `NO MORE ITEMS`, `partial` when it found nothing usable, `failed` when it could not fetch. A refused repeated id is not an error to bring to the user: answer `partial`.
4. A step of kind `watch` waits on an external status of an id (its `ref`) instead of an agent. The step before it must report `REF: <external id>`: pass it as `ref` when you move the item into the watch step. The server watches that id with the approved status source named in the step, with no model turn per poll, and refuses a status source that is not approved or not enabled here. Only the user approves a status source: never try to. When the external status of the ref changes, you get the usual status message plus a `[pipeline <id>]` line. A final status carries a suggested verdict (`done` is `verified`; `failed` or `stopped` is `failed`) and the exact call. Look at the details in the status message, then call `pipeline_advance` with the verdict you judge right and the same `ref`; the server advances nothing by itself. A status that is not final needs no call. A `ref` that is not the item's is refused.
5. A tool error lists the allowed moves. Fix the call. Do not ask the user.
6. After `pipeline_advance` write no text at all, except for an `ESCALATE:` line and the final summary. The panel shows the progress.

## After a restart

A server restart cuts off the step agents that were running. An item at a watch step has no agent to cut off: if its external status became final during the restart, you get the same suggested-verdict line. For each item you get one line, `[pipeline <id>] <item> step <step>: agent <agent> interrupted by a restart; call pipeline_advance(...)`. In the same turn call `pipeline_advance` with the pipeline, the item, the agent and `retry: true`, and no verdict. The server starts the step again with a new agent and does not use an attempt. A line `[pipeline <id>] source: intake agent <agent> interrupted by a restart` is answered with `pipeline_advance(<id>, "@source", verdict: "partial", agent: <agent>)`, which fetches again.

## Escalation

A result or a chat line that starts with `ESCALATE:` needs the user.

1. Send one message: the item, the step, the reason, the last report path, the branch, and the choices: retry, skip, go to step `<name>`, or give a hint.
2. After the answer, call `pipeline_advance` with `resolve: "retry"`, `"skip"` or `"step:<name>"`. A hint is not part of the call: after the move, send it with `send_to_agent` to the new step agent, whose id the result names.
3. A pause for a repeated failure or for the budget ends only when the user decides: `pipeline_start {pid, resume: true}` resumes it.

## Stop and end

- `pipeline_stop {pid}` stops the pipeline and its step agents. `pipeline_stop {pid, pause: true}` only stops new items.
- When a result says `pipeline <id> finished`, write the final summary: counts, report paths, open escalations, and the branches left for the user.
- Never use `git merge`, never create a merge commit, never push and never delete a pipeline branch.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.