add-pipeline-stage

add-pipeline-stage is a skill for Claude Code from Abilityai/abilities. It costs 46 tokens per session (1,669 once invoked), scanned B, original, MIT.

A guided tool for adding a new step to an existing pipeline.yaml file. A pipeline is a series of jobs, and a DAG is a job graph with no circular dependencies.

In plain words
What is it for?
Use it to choose a pipeline, add a stage at a specified position, set its identifier and skill, configure retries and timeouts, and update the pipeline’s read view.
Why use it?
It prevents common pipeline mistakes by checking stage settings, retry and timeout choices, required skills, and whether dependencies form a cycle.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths; names the AskUserQuestion tool.

Part of the agent-dev plugin — 48 skills shipped together

Good fit Use it to choose a pipeline, add a stage at a specified position, set its identifier and skill, configure retries and timeouts, and update the pipeline’s read view.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/abilityai/abilities/add-pipeline-stage
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Abilityai/abilities --skill add-pipeline-stage
Clone the repo
git clone --depth 1 https://github.com/Abilityai/abilities

Made for: Claude Code.

Or install agent-dev, the plugin that ships this one along with the rest of its 48 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for add-pipeline-stage

README.md
[![agentmods](https://agentmods.dev/badge/skills/abilityai/abilities/add-pipeline-stage/github.svg)](https://agentmods.dev/skills/abilityai/abilities/add-pipeline-stage)
Your own site
<a href="https://agentmods.dev/skills/abilityai/abilities/add-pipeline-stage"><img src="https://agentmods.dev/badge/skills/abilityai/abilities/add-pipeline-stage/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for add-pipeline-stage

Your own site · 80×15
<a href="https://agentmods.dev/skills/abilityai/abilities/add-pipeline-stage"><img src="https://agentmods.dev/badge/skills/abilityai/abilities/add-pipeline-stage.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,669 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00046 $0.01669
Opus 5.5 $0.00018 $0.00668
Sonnet 5.5 $0.00009 $0.00334
Haiku 4.5 $0.00005 $0.00167

Measured 3mo ago against content hash 2d66ec2f0e97, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

add-pipeline-stage scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Enumerates other installed skillsmediumAgent snooping

Other skills' SKILL.md files reveal prompts, capabilities and secrets that should be invisible to peers.

- Show available skills from `ls .claude/skills/` as a hint.
plugins/agent-dev/skills/add-pipeline-stage/SKILL.md · 169 lines

How it starts

The opening of the file, as written. The whole thing — 169 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Add Pipeline Stage

ℹ️ First, set expectations: before anything else, print one short line with this skill's version and its most recent change — the top entry of metadata.changelog above — e.g. add-pipeline-stage vX.Y — recent: <summary>. Then proceed.

Extend an existing pipeline with a new stage. Edits projects/<slug>/pipeline.yaml non-destructively and revalidates.

Use this instead of editing pipeline.yaml by hand when you want guardrails on retry/timeout defaults, DAG acyclicity, and skill-existence checks.

Process

Step 1: Resolve pipeline

Expect <pipeline-slug> as the first positional argument. If missing, list projects/*/pipeline.yaml and ask which one.

Validate that projects/<slug>/pipeline.yaml exists. If not, suggest /add-pipeline to create it.

Step 2: Read current pipeline

PIPELINE_FILE="projects/$SLUG/pipeline.yaml"
yq '.stages[].id' "$PIPELINE_FILE"  # existing stage IDs

Show the user the current stage list (compact: id (skill) → next).

Step 3: Ask stage parameters

Q1 — Stage id

  • Free text. Validate: ^[a-z][a-z0-9-]{0,40}$. Refuse if it collides with an existing stage id (suggest a different id).
  • If passed as second positional arg, skip this question.

Q2 — Skill to invoke

  • Free text. Validate: [ -d .claude/skills/<skill-name> ]. If the skill doesn't exist, warn but allow (user may scaffold it after).
  • Show available skills from ls .claude/skills/ as a hint.
  • If the stage is another fleet agent's playbook, ask for the agent name and write agent: <name> on the stage (skip the local-directory check; the tick calls it as a one-line playbook call — protocols/playbook-call.md).

Q3 — Position in DAG Use AskUserQuestion with options:

  • Append at end (runs after the current last stage) — most common
  • After a specific stage (free-text picker among existing stage ids)
  • Parallel to a stage (same depends_on as the picked stage — fan-out)
  • Terminal — no successor (runs on cycle but no depends_on points to a successor; useful for measurement/audit stages)

Read the full file on GitHub · 169 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 169 lines · 46 tokens per session scan B 2d66ec2f0e97

Subscribe to this mod's changes

add-pipeline-stage is a skill published in the GitHub repository Abilityai/abilities (13 stars, last pushed yesterday), licensed MIT. It adds 46 tokens to every session and 1,669 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it B with 1 finding (enumerates other installed skills). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

add-pipeline-stage compared with skills from other repositories

add-pipeline-stage next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
add-pipeline-stageAbilityai/abilitiesSkill13yesterdayMITB46Claude Code
chinese-git-workflowjnMetaCode/superpowers-zhSkill8.7kyesterdayMITA69Claude Code
webhook-managementhoangsonww/Claude-Code-Agent-MonitorSkill1.2k3d agoMITA56Claude Code, Codex
monorepo-managementwshobson/agentsSkill43ktodayMITC54Claude Code
ci-fixersipyourdrink-ltd/bernsteinSkill1.2ktodayApache-2.0A15Claude Code, Codex
update-github-workflowstarlepp/symfony-flex-backendSkill286todayMITA41Claude Code, Codex
deployment-engineerrmyndharis/antigravity-skillsSkill2.2ktodayMITA73Claude Code, Codex