reform-pipeline

reform-pipeline is a command for coding agents from PolicyEngine/policyengine-claude. It costs 50 tokens per session (2,410 once invoked), scanned A, original, MIT.

A command that finds a policy proposal, analyzes and checks its likely effects, and publishes the result to a bill tracker or dashboard.

In plain words
What is it for?
It is for topics such as healthcare or tax changes, and can produce one-year or ten-year analyses with optional dry-run and publication settings.
Why use it?
It combines research, policy scoring, data checks, and publication into one workflow instead of requiring separate commands.

Command

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 commands/policyengine/policyengine-claude/reform-pipeline
Clone the repo
git clone --depth 1 https://github.com/PolicyEngine/policyengine-claude

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 reform-pipeline

README.md
[![agentmods](https://agentmods.dev/badge/commands/policyengine/policyengine-claude/reform-pipeline.svg)](https://agentmods.dev/commands/policyengine/policyengine-claude/reform-pipeline)
Your own site
<a href="https://agentmods.dev/commands/policyengine/policyengine-claude/reform-pipeline"><img src="https://agentmods.dev/badge/commands/policyengine/policyengine-claude/reform-pipeline.svg" alt="Measured on agentmods" height="20"></a>
Per session 50 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,410 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.1 $0.00050 $0.02410
Opus 5 $0.00025 $0.01205
Sonnet 5 $0.00010 $0.00482
Haiku 4.5 $0.00005 $0.00241

Measured 5d ago against content hash 9891a80a538c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

reform-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 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.

commands/reform-pipeline.md · 196 lines

How it starts

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

Reform Pipeline: $ARGUMENTS

The single-command version of the CRM research pipeline: discover → score → verify → publish, with confirmation gates inline instead of the Command Center. Use this when you want to drive the whole chain yourself for a topic ("healthcare", "child tax credit", "Utah income tax") rather than waiting for the newsroom's scheduled discovery.

Arguments

$ARGUMENTS should contain:

  • Topic or reform (required) — a policy area to scan for ("healthcare", "social security taxation"), OR a concrete reform/bill id ("UT SB60") to skip discovery and go straight to scoring.
  • Options:
    • --country {us|uk|ca} (default us)
    • --horizon {1|10} (default 1; 10-year adds 15-25 min of API compute)
    • --publish {auto|tracker|dashboard|none} (default auto — route by the standard rules; none stops after the verified analysis)
    • --auto-confirm — skip the confirmation gates (headless / CI use)
    • --dry-run — publication workflows run with dry_run=true (compute + validate, no Supabase writes / PRs / pushes)

Examples:

/reform-pipeline healthcare
/reform-pipeline "social security taxation" --publish dashboard --horizon 10
/reform-pipeline "UT SB60" --publish tracker --dry-run

Phase 0 — Clarify (skipped with --auto-confirm or when fully specified)

Before scanning anything, resolve what's underspecified with ONE AskUserQuestion round (ask only the questions the arguments left open — a concrete bill id leaves nothing to ask):

  1. Sources (multi-select): where should discovery look?
    • CRM newsroom (needs CRM_API_URL + CRM_API_TOKEN; only offer when reachable)
    • Web news search (last 14 days)
    • Bill trackers (congress.gov federal search; state bills named in coverage)
    • Default: all available.
  2. Scope (when the topic doesn't imply it): federal, a specific state, or either — this changes both where to look and the eventual publication route (state → tracker, federal → dashboard).
  3. Publication intent (when --publish wasn't passed): auto-route / bill tracker / dashboard / analysis only. Sets the --publish value.
  4. Recency window only if the user's phrasing suggests older material ("that bill from March") — default 14 days otherwise, don't ask.

Read the full file on GitHub · 196 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 · 196 lines · 50 tokens per session scan A 9891a80a538c

Subscribe to this mod's changes

reform-pipeline is a command published in the GitHub repository PolicyEngine/policyengine-claude (32 stars, last pushed 3d ago), licensed MIT. It adds 50 tokens to every session and 2,410 once invoked, about $0.0003 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.