PolicyEngine

59 mods across 1 repository, 31 stars between them.

PolicyEngine/policyengine-claude

Agent

Stage-6 agent. Given a deviation signature (where the microsim disagrees with the prior), identifies the most likely calibration targets / imputed variables driving the gap. Reads Microcosm calibration targets and known-issues to produce a ranked diagnostic checklist. The single highest-expertise stage — converts…

31 7d ago A 71 tokens original MIT

microsim-runner

03

PolicyEngine/policyengine-claude

Agent

Runs a PolicyEngine microsimulation given a reform-dict and jurisdiction. Returns budgetary, poverty, distributional, and geographic impacts. Stripped of any tracker-specific DB-write logic — pure computation. Generalizes the legislative-tracker impact-calculator.

31 7d ago B 56 tokens original MIT

model-corroborator

04

PolicyEngine/policyengine-claude

Agent

Stage 5.5 of /analyze-policy. When the original reform has no exact-shape external comparator, runs the closest-shape externally-scored reforms through the PE model as "mirror-shape" validation runs. If the model reproduces the published external scores within ±25%, it corroborates the data calibration and lifts…

31 7d ago A 93 tokens original MIT

outcome-predictor

05

PolicyEngine/policyengine-claude

Agent

Independent reviewer for reform analyses. Mode 1 (predict) reads ONLY the reform provisions and predicts expected outcomes from first principles — before any PolicyEngine numbers exist. Mode 2 (interrogate) compares those blind predictions against the actual microsim results and classifies every divergence as a…

31 7d ago A 83 tokens original MIT

parameter-locator

06

PolicyEngine/policyengine-claude

Agent

Given a reform provision, locates the corresponding PolicyEngine parameter YAML path(s), checks current values, and emits a reform-dict snippet ready for the PolicyEngine API. Federal + state coverage. Generalizes the legislative-tracker param-mapper.

31 7d ago A 53 tokens original MIT

PolicyEngine/policyengine-claude

Agent

Fetches and analyzes policy text (legislative bills, executive orders, agency rules, ARPA-style proposals, white papers) and extracts the specific numeric/structural changes to tax and benefit programs. Generalizes the legislative-tracker bill-researcher to handle federal + state, draft + enacted, US + UK + Canada.

31 7d ago A 73 tokens original MIT

prior-scores-finder

08

PolicyEngine/policyengine-claude

Agent

Finds prior scored reforms to anchor a new analysis — PolicyEngine's own published scores first, then official fiscal notes (state legislative fiscal offices, JCT, CBO, CRFB), then think-tank analyses (Tax Foundation, ITEP, CBPP, TPC). Generalizes the legislative-tracker fiscal-finder by adding the PolicyEngine…

31 7d ago A 82 tokens original MIT

reform-classifier

10

PolicyEngine/policyengine-claude

Agent

Classifies a reform as PARAMETRIC (existing parameter edit), STRUCTURAL (needs new variable/formula logic), or NOT-POSSIBLE (out of model scope). The Stage-2 gate that decides whether to proceed with microsim or stop and write a "not modelable" note.

31 7d ago A 64 tokens original MIT

reform-comparator

11

PolicyEngine/policyengine-claude

Agent

Stage-5 comparator. Takes the microsim output and the prior-scores anchor, returns PASS (within expected band, write up the result) or INVESTIGATE (mismatch, trigger calibration-diagnostics). Normalizes single-year vs 10-year scores and accounts for dataset-version drift.

31 7d ago A 63 tokens original MIT

reform-describer

12

PolicyEngine/policyengine-claude

Agent

Generates a mechanical, neutral, non-advocacy description of a reform — both a 1-2 sentence summary and a structured provisions array grouped by program. Used for blog posts, dashboard descriptions, PR write-ups. Generalizes the legislative-tracker model-describer.

31 7d ago A 61 tokens original MIT

report-logger

13

PolicyEngine/policyengine-claude

Agent

Routes a completed /analyze-policy report to the right destination — local archive, GitHub issue, tracker DB, or research draft PR — based on verdict + flags. Country-aware routing (INVESTIGATE → country data repo issue, us → PolicyEngine/microcosm; structural → policyengine-{country} issue; everything → archive).

31 7d ago A 74 tokens original MIT

analyze-policy

14

PolicyEngine/policyengine-claude

Command

End-to-end policy analysis pipeline. Takes a reform (bill number, URL, or description), classifies whether it's modelable, finds prior PE scores, runs the microsim, compares to priors, and — if the run mismatches — diagnoses which calibration target is likely driving the gap.

31 7d ago A 0 tokens original MIT

audit-multizone

15

PolicyEngine/policyengine-claude

Command

Audit a PolicyEngine Next.js zone app for multi-zone compliance — basePath, assetPrefix, vercel.json, host rewrites, cross-zone links.

31 7d ago A 30 tokens original MIT

audit-seo

16

PolicyEngine/policyengine-claude

Command

Audit a web app's SEO in a single read-only pass — meta tags, Open Graph, canonical, crawlability, plus the PolicyEngine embed/canonical gotchas.

31 7d ago A 33 tokens original MIT

create-dashboard

19

PolicyEngine/policyengine-claude

Command

Multi-agent workflow that plans, scaffolds, and validates a multi-page policy analysis dashboard (map + reform sliders + charts). For a single-purpose calculator or embedded widget, use /new-tool instead.

31 7d ago A 40 tokens original MIT

create-pr

21

PolicyEngine/policyengine-claude

Command

Create PR as draft, wait for CI to pass, then mark ready for review (solves the "I'll check back later" problem).

31 7d ago A 28 tokens original MIT