pipeline

pipeline is a command for Claude Code from juanmhidalgo/claude-plugins. It costs 86 tokens per session (3,479 once invoked), scanned A, original, MIT.

An automated workflow for handling all feedback on an open GitHub pull request, which is a proposed code change awaiting review.

In plain words
What is it for?
Use it to validate pull-request feedback, dismiss incorrect comments, apply fixes, run checks, and stop when the configured validation cannot pass.
Why use it?
It removes the need to inspect, fix, test, and track every review comment manually in one pass.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions Claude Code.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the code-review plugin — 6 skills, 14 commands, 14 agents, 1 hook shipped together

Good fit Use it to validate pull-request feedback, dismiss incorrect comments, apply fixes, run checks, and stop when the configured validation cannot pass.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add juanmhidalgo/claude-plugins
Claude Code
/plugin install code-review

Made for: Claude Code.

Or install code-review, the plugin that ships this one along with the rest of its 6 skills, 14 commands, 14 agents, 1 hook.

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 pipeline

README.md
[![agentmods](https://agentmods.dev/badge/commands/juanmhidalgo/claude-plugins/pipeline/github.svg)](https://agentmods.dev/commands/juanmhidalgo/claude-plugins/pipeline)
Your own site
<a href="https://agentmods.dev/commands/juanmhidalgo/claude-plugins/pipeline"><img src="https://agentmods.dev/badge/commands/juanmhidalgo/claude-plugins/pipeline/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 pipeline

Your own site · 80×15
<a href="https://agentmods.dev/commands/juanmhidalgo/claude-plugins/pipeline"><img src="https://agentmods.dev/badge/commands/juanmhidalgo/claude-plugins/pipeline.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 86 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,479 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00086 $0.03479
Opus 5.5 $0.00034 $0.01392
Sonnet 5.5 $0.00017 $0.00696
Haiku 4.5 $0.00009 $0.00348

Measured 26d ago against content hash 34e6218c8b08, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

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 26d 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.

code-review/commands/pipeline.md · 259 lines

How it starts

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

Context

  • Repository: !git remote get-url origin
  • Current branch: !git branch --show-current
  • Arguments: !bash "${CLAUDE_PLUGIN_ROOT}/scripts/args.sh" '$ARGUMENTS'
  • Date: !date +%Y-%m-%d
  • Working tree clean: !git status --short

Phase 0: Validate

The Arguments line above is args.sh's parse of what the user typed: the PR number is positional[0] and the pane flag is pane (true for --pane, false for --no-pane, null for neither). An empty positional, or a positional[0] that is not a number: STOP with the line Pipeline stopped: no PR number given. With pane: true, that is all of Phase 0 here: the rest runs in the pane, against its worktree.

Otherwise run, once:

${CLAUDE_PLUGIN_ROOT}/scripts/pipeline-branch.sh enter <PR>

It checks the preconditions and puts this checkout on the PR's head. You do not need to be on the PR branch: from any branch with a clean tree it runs gh pr checkout, remembers where it was, and leave (the last step of every run, see Phase 8) brings the checkout back. On the PR branch but behind its head, it fast-forwards. It prints one JSON line (switched, original, fast_forwarded, head_ref, head_oid).

Every stop below begins the reply with the fixed line shown, then the script's stderr verbatim on the next lines. The line is fixed so that a person or a test can recognise the outcome without reading the rest.

Exit Meaning Do
0 Ready, HEAD is the PR head Continue. If switched is true, say first: Checkout: was on <original>, now on <head_ref>; it returns to <original> at the end.
2 Working tree not clean STOP: Pipeline stopped: working tree not clean. Commit or stash first. then the files from stderr
3 PR not open, or a draft STOP: Pipeline stopped: <stderr line> (e.g. Pipeline stopped: PR #42 is a draft)
4 gh-feedback not installed STOP: Pipeline stopped: gh-feedback is not installed. Run: gh extension install juanmhidalgo/gh-feedback
5 gh pr checkout failed STOP: Pipeline stopped: gh pr checkout failed. then its message. Nothing was changed
6 HEAD has commits the PR head lacks STOP: Pipeline stopped: HEAD has commits the PR head lacks; a push would carry them along with the fixes. then the stderr line. It already switched back if it had switched
7 git or gh failed STOP: Pipeline stopped: <stderr line>

Read the full file on GitHub · 259 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. 26d ago Changed · +82 lines 34e6218c8b08
  2. 1mo ago Changed · +1 lines 853ce9f6ad12
  3. 1mo ago Changed · +1 lines bb8b2baf3f1e
  4. 1mo ago Changed · +1 lines 8e4459365690
  5. 1mo ago Changed · +24 lines · +53 tokens per session b530ef44dcc7
  6. 2mo ago Changed · -5 lines cc239fd259a4
  7. 2mo ago Changed · +35 lines 4a7493f38e4c
  8. 3mo ago First seen · 120 lines · 33 tokens per session scan A 893abe9e32c4

Subscribe to this mod's changes

pipeline is a command published in the GitHub repository juanmhidalgo/claude-plugins (8 stars, last pushed 18d ago), licensed MIT. It adds 86 tokens to every session and 3,479 once invoked, about $0.0003 per session on Opus 5.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-31.

Related

pipeline compared with commands from other repositories

pipeline next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
pipelinejuanmhidalgo/claude-pluginsCommand818d agoMITA86Claude Code
speckit.spex.submitrhuss/cc-spexCommand122yesterdayApache-2.0A15Claude Code
merge-conflict-analysisrjmurillo/ai-agentsCommand50todayApache-2.0A0GitHub Copilot
pr-riskkumaran-is/claude-code-onboardingCommand37todayMITA0Claude Code
gitazrtydxb/procoderCommand21222d agoApache-2.0A20Claude Code
repo-audittractorjuice/arc-kitCommand2.3ktodaynoneA29Claude Code
factoryfelvieira/claude-skills-fvCommand2913d agoApache-2.0A47Claude Code