agentleFS
mariomilemariomile/builder-os/skills/financial-models/SKILL.md

financial-models

Skill2 starsChanged 2 months agoMITView on GitHub

Use when calculating SaaS revenue metrics, building MRR waterfalls, modeling unit economics, or projecting financial scenarios

The file

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 1 is distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Follow ../../references/operating-modes.md, resolved from this SKILL.md.

    line 10
  2. Distinctive:

    Find the revenue source: Use the supplied source when suitable.

    line 28
  3. Very specific:

    The user: Ask only for the missing figures this question needs.

    line 32

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Financial Models

Scope and resources

Follow ../../references/operating-modes.md, resolved from this SKILL.md. A standalone metric question does not require a full financial report. In lifecycle work, read only the active initiative artifacts relevant to the question. Run only the numbered steps the request needs.

Load evidence-ledger when recording sourced claims, references/capability-map.md before accessing a data provider, and the relevant section of saas-metrics-reference when a definition needs clarification. Load historical revenue SQL only when querying revenue, and financial formulas and models only for the requested formula, projection, heuristic comparison or the full-report output contract.

Capabilities

CapabilityUsed forFloor when absent
db.queryThe billing tables: subscriptions, invoices, customersRead the schema from migrations or the ORM models, then ask for the figures
analytics.queryRevenue events, where billing is instrumented as events rather than rowsSkip; event-derived revenue is the weaker source anyway
docs.searchRecorded revenue: investor updates, monthly notes, board decksSkip, and mark the figure unavailable
repo.readPricing configuration, plan tiers, billing integration codeSkip when there is no codebase
files.read / files.writeThe artifact itselfAlways present

Four user-provided numbers, each tagged, make a legitimate analysis; four numbers you chose make fraud dressed as a spreadsheet.

Procedure

  1. Find the revenue source. Use the supplied source when suitable; otherwise seek the strongest applicable source in this order:

    1. Billing tables via db.query. Find the subscription and invoice entities and read column types before any aggregate (cents summed as currency is the classic first error).
    2. Revenue events via analytics.query. Weaker: events drift from billing; report the discrepancy.
    3. Recorded figures via docs.search. Date every one and tag it stale beyond 30 days.
    4. The user. Ask only for the missing figures this question needs. Tag every value [doc:user-{date}-{topic}].

    Name whichever resolved in the artifact; event and invoice waterfalls are different instruments and will disagree.

  2. Build the MRR waterfall. New, expansion, reactivation, contraction and churn, per the SQL reference's input contract and templates. Require closed, complete historical snapshots, a continuous calendar with an opening month, normalized currency/units and true first-paid history. Present-day subscription status does not establish historical MRR, a missing month is not churn, and a first observed activation is not necessarily new. Without these inputs, report the missing history. Reconcile: the components must sum to the ending figure; an unreconciled waterfall is worse than none.
  3. Compute unit economics. ARPA, churn (logo and revenue), LTV, CAC, LTV:CAC, CAC payback. Every derived figure names its inputs; a LTV resting on a user-provided churn rate inherits that uncertainty and is not presented as measured.
  4. Cohort revenue retention. The retention shape applied to revenue rather than actors. NDR above 100% means expansion outruns churn: the most informative number for a B2B product.
  5. Project. From an identified base, measured or explicitly user-provided. State assumptions and their sources, and run at least a low and a high case. A single-line projection off an assumed growth rate is a wish with decimal places.
  6. Report. A full report uses the output contract in the formulas reference (## FINANCIAL ANALYSIS COMPLETE); narrow requests keep their requested format and only applicable sections. Every figure tagged; every gap named with the question that would close it.

Metric and model invariants

ARPA = total account MRR / positive-MRR accounts. Zero denominators are undefined. A customer-lifetime LTV approximation uses monthly logo churn, with gross margin stated; revenue churn is a different metric. NDR names a fixed starting account set, dated window and its ending revenue, excluding new accounts outside that set.

The waterfall identity is starting + new + expansion + reactivation - contraction - churn = ending. Never project annual NDR as monthly expansion or subtract churn twice; state the time unit and use one reconciled projection model.

Narrow example: Supplied account A has 100+50 MRR and B has 200. Return ARPA = 175 with the supplied-source tag and definition; do not query unrelated sources or initialize lifecycle state.

Common Mistakes

MistakeCorrection
Reconstructing history from current statusRequire historical snapshots or report unavailable history
Averaging subscriptions for ARPASum MRR per account, then divide by positive-MRR accounts

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.