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.
npx agentmods add skills/abilityai/abilities/add-pipelinenpx skills add Abilityai/abilities --skill add-pipelinegit clone --depth 1 https://github.com/Abilityai/abilitiesWrote 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.
[](https://agentmods.dev/skills/abilityai/abilities/add-pipeline)<a href="https://agentmods.dev/skills/abilityai/abilities/add-pipeline"><img src="https://agentmods.dev/badge/skills/abilityai/abilities/add-pipeline.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00084 | $0.05841 |
| Opus 5 | $0.00042 | $0.02920 |
| Sonnet 5 | $0.00017 | $0.01168 |
| Haiku 4.5 | $0.00008 | $0.00584 |
Grade A, and why
add-pipeline scanned grade A with 0 findings 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 4d 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.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 362 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Add Pipeline
ℹ️ 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.changelogabove — e.g.add-pipeline vX.Y — recent: <summary>. Then proceed.
Add a long-running, multi-stage pipeline to any Trinity-compatible agent. Implements the canonical pipeline spec: the agent owns the DAG and stage logic; Trinity owns the read surface (~/.trinity/pipelines/*.yaml + ~/.trinity/pipeline-state/**/*.json); a single heartbeat skill (pipeline-tick) owns advancement, retry, and escalation.
When to use a pipeline (and when not): reach for this when the work is a population of items that each crawl through multiple stages over many runs — or a multi-agent process where each stage is another agent's playbook (a release propagation, an onboarding chain; one instance = one run, agent: on the stage, the tick dispatches a one-line playbook call — fleet convention protocols/playbook-call.md) — and you need durable per-item state, isolated retries, and an at-a-glance "what stage is each item in" — e.g. per-customer onboarding, document ingestion, batched research crawls, especially when the whole batch can't finish in one scheduled run. If it's a single recurring task, a scheduled playbook is simpler — don't reach for a pipeline. And mind the boundary: instances are multi-instance, not multi-tenant — their state is isolated but they all run inside the same agent (same credentials, context window, and heartbeat), so for genuinely isolated or large-scale tenants, deploy one agent per tenant (Trinity fan-out) rather than one pipeline with many instances — that cross-agent layer is /add-orchestrator's domain: its /orchestrate skill does the routing, fan-out, and ephemeral roll-out/tear-down across a fleet, and its /discover-agents surfaces this agent's pipelines to the fleet map.
Keep heavy CPU jobs out of the heartbeat turn. A stage that does real compute (a FAISS/index rebuild, bulk embedding, a full bootstrap) must not run synchronously inside pipeline-tick's LLM turn. A headless run is a single agent turn and can't host a job past the ~10-min synchronous Bash ceiling — past it the harness auto-backgrounds the job, active waiting is blocked, and the turn ending reaps the backgrounded task (it fires killed, not completed; see /trinity:onboard → Long-running jobs inside a run). Model the heavy work as an OS-level job (a container cron / systemd unit or a small non-LLM sidecar writing a done-marker), and let the stage only trigger it and verify the artifact moved (mtime advanced / count > 0 — not an exit code or business_status). The heartbeat stays a cheap read-and-advance loop.
What gets installed:
| Artifact | Location | Purpose |
|---|---|---|
projects/<slug>/project.md |
agent repo | human-readable project description |
projects/<slug>/pipeline.yaml |
agent repo | canonical DAG definition (you edit this) |
projects/<slug>/instances/ |
agent repo | one subdir per tenant/zone (populate via /add-pipeline-instance) |
.claude/skills/pipeline-tick/ |
agent repo | the heartbeat — autonomous, scheduled |
.claude/skills/pipeline-status/ |
agent repo | operator view |
.claude/skills/pipeline-recover/ |
agent repo | operator override |
.claude/skills/pipeline-pause/ |
agent repo | operator pause |
.claude/skills/pipeline-resume/ |
agent repo | operator resume |
~/.trinity/pipelines/<slug>.yaml |
user home | write-through copy — Trinity's read surface |
~/.trinity/pipeline-state/<slug>/ |
user home | per-instance state, read by dashboards and other agents |
dashboard.yaml Pipelines section |
agent repo (if present) | table widget (Trinity's sections[]→widgets[] schema) — rows materialized by pipeline-tick each pass |
| heartbeat schedule | Trinity MCP (if available) | pipeline-<slug>-heartbeat cron */15 * * * * |
template.yaml schedules: entry |
agent repo (if present) | durable copy of the heartbeat — reconciled by /trinity:sync, read by fleet orchestrators (/discover-agents) |
What ships with it
7 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 4d ago First seen · 362 lines · 84 tokens per session scan A 4e870fb75e6a
add-pipeline is a skill published in the GitHub repository Abilityai/abilities (11 stars, last pushed 16d ago), licensed MIT. It adds 84 tokens to every session and 5,841 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.
brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.
auto-perf-optimize
Run agent-driven VS Code performance or memory investigations. Use when asked to launch Code OSS, automate a VS Code scenario, run the Chat memory smoke runner, capture renderer heap snapshots, take workflow screenshots, compare run summaries, or drive a repeatable scenario before heap-snapshot analysis.
chat-perf
Run chat perf benchmarks and memory leak checks against the local dev build or any published VS Code version. Use when investigating chat rendering regressions, validating perf-sensitive changes to chat UI, or checking for memory leaks in the chat response pipeline.
chat-pet-sprite-creation
Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.
cpu-profile-analysis
Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…