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 ProteusLLP/proteusllp-actuarial-library --skill pal-modelinggit clone --depth 1 https://github.com/ProteusLLP/proteusllp-actuarial-libraryWrote 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/proteusllp/proteusllp-actuarial-library/pal-modeling)<a href="https://agentmods.dev/skills/proteusllp/proteusllp-actuarial-library/pal-modeling"><img src="https://agentmods.dev/badge/skills/proteusllp/proteusllp-actuarial-library/pal-modeling/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/proteusllp/proteusllp-actuarial-library/pal-modeling"><img src="https://agentmods.dev/badge/skills/proteusllp/proteusllp-actuarial-library/pal-modeling.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.00048 | $0.00891 |
| Opus 5.5 | $0.00019 | $0.00356 |
| Sonnet 5.5 | $0.00010 | $0.00178 |
| Haiku 4.5 | $0.00005 | $0.00089 |
Grade A, and why
pal-modeling 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 16d 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 — 78 lines — stays where its author put it; the contents beside it link to each section on GitHub.
PAL modelling skill
Use this skill when the user requests Python actuarial modelling with PAL.
The PyPI package is proteusllp-actuarial-library; import it as pal.
Discover, then write
- Check whether PAL is installed and inspect the local version rather than assuming the newest documentation matches the environment.
- When a task is familiar, search the packaged, executable recipes first:
Run and adapt a relevant recipe; do not invent a method or import path.from pal import api matches = api.recipes("price excess of loss layer") source = api.recipe(matches[0]["id"])["code"] - For an unfamiliar class, use
api.search("keyword")andapi.describe("pal.distributions.Gamma"). Verify constructor parameter names, meaning, units and the supported return type from the installed version. Consult the PAL cookbook and the API reference. - Use
from pal import StochasticScalar, ProteusVariable, FreqSevSims, FrequencySeverityModelfor core classes andfrom pal.distributions import Gamma,from pal.contracts import XoL, etc. for domain classes. - Produce a runnable program with a deterministic seed, a manageable initial simulation count, and tests or assertions that express the mathematical result and coupling relationships.
Essential actuarial semantics
- Gamma's
thetais a scale, not a rate; LogNormal'smuandsigmaparameterise the logarithm of loss. - A
StochasticScalarhas one value per simulation. AFreqSevSimscontains claim-level values and an index mapping them to simulations. Use.aggregate()or.occurrence()for annual summaries. - Operate on PAL stochastic variables, rather than extracting, reordering and reconstructing raw NumPy arrays. PAL's coupling groups preserve upstream dependencies, including after applying copulas.
- A copula applied to generated marginals alters their joint dependence without altering their individual values.
- Model a policy-limited large-loss observation as right-censored if the loss hits the limit. Reporting thresholds lead to left truncation. Fitting by MLE and plugging in estimates does not account for parameter uncertainty.
- Check whether the model is an occurrence/claim layer or aggregate contract; technical expected recovery alone is not a market premium.
- PAL can run with CuPy when
PAL_USE_GPU=1is configured before import; avoid unnecessary host copies. RQMC changes the sampler, not the model, and uncertainty estimates require independent scrambles.
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.
- 16d ago First seen · 78 lines · 48 tokens per session scan A 43386dac582a
pal-modeling is a skill published in the GitHub repository ProteusLLP/proteusllp-actuarial-library (12 stars, last pushed yesterday), licensed MIT. It adds 48 tokens to every session and 891 once invoked, about $0.0002 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-11-20.
pal-modeling compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| pal-modelingProteusLLP/proteusllp-actuarial-library | Skill | 12 | yesterday | MIT | A | 48 | Claude Code, Codex |
| insurance-expertpersonamanagmentlayer/pcl | Skill | 47 | 1mo ago | Apache-2.0 | A | 65 | Claude Code |
| transcribe-filingvadim-filimonov/openrater | Skill | 0 | 4mo ago | Apache-2.0 | A | 102 | Claude Code, Codex |
| monte-carloPlanExeOrg/PlanExe | Skill | 405 | today | MIT | A | 71 | Claude Code |
| neqsim-integrated-production-and-lifecycleequinor/neqsim | Skill | 179 | today | Apache-2.0 | A | 98 | Claude Code, Codex |
| neqsim-utility-designequinor/neqsim | Skill | 179 | today | Apache-2.0 | A | 114 | Claude Code, Codex |
| fin-paper-figurecsmar432/finai-research | Skill | 112 | 5d ago | MIT | A | 58 | Claude Code, Codex |