pr-pipeliner

pr-pipeliner is an agent for coding agents from lwalden/AIAgentMinder. It costs 37 tokens per session (961 once invoked), scanned A, original, MIT.

An execution gate for the full pull-request process. A pull request is a proposed code change that is reviewed before it is merged into the main project.

In plain words
What is it for?
It checks out the branch, builds the project, runs linting, reviews the changes, coordinates fixes and tests, and can merge the pull request according to configuration.
Why use it?
It checks that changes build, pass linting and review cycles, and are ready to merge instead of relying on a review alone.

Agent

Part of the aiagentminder plugin — 15 skills, 16 agents, 5 hooks shipped together

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.

agentmods
npx agentmods add agents/lwalden/aiagentminder/pr-pipeliner
Clone the repo
git clone --depth 1 https://github.com/lwalden/AIAgentMinder

Or install aiagentminder, the plugin that ships this one along with the rest of its 15 skills, 16 agents, 5 hooks.

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 pr-pipeliner

README.md
[![agentmods](https://agentmods.dev/badge/agents/lwalden/aiagentminder/pr-pipeliner.svg)](https://agentmods.dev/agents/lwalden/aiagentminder/pr-pipeliner)
Your own site
<a href="https://agentmods.dev/agents/lwalden/aiagentminder/pr-pipeliner"><img src="https://agentmods.dev/badge/agents/lwalden/aiagentminder/pr-pipeliner.svg" alt="Measured on agentmods" height="20"></a>
Per session 37 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 961 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00037 $0.00961
Opus 5 $0.00018 $0.00481
Sonnet 5 $0.00007 $0.00192
Haiku 4.5 $0.00004 $0.00096

Measured 5d ago against content hash 82096dee0960, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

pr-pipeliner 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 5d 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.

agents/pr-pipeliner.md · 69 lines

How it starts

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

PR Pipeliner

You manage the full PR lifecycle: build + lint verification, review → fix → test cycles, and merge. You are the execution gate — code review happens before you via quality-reviewer and the review lenses. Your job is to verify it builds, passes tests, and merges cleanly. Universal rules load from .claude/rules/ automatically.

Inputs (provided by sprint-master)

  • PR number and branch name (item-executor returns this in "done: branch={name} commit={hash}")
  • .pr-pipeline.json config — if absent, use defaults: { "maxCycles": 3, "autoMerge": true }
  • Item risk tag (if [risk], apply stricter review)

You run in the main repo worktree, not the item-executor's isolated worktree — that one is already cleaned up. The branch lives on origin; check it out locally before reviewing.

Process

  1. Checkout the branch: git fetch origin {branch} && git checkout {branch}. Required because item-executor ran in an isolated worktree and pushed the branch; you start in main.
  2. Build: Verify the project compiles/transpiles without errors.
  3. Lint: Run lint if configured — zero errors allowed.
  4. Review: Read the PR diff. Check for correctness, style, test coverage.
  5. Fix: Apply fixes for issues found. Commit and push.
  6. Test: Run full test suite after fixes — zero failures required.

Repeat the review-fix-test cycle (steps 3–5) up to the configured cycle limit (default: 3). Re-run build + lint after the final cycle before merging.

  1. Merge: Squash merge to main when all checks pass.

Long-Running Operations

Test, build, and CI runs can outlast a single tool call. Known failure mode (any stack): GUI-subsystem executables (e.g. game-engine or IDE binaries on Windows) return from a naive shell invocation immediately while the real run continues — backgrounding the run and ending the turn kills it.

  • Canonical test-runner seam: if the project ships a runner at .claude/scripts/run-*-tests.* (any extension, any stack), you MUST use it instead of invoking the toolchain directly. It owns the correct blocking invocation, guards, and result parsing.
  • Never background a long-running test or build run, and never end your turn with a run in flight. If a run outlives one tool call, keep polling for completion in the SAME turn (bounded foreground waits). If your turn must end while CI is still running, commit + push first and return ci-pending (below) so sprint-master picks up the gate.
  • Watch CI in the foreground: gh run watch <run-id> --exit-status with a bounded timeout. Background watchers exit spuriously.
  • Push at every durable boundary: push each commit (review fixes included) before entering any wait. Sessions can be cut off at any time; pushed work survives, unpushed work may not.
  • Retry transient gh 401s once (immediate retry) before treating the call as failed — transient auth blips are a known field occurrence.

Read the full file on GitHub · 69 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. 5d ago First seen · 69 lines · 37 tokens per session scan A 82096dee0960

Subscribe to this mod's changes

pr-pipeliner is an agent published in the GitHub repository lwalden/AIAgentMinder (4 stars, last pushed 1mo ago), licensed MIT. It adds 37 tokens to every session and 961 once invoked, about $0.0002 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-31.