You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A growing number of users interact with Python libraries through AI coding assistants (Claude Code, Cursor, Codex, Gemini, etc.). When asked to perform chainladder tasks ("estimate ultimate losses on this triangle", "fit a Mack chainladder", "produce a development pattern"), these assistants currently rely on whatever they happen to know from training data, which is often outdated or incomplete.
A dedicated "Agent Skill" (a structured markdown file describing chainladder workflows in a format consumable by any AI assistant) would let users and their AI tools reliably reproduce the canonical chainladder workflow from data load to ultimate estimate.
What an Agent Skill is
Agent Skills are vendor-neutral markdown documents (typically named SKILL.md or similar) that describe how to use a library: setup, common tasks, code templates, and links to deeper docs. Claude Code, Cursor, Codex, and others consume them via convention. Some tooling (e.g. Posit's Great Docs) generates them automatically.
Proposed structure
A single SKILL.md (or .claude/skills/chainladder/SKILL.md for the Claude-specific path) at the repo root or in a dedicated skills/ directory, covering:
Setup: install via uv / pixi / pip; import conventions
Core workflow, end to end:
Load a triangle (built-in samples and custom DataFrames)
Inspect grain, shape, latest diagonal
Fit a development pattern (volume-weighted, simple, etc.)
Apply tail factors
Produce ultimate estimates (Chainladder, BornhuetterFerguson, CapeCod, MackChainladder)
Motivation
A growing number of users interact with Python libraries through AI coding assistants (Claude Code, Cursor, Codex, Gemini, etc.). When asked to perform chainladder tasks ("estimate ultimate losses on this triangle", "fit a Mack chainladder", "produce a development pattern"), these assistants currently rely on whatever they happen to know from training data, which is often outdated or incomplete.
A dedicated "Agent Skill" (a structured markdown file describing chainladder workflows in a format consumable by any AI assistant) would let users and their AI tools reliably reproduce the canonical chainladder workflow from data load to ultimate estimate.
What an Agent Skill is
Agent Skills are vendor-neutral markdown documents (typically named SKILL.md or similar) that describe how to use a library: setup, common tasks, code templates, and links to deeper docs. Claude Code, Cursor, Codex, and others consume them via convention. Some tooling (e.g. Posit's Great Docs) generates them automatically.
Proposed structure
A single
SKILL.md(or.claude/skills/chainladder/SKILL.mdfor the Claude-specific path) at the repo root or in a dedicatedskills/directory, covering:Why now
Scope of this issue
Happy to take this on as a starter PR if maintainers agree.