policyengine-canada

policyengine-canada is a skill for Claude Code from PolicyEngine/policyengine-claude. It costs 214 tokens per session (1,747 once invoked), scanned A, original, MIT.

Guidance for calculating Canadian household tax and benefit outcomes with PolicyEngine, including its limits. PolicyEngine is a tool for estimating how policy changes affect people; this guidance covers Canada.

In plain words
What is it for?
Use it to analyze Canadian taxes and benefits such as the Canada Child Benefit, GST/HST credit, Canada Workers Benefit, Old Age Security, and provincial taxes for individual households.
Why use it?
It prevents using the wrong PolicyEngine interface or treating Canadian household calculations as national estimates. It clarifies when results such as total program cost or poverty rates cannot be produced.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: positional $N argument.

Part of the essential plugin — 5 skills shipped together , and of analysis-tools, complete

Good fit Use it to analyze Canadian taxes and benefits such as the Canada Child Benefit, GST/HST credit, Canada Workers Benefit, Old Age Security, and provincial taxes for individual households.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/policyengine/policyengine-claude/policyengine-canada
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.

Any agent
npx skills add PolicyEngine/policyengine-claude --skill policyengine-canada
Clone the repo
git clone --depth 1 https://github.com/PolicyEngine/policyengine-claude

Made for: Claude Code.

Or install essential, the plugin that ships this one along with the rest of its 5 skills.

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 policyengine-canada

README.md
[![agentmods](https://agentmods.dev/badge/skills/policyengine/policyengine-claude/policyengine-canada/github.svg)](https://agentmods.dev/skills/policyengine/policyengine-claude/policyengine-canada)
Your own site
<a href="https://agentmods.dev/skills/policyengine/policyengine-claude/policyengine-canada"><img src="https://agentmods.dev/badge/skills/policyengine/policyengine-claude/policyengine-canada/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for policyengine-canada

Your own site · 80×15
<a href="https://agentmods.dev/skills/policyengine/policyengine-claude/policyengine-canada"><img src="https://agentmods.dev/badge/skills/policyengine/policyengine-claude/policyengine-canada.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 214 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,747 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00214 $0.01747
Opus 5.5 $0.00086 $0.00699
Sonnet 5.5 $0.00043 $0.00349
Haiku 4.5 $0.00021 $0.00175

Measured 2mo ago against content hash 1cfce3ec9345, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

policyengine-canada 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 2mo 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.

skills/policyengine-canada/SKILL.md · 128 lines

How it starts

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

PolicyEngine Canada domain knowledge

Canada is the exception to the standard PolicyEngine stack. Read this before writing any Canadian analysis — the entry points and the limits are different from the US/UK.

Verified against policyengine-canada 0.99.0 (2026-07), installed standalone. Do not hardcode benefit amounts; look them up live (below), because provincial and federal parameters re-index every year.

Two hard constraints

1. pe.ca does not exist. The policyengine wrapper ships US and UK only; there is no pe.ca. Use the policyengine_canada package directly.

import policyengine as pe
assert not hasattr(pe, "ca")   # Canada is not in the policyengine wrapper

2. Canada is household-only — there is no representative microdata. The package ships a small synthetic template, not a survey-weighted population sample. So you cannot run population microsimulation, and you cannot produce national program costs, revenue estimates, caseloads, or poverty rates for Canada. If asked "what would this cost nationally" or "how many families benefit," say that population estimates are not available for Canada and offer a household example. What you can do: compute taxes/benefits for a specific family, compare baseline vs. reform for that family, sweep it across an income range, and compare provinces.

One household calculation

Install the package on its own (it is not in the shared analysis venv), then build a situation and use policyengine_canada.Simulation. Values below verified against 0.99.0.

uv pip install policyengine-canada
from policyengine_canada import Simulation

sim = Simulation(situation={
    "people": {
        "parent1": {"age": {"2026": 35}, "employment_income": {"2026": 45_000}},
        "parent2": {"age": {"2026": 33}, "employment_income": {"2026": 20_000}},
        # full_custody defaults to False, which HALVES the CCB (see gotcha below):
        "child1": {"age": {"2026": 4}, "full_custody": {"2026": True}},
        "child2": {"age": {"2026": 9}, "full_custody": {"2026": True}},
    },
    "households": {"household": {
        "members": ["parent1", "parent2", "child1", "child2"],
        "province_code": {"2026": "ONT"},   # note: "ONT" for Ontario, "QC" for Quebec
    }},
})
assert round(float(sim.calculate("child_benefit", 2026)[0]), 2) == 11_030.75   # federal CCB
assert float(sim.calculate("adjusted_family_net_income", 2026)[0]) == 65_000    # AFNI

Read the full file on GitHub · 128 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. 2mo ago First seen · 128 lines · 214 tokens per session scan A 1cfce3ec9345

Subscribe to this mod's changes

policyengine-canada is a skill published in the GitHub repository PolicyEngine/policyengine-claude (31 stars, last pushed yesterday), licensed MIT. It adds 214 tokens to every session and 1,747 once invoked, about $0.0009 per session on Opus 5.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.

Related

policyengine-canada compared with skills from other repositories

policyengine-canada next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
policyengine-canadaPolicyEngine/policyengine-claudeSkill31yesterdayMITA214Claude Code
sector-rotationHKUDS/Vibe-TradingSkill38ktodayMITA39Claude Code, Codex
strategy-pivot-designertradermonty/claude-trading-skillsSkill3.7ktodayMITA28Claude Code, Codex
twitter-readerhimself65/finance-skillsSkill3.5k5d agoMITA110Claude Code
energy-procurementhashgraph-online/awesome-codex-pluginsSkill1.5ktodayApache-2.0A93Claude Code, Codex
airdrop-hunting-guidenirholas/three.wsSkill273todayApache-2.0A54Claude Code, Codex
alpaca-broker-reconciliation-idempotencyalpacahq/alpaca-skillsSkill1663d agoApache-2.0A83Claude Code, Codex