policyengine-canada
БесплатноБез исполняемых скриптовНе проверенALWAYS LOAD THIS SKILL FIRST before writing any PolicyEngine-Canada code. Contains Canadian federal and provincial tax/benefit rules for household…
от FDU-INS★ 84 звезды на GitHubОб этом скилле
PolicyEngine-Canada
IMPORTANT: Always use the current year (2026) in calculations, not 2024 or 2025.
No Microsimulation for Canada
PolicyEngine-Canada does NOT have representative population microdata. The only available dataset is a tiny template with 3 synthetic people. This means:
- Do NOT use
Microsimulation()frompolicyengine_canadafor population-level estimates - Do NOT attempt to calculate aggregate costs, revenue impacts, or poverty rates for Canada
- Only provide household-level analysis: calculate impacts for specific families using
Simulation - If the user asks "what would X cost nationally" or "how many families would benefit", explain that population-level estimates are not currently available for Canada and offer a household example instead
What you CAN do
- Calculate benefits/taxes for a specific household (income, province, family composition)
- Compare baseline vs. reform for a single family
- Show how benefits change across an income range
- Compare provinces for a given household
PolicyEngine-Canada models the Canadian federal and provincial tax and benefit system.
What it models:
Federal taxes:
- Federal income tax (5 brackets)
- Canada Pension Plan (CPP/CPP2) contributions
- Employment Insurance (EI) premiums
Federal benefits:
- Canada Child Benefit (CCB)
- GST/HST Credit
- Canada Workers Benefit (CWB)
- Old Age Security (OAS)
- Guaranteed Income Supplement (GIS)
- Climate Action Incentive Payment (CAIP)
Provincial programs (varies by province):
- Provincial income tax (all provinces and territories)
- Ontario Child Benefit (OCB)
- Ontario Trillium Benefit (OTB)
- BC Climate Action Tax Credit
- Alberta Child and Family Benefit
- Quebec-specific programs (QST, QPP, etc.)
See full list: https://policyengine.org/ca/parameters
Key Federal Programs — Rules Reference
Canada Child Benefit (CCB) — 2025–2026
The CCB is a tax-free monthly payment to eligible families with children under 18.
Maximum amounts (July 2025 – June 2026):
- Under 6: $7,997/child/year ($666.41/month)
- Ages 6–17: $6,748/child/year ($562.33/month)
Phase-out structure: The CCB is reduced based on adjusted family net income (AFNI) using two thresholds.
Threshold 1: $37,487
| Number of children | Reduction rate (AFNI $37,487–$79,845) |
|---|---|
| 1 child | 7.0% |
| 2 children | 13.5% |
| 3 children | 19.0% |
| 4+ children | 23.0% |
Threshold 2: $79,845
| Number of children | Reduction rate (AFNI above $79,845) |
|---|---|
| 1 child | 3.2% |
| 2 children | 5.7% |
| 3 children | 8.0% |
| 4+ children | 9.5% |
Child Disability Benefit (CDB) supplement:
- Up to $3,411/year ($284.25/month) per child eligible for the Disability Tax Credit
- Reduced at 3.2% of AFNI above $79,845 (1 child), 5.7% (2+ children)
CCB calculation formula:
For each income range:
CCB = sum(max_amount per child) - reduction
If AFNI <= $37,487: no reduction
If $37,487 < AFNI <= $79,845:
reduction = rate_tier1 × (AFNI - $37,487)
If AFNI > $79,845:
reduction = rate_tier1 × ($79,845 - $37,487) + rate_tier2 × (AFNI - $79,845)
Example calculation — 2 children (ages 3, 8), AFNI = $80,000:
Max CCB = $7,997 (under 6) + $6,748 (6-17) = $14,745
Tier 1 reduction = 13.5% × ($79,845 - $37,487) = 13.5% × $42,358 = $5,718
Tier 2 reduction = 5.7% × ($80,000 - $79,845) = 5.7% × $155 = $9
Total reduction = $5,727
CCB = $14,745 - $5,727 = $9,018/year
Federal Income Tax — 2026
Tax brackets:
| Taxable income | Rate |
|---|---|
| Up to $57,375 | 15% |
| $57,375 – $114,750 | 20.5% |
| $114,750 – $158,468 | 26% |
| $158,468 – $220,000 | 29% |
| Over $220,000 | 33% |
Basic personal amount (BPA): $16,129 (2026, indexed)
Note: Bracket thresholds are indexed annually to inflation. Check CRA for exact 2026 values.
GST/HST Credit — 2025–2026
Tax-free quarterly payment for low/modest-income individuals and families.
Maximum amounts (July 2025 – June 2026):
- Single: $340/year
- Married/common-law: $340 + $179 for spouse = $519
- Per child under 19: $179
Phase-out:
- Begins at family net income of $44,530
- Reduction rate: 5% of income above threshold
Canada Workers Benefit (CWB) — 2026
Refundable tax credit for low-income workers.
Single individuals:
- Maximum: ~$1,590
- Phase-in: 27% of working income above $3,000
- Phase-out: 15% of net income above ~$24,975
Families:
- Maximum: ~$2,739
- Phase-in: 27% of working income above $3,000
- Phase-out: 15% of family net income above ~$28,494
Disability supplement:
- Additional ~$784 for CWB-eligible individuals with the Disability Tax Credit
Old Age Security (OAS) — 2026
Monthly pension for seniors 65+.
Maximum amounts (Q1 2026):
- Ages 65–74: ~$727.67/month ($8,732/year)
- Ages 75+: ~$800.44/month ($9,605/year)
OAS recovery tax (clawback):
- Threshold: ~**$90
Установить policyengine-canada в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл policyengine-canada?
ALWAYS LOAD THIS SKILL FIRST before writing any PolicyEngine-Canada code. Contains Canadian federal and provincial tax/benefit rules for household calculations. IMPORTANT: PolicyEngine-Canada does NOT have representative population microdata. Do NOT attempt microsimulation or population-level estimates for Canada. Only provide household-level analysis (single-family impacts, eligibility, benefit amounts). Triggers: "what would", "how much would a", "benefit be", "eligible for", "qualify for", "single parent", "married couple", "family of", "household of", "if they earn", "earning $", "making $", "calculate benefits", "calculate taxes", "benefit for a", "what would I get", "what is the maximum", "what is the rate", "income limit", "benefit amount", "maximum benefit", "compare provinces", "CCB", "Canada Child Benefit", "GST credit", "HST credit", "GST/HST", "OAS", "Old Age Security", "GIS", "Guaranteed Income Supplement", "CWB", "Canada Workers Benefit", "EI", "Employment Insurance", "CPP", "Canada Pension Plan", "RRSP", "TFSA", "Ontario Child Benefit", "OCB", "Ontario Trillium Benefit", "OTB", "BC Climate Action", "Alberta Child Benefit", "Quebec", "CRA", "Canada Revenue Agency", "Canadian", "Canada", "Ontario", "British Columbia", "Alberta", "Saskatchewan", "Manitoba", "Nova Scotia", "New Brunswick", "PEI", "Newfoundland", "Yukon", "NWT", "Nunavut", "provincial tax", "federal tax Canada".
Как установить скилл policyengine-canada?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл policyengine-canada запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic