policyengine-uk

Create standardized PolicyEngine-UK situation dictionaries for tax and benefit microsimulations.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

PolicyEngine-UK provides reusable patterns to model UK tax and benefit rules, enabling fast, transparent microsimulations without rebuilding logic for every reform.

Core Features & Use Cases

  • Direct tax and benefit modeling: Handles UK income tax, National Insurance, council tax, and Universal Credit across devolved regions.
  • Situation builders: Utilities to create household situations programmatically.
  • Use Case: Compare reforms across Scotland, Wales, and England with consistent inputs.

Quick Start

Create a simple one-person situation in LONDON and run a basic income tax calculation.

Frequently Asked Questions about policyengine-uk

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

FAQPage Schema
How do I model UK tax and benefit calculations for different household scenarios?

UK tax and benefit microsimulation creates standardized situation dictionaries representing households with income, family structure, and region to calculate tax liabilities, National Insurance, council tax, and Universal Credit outcomes. PolicyEngine-UK provides pre-built utilities to construct these scenarios programmatically across England, Scotland, and Wales without rebuilding tax logic.

Can I test policy reforms across different UK regions with the same input data?

Yes. PolicyEngine-UK situations conform to technical rules including year-key dictionaries, ITL1 region validation, and nested structures for people, benefit units, and households, enabling consistent reform comparisons across devolved nations and regions with standardized inputs.

What's the best way to build household situations programmatically for microsimulation?

PolicyEngine-UK provides situation builders—helper functions to add incomes and create single-person, couple, and family-with-children scenarios. These utilities generate properly formatted dictionaries ready for income and benefit calculations without manual dictionary construction.

Do I need to understand PolicyEngine's internal tax rules to run microsimulations?

No. PolicyEngine-UK abstracts tax and benefit logic into reusable patterns and situation builders. You define household composition, income, and region; the Skill handles income tax, National Insurance, council tax, and Universal Credit calculations transparently.

What happens if I want to sweep multiple scenarios or test policy variations?

PolicyEngine-UK situations enable scenario sweeps—batch processing across parameter ranges like income levels or family structures—to compare outcomes systematically. The standardized dictionary format allows programmatic scenario generation and bulk microsimulation tasks.

Why use PolicyEngine-UK instead of building tax logic from scratch?

PolicyEngine-UK encodes tested UK tax and benefit rules, eliminating rebuilds for each reform or scenario. Standardized situation dictionaries ensure consistency across analyses, and helper functions accelerate household modeling so you focus on policy questions instead of implementation.