legal-claim-economics
Skill63 starsChanged 6 months agoApache-2.0View on GitHub
Use when users say "model claim economics", "litigation funding waterfall", "portfolio economics", "funder MOIC", "DBA/CFA economics", "Monte Carlo", "ATE/adverse costs", or need legal claim recoveries, fee structures, recourse, and settlement distributions modelled.
In this repository49 other files it gives its agents.
- action-items-from-client-alertSkill
- adversarial-qcSkill
- ai-act-quickSkill
- bart-statutory-reference-checkerSkill
- building-chronologiesSkill
- california-property-taxSkill
- case-file-analyzerSkill
- ClassifyCCPSkill
- collating-reviewer-feedbackSkill
- comms-improverSkill
- contract-qaSkill
- coquill-analyzerSkill
- coquill-rendererSkill
- coquillSkill
- coquill-transcriberSkill
- corporate-registry-investigationSkill
- customs-trade-lawSkill
- dpa-art28Skill
- dpa-checklist-reviewSkill
- enhance-promptSkill
- foreign-law-researchSkill
- legal-translationSkill
- license-complySkill
- local-first-legal-workspaceSkill
- lq-board-document-reviewSkill
- lq-governance-playbook-benchmarkSkill
- msa-review-commercial-purchaseSkill
- msa-review-saasSkill
- nda-reviewSkill
- nis2-navigatorSkill
- nist-ai-rmfSkill
- office-word-diffSkill
- privacy-notice-euSkill
- proposition-checkingSkill
- redfern-scheduleSkill
- redlinesSkill
- sgciteSkill
- skill-creatorSkill
- statutory-analysisSkill
- superdoc-redlinesSkill
- text-provenanceSkill
- uk-citation-verificationSkill
- uk-court-of-appeal-judicial-preference-checkSkill
- uk-disclosure-list-reviewSkill
- uk-particulars-of-claim-reviewSkill
- uk-witness-statement-reviewSkill
- us-state-privacy-navigatorSkill
- vendor-privacy-policy-first-passSkill
- vibe-legal-batch-redlinerSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 5 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 37
Calculation mode: - use supplied assumptions and an available calculator, spreadsheet, code execution environment, or arithmetic worked …
- Distinctive: line 41
If key inputs or a calculation method are unavailable, produce an assumptions register and model specification.
- Distinctive: line 57
If a figure is unknown, ask whether to use a range, placeholder, or scenario variable.
- Very specific: line 59
Every input must be labelled as user_supplied, document_sourced, calculated, or assumption_to_verify.
- Distinctive: line 113
If stochastic modelling is requested, specify distributions, correlations if any, iteration count, random seed if used, tool/calculation …
- Distinctive: line 161
No model removes the need for merits analysis.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
legal-claim-economics
When to Use
- A lawyer, funder, or firm wants to model whether a claim or portfolio is economically viable.
- The question involves damages, probability of success, fee arrangements, ATE, adverse costs, funder return, or recovery waterfall.
- The user needs sensitivity or scenario analysis rather than a single best-case number.
This skill models economics. It does not recommend whether to bring, settle, fund, or abandon a claim.
Audience and Work Shape
Audience: litigation partners, litigation-finance counsel, funding analysts, and legally supervised team members with enough quantitative fluency to review assumptions and formulas.
Work shape: bounded transactional calculation in calculation_mode; accretive judgment in specification_mode. The skill models assumptions and scenarios, but the responsible lawyer or funder decides what action to take.
Legal Failure Modes
- Legal support, not legal advice: outputs are working calculations and assumptions registers, not merits, enforceability, tax, regulatory, or professional-conduct advice.
- Privilege/confidentiality: claim economics may be privileged or work-product material. Sharing with funders, auditors, counterparties, insurers, or third parties can affect privilege/confidentiality and needs lawyer approval.
- Accountability: a lawyer or authorised investment decision-maker must sign off before any output is used for fund/no-fund, bring/no-bring, settle/no-settle, or client-facing advice.
Access Modes
This skill works in three modes:
- Calculation mode - use supplied assumptions and an available calculator, spreadsheet, code execution environment, or arithmetic worked in-session.
- User-supplied model mode - review an existing spreadsheet, calculator output, term sheet, budget, damages model, or funding proposal supplied by the user.
- Specification mode - build the model structure, assumptions list, and formulas, but do not invent calculated outputs.
If key inputs or a calculation method are unavailable, produce an assumptions register and model specification. Do not invent IRRs, percentiles, waterfalls, or Monte Carlo outputs.
How It Works
1. Define the scenario
Capture:
- Claim type or portfolio type.
- Jurisdiction and any regime-specific cost rules.
- Claim count and cohort funnel if relevant.
- Damages distribution.
- Liability and quantum probability.
- Expected time to resolution.
- Settlement discount assumptions.
If a figure is unknown, ask whether to use a range, placeholder, or scenario variable.
Every input must be labelled as user_supplied, document_sourced, calculated, or assumption_to_verify. Keep that label through the output so the reader can separate facts from modelling assumptions.
Also record currency, VAT/tax inclusion or exclusion, nominal vs real basis, date of valuation, time unit, discount-rate assumption if used, and the formula used for each calculated output. Do not present calculated figures without these modelling metadata.
2. Model revenue and costs
Include:
- Solicitor fee arrangement: hourly, CFA, DBA, hybrid, fixed fee, scheme-paid, or conditional billing.
- Disbursements.
- Counsel, expert, platform, marketing, and administration costs.
- Inter-partes recovery assumptions.
- ATE premium and adverse-cost exposure.
- VAT or tax treatment only if the user supplies the correct assumption.
Flag internally inconsistent inputs and keep them out of headline outputs unless the user expressly asks to model the inconsistent scenario. Label any such output inconsistent_input_scenario.
3. Model funder economics
Support common return structures:
- MOIC.
- Percentage of proceeds.
- Interest or structured debt.
- IRR hurdle.
- Time or stage ratchets.
- Commitment and ancillary fees.
- Hybrid or greater-of / lesser-of structures.
State clearly who receives what under each layer.
4. Apply recourse and waterfall
Build the waterfall:
- Recoveries received.
- Costs and disbursements.
- ATE or insurer position.
- Funder entitlement.
- Firm entitlement.
- Client residual.
Handle pari passu tiers, caps, floors, and shortfall allocation.
5. Run scenarios and sensitivity
At minimum, produce:
- Base case.
- Downside case.
- Upside case.
- Break-even claim count or recovery.
- Sensitivity to win probability, damages, time to resolution, costs, and recovery rate.
If stochastic modelling is requested, specify distributions, correlations if any, iteration count, random seed if used, tool/calculation method, and outputs including P5, P50, and P95. If you cannot actually run the calculation, do not invent percentiles; provide the model specification or pseudocode instead.
6. Report decision-useful outputs
Recommended outputs:
- Firm IRR / margin.
- Funder IRR / cash multiple.
- Client net recovery.
- Worst-case firm exposure.
- Probability of shortfall.
- Key drivers.
- Input assumptions requiring verification.
Distinguish calculated values from user-supplied assumptions and legal assumptions. Do not opine on merits, funding enforceability, tax treatment, regulatory capital, or professional conduct unless the user supplies the rule or counsel-approved assumption to model.
Confidence Bands
- High: critical inputs are user-supplied or document-sourced, formulas are shown, and no unresolved legal/tax/funding warnings sit in the critical path.
- Medium: at least one critical assumption is marked
assumption_to_verify, but the calculation method is auditable. - Low: specification-only model, missing distributions for stochastic outputs, inconsistent inputs, or no runnable calculation method.
Out of Scope and Routing
- Merits assessment -> responsible matter lawyer.
- Funding enforceability, champerty, DBA/CFA/PACCAR issues -> litigation-finance specialist.
- Tax/VAT/accounting treatment -> tax/accounting adviser.
- Regulatory capital or fund regulation -> regulatory specialist.
- Professional-conduct issues -> professional responsibility counsel.
Escalation
Stop and route when the user asks for a legal/tax/enforceability conclusion, when a novel jurisdiction is involved, when funder/firm/client interests conflict, when DBA/CFA/PACCAR questions affect the economics, or when inputs are internally inconsistent and the user has not expressly asked to model the inconsistent scenario.
Example
Model this claim portfolio under a CFA plus third-party funding structure. Show base, downside, and upside cases, then run sensitivity on damages, win probability, ATE, and time to resolution.For a compact output pattern, see examples/output.md.
For waterfall, recourse, return-family, Monte Carlo, and audit-bundle conventions, see references/engine-model.md.
Limitations
- Legal costs and funding enforceability are jurisdiction-sensitive.
- The model is only as reliable as the assumptions.
- Tax, accounting, regulatory capital, and professional conduct issues may require specialist advice.
- No model removes the need for merits analysis.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

