selector-tail-curve-ai-framework

selector-tail-curve-ai-framework is an agent for Claude Code from cas-team-analyst/team-analyst. It costs 53 tokens per session (3,600 once invoked), scanned B, original, MIT.

An AI agent for selecting tail curves in insurance claim reserving. A tail curve estimates how claim development continues after the available historical data ends.

In plain words
What is it for?
Use it to select tail curves for every measure in an analysis, such as paid losses, incurred losses, or reported claim counts, using measure-specific context files.
Why use it?
It applies a documented, phased decision process to judgment-heavy selections and records the reasoning needed for ASOP 43, an actuarial practice standard.

Agent for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Part of the team-analyst plugin — 7 skills, 6 agents shipped together

Good fit Use it to select tail curves for every measure in an analysis, such as paid losses, incurred losses, or reported claim counts, using measure-specific context files.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/cas-team-analyst/team-analyst/selector-tail-curve-ai-framework
Install

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.

Clone the repo
git clone --depth 1 https://github.com/cas-team-analyst/team-analyst

Made for: Claude Code.

Or install team-analyst, the plugin that ships this one along with the rest of its 7 skills, 6 agents.

Wrote 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.

agentmods badge for selector-tail-curve-ai-framework

README.md
[![agentmods](https://agentmods.dev/badge/agents/cas-team-analyst/team-analyst/selector-tail-curve-ai-framework/github.svg)](https://agentmods.dev/agents/cas-team-analyst/team-analyst/selector-tail-curve-ai-framework)
Your own site
<a href="https://agentmods.dev/agents/cas-team-analyst/team-analyst/selector-tail-curve-ai-framework"><img src="https://agentmods.dev/badge/agents/cas-team-analyst/team-analyst/selector-tail-curve-ai-framework/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.

agentmods 80×15 button for selector-tail-curve-ai-framework

Your own site · 80×15
<a href="https://agentmods.dev/agents/cas-team-analyst/team-analyst/selector-tail-curve-ai-framework"><img src="https://agentmods.dev/badge/agents/cas-team-analyst/team-analyst/selector-tail-curve-ai-framework.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 53 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,600 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00053 $0.03600
Opus 5 $0.00026 $0.01800
Sonnet 5 $0.00011 $0.00720
Haiku 4.5 $0.00005 $0.00360

Measured 10d ago against content hash 46efad59f818, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade B, and why

selector-tail-curve-ai-framework scanned grade B with 1 finding 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 10d 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.

Asks the agent to reveal its instructionsmediumSystem prompt leakage

Directions to print, repeat or translate the system prompt extract configuration the operator did not intend to expose.

5. Write a JSON file for that measure, per Output Instructions below
skills/reserving-analysis/agents/selector-tail-curve-ai-framework.agent.md · 277 lines

How it starts

The opening of the file, as written. The whole thing — 277 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You are an expert P&C actuarial analyst selecting tail curves for reserving. You apply the phased tail curve decision framework below and write JSON selections with complete documentation for ALL measures in the analysis.

You do not write or execute a script to apply this framework. The selection criteria below have too many interacting, judgment-laden conditions to encode reliably in code. Work through them yourself, by reasoning, for each measure.

You are handling ALL measures in this analysis (e.g., "Paid Loss" AND "Incurred Loss" AND "Reported Count"). The parent agent will provide you with a list of context file paths.

Your first step: The parent agent will pass you a list of context markdown file paths (e.g., selections/tail-context-paid_loss.md, selections/tail-context-incurred_loss.md). These are your primary data sources. Do not rely on Chain Ladder Selections - Tail.xlsx as primary input because formula cells may not be evaluated in headless runs. Do not read all of them now — process one measure at a time following the read/write loop in the Task section below.

Task

For each measure in the analysis:

  1. Read the measure's context file (e.g., selections/tail-context-paid_loss.md) - only one at a time.
  2. Work through Phase 1 (setup) and Phase 2 (fit the curve) in order for that measure
  3. Apply Phase 3 (validate) — every item is required, not situational
  4. Run Phase 4 (Documentation and Governance) — screen your drafted reasoning against the ASOP 43 field list before writing
  5. Write a JSON file for that measure, per Output Instructions below
  6. Move to the next measure.

Process each measure independently — do not cross-apply tail methods between measures.


Selection Criteria

Phases 1-2 run in order and produce a candidate curve; Phase 3's items are all required (not situational) and validate that candidate; Phase 4 runs last, as a documentation gate before writing JSON.

1. Setup

1.1 Triangle Type and Scope

Read the full file on GitHub · 277 lines

Changes

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.

  1. 10d ago Changed · +121 lines · -1 tokens per session 46efad59f818
  2. 10d ago First seen · 156 lines · 54 tokens per session scan B da56e86685fd

Subscribe to this mod's changes

selector-tail-curve-ai-framework is an agent published in the GitHub repository cas-team-analyst/team-analyst (11 stars, last pushed 7d ago), licensed MIT. It adds 53 tokens to every session and 3,600 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it B with 1 finding (asks the agent to reveal its instructions). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.