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.
npx skills add PolicyEngine/policyengine-claude --skill policyengine-ukgit clone --depth 1 https://github.com/PolicyEngine/policyengine-claudeWrote 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.
[](https://agentmods.dev/skills/policyengine/policyengine-claude/policyengine-uk)<a href="https://agentmods.dev/skills/policyengine/policyengine-claude/policyengine-uk"><img src="https://agentmods.dev/badge/skills/policyengine/policyengine-claude/policyengine-uk/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.
<a href="https://agentmods.dev/skills/policyengine/policyengine-claude/policyengine-uk"><img src="https://agentmods.dev/badge/skills/policyengine/policyengine-claude/policyengine-uk.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00242 | $0.04385 |
| Opus 5.5 | $0.00097 | $0.01754 |
| Sonnet 5.5 | $0.00048 | $0.00877 |
| Haiku 4.5 | $0.00024 | $0.00439 |
Grade A, and why
policyengine-uk 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 20d 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.
How it starts
The opening of the file, as written. The whole thing — 357 lines — stays where its author put it; the contents beside it link to each section on GitHub.
PolicyEngine UK
UK-specific facts for the PolicyEngine Python stack. Read the policyengine skill first for
the canonical import policyengine as pe interface, the population flow
(ensure_datasets / Simulation / economic_impact_analysis), the MicroSeries discipline,
and dataset handling — this skill only carries what is different about the UK.
Verified against policyengine 4.21.0 + policyengine-uk 2.89.2 + policyengine-core 3.30.0
(2026-07). UK examples are not in the [us]-only CI verify set, so they carry no fast
<!-- verify --> marker; each was run manually in a policyengine[uk] environment.
Population examples may carry <!-- verify: slow -->.
Setup
The UK model is an extra — bare policyengine installs no country model:
uv pip install "policyengine[uk]" # UK model + certified UK data bundle metadata
Household calculations need no data download. Population runs need the UK dataset, which is a private Hugging Face repo — see "Population data" below.
Entity model — and the benunit trap
UK entities are person → benunit → household. There is no tax_unit and no
spm_unit / marital_unit / family — those are US entities. The single most common UK
mistake is reaching for result.tax_unit out of US habit; on a UK result it raises
AttributeError (verified: a UK result has person, benunit, household and no tax_unit).
| Concept | US entity | UK entity |
|---|---|---|
| Means-tested assessment unit | tax_unit (+ spm_unit) |
benunit (benefit unit) |
| Statistical unit for poverty | spm_unit / household |
household |
| Individual | person |
person |
A benefit unit is a single adult or a couple plus their dependent children — the DWP assessment unit for means-tested benefits (Universal Credit, Pension Credit, etc.). One household can contain several benunits (e.g. adult children living with parents). Read means-tested benefits at the benunit level, income tax and NI at the person level, and net income and poverty at the household level.
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.
- 20d ago Changed · +52 lines 9412b38c6878
- 25d ago Changed · +1 lines · +1 tokens per session 6228cb27671f
- 3mo ago First seen · 304 lines · 241 tokens per session scan A cfeb7c4b7d29
policyengine-uk is a skill published in the GitHub repository PolicyEngine/policyengine-claude (31 stars, last pushed yesterday), licensed MIT. It adds 242 tokens to every session and 4,385 once invoked, about $0.0010 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.
policyengine-uk compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| policyengine-ukPolicyEngine/policyengine-claude | Skill | 31 | yesterday | MIT | A | 242 | Claude Code |
| sector-rotationHKUDS/Vibe-Trading | Skill | 39k | yesterday | MIT | A | 39 | Claude Code, Codex |
| strategy-pivot-designertradermonty/claude-trading-skills | Skill | 9.4k | yesterday | MIT | A | 28 | Claude Code, Codex |
| twitter-readerhimself65/finance-skills | Skill | 3.6k | 28d ago | MIT | A | 110 | Claude Code |
| energy-procurementhashgraph-online/awesome-codex-plugins | Skill | 1.6k | yesterday | Apache-2.0 | A | 93 | Claude Code, Codex |
| airdrop-hunting-guidenirholas/three.ws | Skill | 289 | today | Apache-2.0 | A | 54 | Claude Code, Codex |
| multi-expert-analyzerdigoal/blog | Skill | 8.6k | today | GPL-2.0 | A | 292 | Codex |