policyengine-healthcare
БесплатноБез исполняемых скриптовНе проверенHealthcare program modeling in PolicyEngine-US — Medicaid, ACA marketplace, CHIP, and Medicare. Covers encoding rules, running analyses, and navigating the…
от FDU-INS★ 84 звезды на GitHubОб этом скилле
PolicyEngine healthcare programs
Scope: This skill covers the healthcare domain — Medicaid, ACA marketplace, CHIP, and Medicare as modeled in PolicyEngine-US. For general PolicyEngine-US patterns, see the
policyengine-usskill. For variable/parameter implementation patterns, see thepolicyengine-variable-patternsandpolicyengine-parameter-patternsskills.
For users
What healthcare programs does PolicyEngine model?
PolicyEngine-US models four interconnected healthcare programs:
| Program | What it does | Key variable |
|---|---|---|
| Medicaid | Free/low-cost coverage for low-income individuals | medicaid |
| ACA marketplace | Subsidized private insurance via premium tax credits | aca_ptc |
| CHIP | Children's health coverage above Medicaid thresholds | per_capita_chip |
| Medicare | Coverage for seniors and disabled individuals | medicare |
These programs are mutually exclusive by design — Medicaid eligibility disqualifies you from ACA subsidies, and CHIP covers children who don't qualify for Medicaid. This interconnection is a key modeling challenge.
Why healthcare is different from other benefits
Most benefit programs (SNAP, TANF, EITC) have a single income test and a single benefit amount. Healthcare programs are different:
- 9 eligibility categories for Medicaid alone (infant, young child, older child, young adult, adult expansion, parent, pregnant, SSI recipient, senior/disabled)
- 51 different Medicaid programs — every state sets its own income limits and rules
- ~500 ACA rating areas — premiums vary by geographic zone, not just by state
- Actuarial calculations — ACA subsidies depend on the second-lowest silver plan premium in your area, adjusted by age
- Program interactions — losing Medicaid doesn't automatically mean gaining ACA access (the "coverage gap")
For analysts
Healthcare variables reference
Medicaid
| Variable | Entity | Description |
|---|---|---|
medicaid |
person | Annual Medicaid benefit amount |
is_medicaid_eligible |
person | Overall eligibility (combines all checks) |
medicaid_enrolled |
person | Actually enrolled (eligibility x take-up) |
medicaid_category |
person | Enum: SSI_RECIPIENT, INFANT, YOUNG_CHILD, OLDER_CHILD, PREGNANT, PARENT, YOUNG_ADULT, ADULT, SENIOR_OR_DISABLED, NONE |
medicaid_income_level |
person | Person's tax unit MAGI as fraction of FPL |
medicaid_magi |
tax_unit | Modified AGI for Medicaid (= AGI + state additions) |
takes_up_medicaid_if_eligible |
person | Pseudo-random take-up flag (default rate: 93%) |
medicaid_cost |
person | Per-capita cost by eligibility group and state |
medicaid_federal_share |
person | Applicable FMAP: 90% for expansion adults (42 USC 1396d(y)), state regular FMAP otherwise (42 USC 1396d(b)) |
medicaid_federal_cost |
person | Federal portion of medicaid_cost (= cost × FMAP) |
medicaid_state_cost |
person | State portion of medicaid_cost (= cost × (1 − FMAP)) |
ACA marketplace
| Variable | Entity | Description |
|---|---|---|
aca_ptc |
tax_unit | Annual premium tax credit amount |
is_aca_ptc_eligible |
person | PTC eligibility (income 100-400%+ FPL, no other coverage) |
aca_magi |
tax_unit | Delegates to medicaid_magi via adds = ["medicaid_magi"] |
aca_magi_fraction |
tax_unit | Income as percentage of FPL |
aca_required_contribution_percentage |
tax_unit | Household's required premium contribution rate |
slcsp |
tax_unit | Second-lowest silver plan premium (monthly, definition_period=MONTH). Returns $0 for ineligible people — the model skips the calculation when someone doesn't qualify for ACA. To get the unsubsidized benchmark premium regardless of eligibility, look at the underlying rating area cost parameters directly. |
takes_up_aca_if_eligible |
tax_unit | Take-up flag (default rate varies) |
CHIP
| Variable | Entity | Description |
|---|---|---|
per_capita_chip |
person | CHIP benefit per capita |
chip |
person | Annual CHIP benefit (= per_capita_chip when enrolled) |
is_chip_eligible |
person | CHIP eligibility (requires ~is_medicaid_eligible — mutually exclusive with Medicaid) |
chip_category |
person | Enum: CHILD, PREGNANT_STANDARD, PREGNANT_FCEP, NONE |
chip_federal_share |
person | Enhanced FMAP per 42 USC 1397ee(b): min(FMAP + 30% × (1 − FMAP), 0.85) |
chip_federal_cost |
person | Federal portion of chip (= chip × eFMAP) |
chip_state_cost |
person | State portion of chip (= chip × (1 − eFMAP)) |
Cross-program federal/state attribution
For consumer-facing fiscal impact analysis, aggregate variables sum across all programs with federal/state attribution (currently Medicaid and CHIP; will extend as SNAP, TANF, etc. get attribution):
| Variable | Entity | Description |
|---|
Установить policyengine-healthcare в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл policyengine-healthcare?
Healthcare program modeling in PolicyEngine-US — Medicaid, ACA marketplace, CHIP, and Medicare. Covers encoding rules, running analyses, and navigating the unique complexity of US healthcare programs. Triggers: "healthcare", "health insurance", "Medicaid", "ACA", "CHIP", "Medicare", "marketplace", "premium tax credit", "APTC", "PTC", "SLCSP", "benchmark plan", "rating area", "age curve", "family tier", "coverage gap", "Medicaid expansion", "MAGI", "medicaid_magi", "aca_magi", "medicaid_income_level", "medicaid_category", "enrollment", "takeup", "take-up", "per capita", "CSR", "cost sharing", "insurance premium", "second lowest silver", "required contribution percentage", "42 CFR", "IRC 36B", "categorical eligibility", "expansion adult", "healthcare reform", "healthcare analysis", "health policy".
Как установить скилл policyengine-healthcare?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл policyengine-healthcare запускает скрипты?
Нет, скилл состоит только из инструкций (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