fair-split

fair-split is a cursor rule for Cursor from mohitagw15856/pm-claude-skills. It costs 119 tokens per session (1,536 once invoked), scanned A, original, MIT.

A fair-division calculator for indivisible assets such as a house, business interests, or furniture. Each person privately values each item, and the Knaster procedure assigns items and calculates cash payments so the result can be checked against those valuations.

In plain words
What is it for?
Use it to divide an estate or partnership assets, calculate unequal shares, and show each participant how the allocation and payments were computed.
Why use it?
It replaces arguments about what is fair with a stated method that accounts for different personal valuations. It is useful when items cannot simply be split into equal pieces.

Cursor rule for Cursor

Written for Cursor: a Cursor rule (.mdc).

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python3 scripts/fair_split.py --input split.json # table.

Good fit Use it to divide an estate or partnership assets, calculate unequal shares, and show each participant how the allocation and payments were computed.

Compare 6 cursor rules from other repositories ↓
About the project

PM Skills is a collection of plain-Markdown instructions that teach AI assistants structured methods for handling professional, personal, and life-admin tasks. People use it with Claude, ChatGPT, Gemini, Cursor, Codex, and other supported agents for work such as writing product requirements, reviewing documents, or planning difficult situations.

mohitagw15856/pm-claude-skills · 1,340 stars · on GitHub · mohitagw15856.github.io

Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/mohitagw15856/pm-claude-skills
agentmods
npx agentmods add rules/mohitagw15856/pm-claude-skills/fair-split

Made for: Cursor.

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 fair-split

README.md
[![agentmods](https://agentmods.dev/badge/rules/mohitagw15856/pm-claude-skills/fair-split.svg)](https://agentmods.dev/rules/mohitagw15856/pm-claude-skills/fair-split)
Your own site
<a href="https://agentmods.dev/rules/mohitagw15856/pm-claude-skills/fair-split"><img src="https://agentmods.dev/badge/rules/mohitagw15856/pm-claude-skills/fair-split.svg" alt="Measured on agentmods" height="20"></a>
Per session 119 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,536 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00119 $0.01536
Opus 5 $0.00060 $0.00768
Sonnet 5 $0.00024 $0.00307
Haiku 4.5 $0.00012 $0.00154

Measured 2d ago against content hash 614f79f45c2b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

fair-split 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 2d 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.

exports/cursor/pm-calculators/fair-split/fair-split.mdc · 75 lines

How it starts

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

Fair Split

The house cannot be cut in three, everyone valued it differently, and the sibling who wants it least still resents the one who got it — that is how estates turn into estrangements. Sealed-bid fair division (the Knaster procedure) fixes the structural problem: each person privately states what every item is worth to them, each item goes to whoever values it most, and cash transfers rebalance so that every single person ends up — by their own numbers — with more than their fair share. The person who wanted nothing gets paid; the person who got the house pays for the privilege at their own valuation. The bundled script does the arithmetic exactly, supports unequal entitlements (a 50/25/25 will, a 60/40 partnership), and proves the outcome to each participant in their own terms.

What This Skill Produces

  • The procedure to run — how to collect sealed valuations so they are honest: privately, simultaneously, before anyone knows the mechanism rewards sincerity
  • The computed allocation — who gets each item and the exact cash each person pays or receives, from the script
  • The proof of fairness, per person — each participant shown ending above their own valuation of their fair share, which is the sentence that ends arguments
  • The presentation script — how to explain the result to people who are grieving, angry, or both
  • The edge-case handling — the item someone cannot afford to win, the sentimental object, the participant who refuses to play

Required Inputs

Ask for these if not provided:

  • The people and their shares — who is dividing, and the entitlements (equal by default; a will or partnership agreement may set them unequal)
  • The items — everything indivisible worth listing; small stuff can be bundled into lots
  • The valuations — each person's private value for every item; if not yet collected, the skill's first output is the collection procedure, because how they are collected determines whether they are honest
  • The constraints — anyone cash-poor (winning the house means paying the others — can they?), any item with a legal restriction, any participant acting for someone else

Read the full file on GitHub · 75 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. 2d ago First seen · 75 lines · 119 tokens per session scan A 614f79f45c2b

Subscribe to this mod's changes

fair-split is a cursor rule published in the GitHub repository mohitagw15856/pm-claude-skills (1,340 stars, last pushed yesterday), licensed MIT. It adds 119 tokens to every session and 1,536 once invoked, about $0.0006 per session on Opus 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-09-05.