policyengine-analysis

Quantify policy reform impacts across income distributions using PolicyEngine microsimulation.

31|6|Updated Oct 19, 2025
One-click install
npx skills add https://github.com/PolicyEngine/policyengine-claude --skill policyengine-analysis
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: policyengine-analysis
Source: https://github.com/PolicyEngine/policyengine-claude/tree/main/skills/policyengine-analysis-skill
Command: npx skills add https://github.com/PolicyEngine/policyengine-claude --skill policyengine-analysis

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pandas, numpy, plotly, policyengine-us, and includes scripts (resource) components.

What problem does it solve?

Creating robust, reproducible policy impact analyses, interactive dashboards, and research reports requires consistent patterns and best practices. This Skill provides a structured framework for PolicyEngine-based research, saving you time on setup and ensuring high-quality outputs.

Core Features & Use Cases

  • Impact Analysis Patterns: Standardized approaches for analyzing policy impacts across income distributions, household-level case studies, and state-by-state comparisons.
  • Visualization Templates: Pre-configured Plotly and Streamlit patterns for creating branded, clear, and impactful charts and dashboards.
  • Marginal Analysis: Identify winners and losers from policy changes with clear, quantitative metrics.
  • Use Case: Analyze a proposed Child Tax Credit expansion, generating a report that includes its impact across income deciles, specific household examples, and a branded Plotly chart ready for publication.

Quick Start

Use the policyengine-analysis skill to analyze the impact of a CTC expansion on a single parent with two children earning $50,000 in California.

Frequently Asked Questions about policyengine-analysis

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I quantify the impact of a policy reform across income distributions?

Policy impact analysis uses microsimulation to model how reforms affect households at different income levels. This skill applies PolicyEngine's simulation engine to calculate changes in taxes, credits, and net income across income deciles, revealing distributional effects and identifying winners and losers from proposed policy changes.

Can I use Plotly and Streamlit to build policy dashboards?

Yes. This skill provides pre-configured visualization templates for Plotly charts and Streamlit dashboards designed for policy research. You can create branded, publication-ready dashboards that display reform impacts, household case studies, and comparative analysis across income ranges and geographic regions.

How do I analyze household-level policy impacts with a microsimulation model?

Household-level analysis extracts specific tax, credit, and income metrics using PolicyEngine's variable catalog, then applies them to individual or representative households. This skill standardizes the workflow to compute metrics like income_tax, ctc, and household_net_income for case studies, state-by-state comparisons, and parametric reforms.

What's the best way to structure a reproducible policy research workflow?

This skill provides standardized patterns for parameter-based and structural reforms, ensuring consistent setup, simulation execution, and output generation. It covers data extraction from PolicyEngine catalogs, computation of reform impacts, and export of results ready for notebooks, dashboards, and research reports.

Does this work for UK and US policy analysis?

The skill is designed for PolicyEngine microsimulation projects, with core support for policyengine-us. The framework applies to both baseline and reform simulations across different jurisdictions, supporting comparative analysis and region-specific dashboards where PolicyEngine coverage exists.

What dependencies do I need to run policy impact analyses?

Core dependencies include pandas for data handling, numpy for computation, plotly for visualization, and policyengine-us for microsimulation. These tools provide the data processing, numerical analysis, and reform simulation engine needed to compute and visualize policy impacts.