Agent skill

Unit Economics

by daloopa in daloopa/investing

Bottoms-up unit economics decomposition for any public company

Apache-2.0Auto-check passedBusiness, Finance & HR

Install Unit Economics

skills CLI
$ npx skills add daloopa/investing --skill unit-economics -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install daloopa/investing unit-economics --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/daloopa/investing.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/unit-economics .claude/skills/unit-economics && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
unit-economics
GitHub stars
489
Token cost
~3.3k tokens
SKILL.md length
1,619 words
Files
1
Skills in repo
22
Repo updated
First seen
Licence
Apache-2.0

At a glance

Bottoms-up unit economics decomposition for any public company

  • Works in 7 steps: Company Lookup → Series Discovery & Business Archetype… → Unit Economics Data Pull → …
  • Tasks that involve Financial modeling
  • SKILL.md covers 1. Company Lookup, 2. Series Discovery & Business…, 3. Unit Economics Data Pull and 4. Qualitative Research, plus 3 more sections
  • Reaches daloopa.com

What it does

Unit Economics is an agent skill from daloopa/investing. Bottoms-up unit economics decomposition for any public company

Its SKILL.md is about 3.3k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Business, Finance & HR, covering Financial modeling. The licence is Apache-2.0.

When your agent uses it

  • Tasks that involve Financial modeling

Example prompts

  • “/unit-economics”

Workflow steps

7 steps, taken from the step headings in SKILL.md.

  1. Company Lookup
  2. Series Discovery & Business Archetype Detection
  3. Unit Economics Data Pull
  4. Qualitative Research
  5. Analysis & Report Synthesis
  6. Charts
  7. Save Report

What it can do on your machine

Read from SKILL.md and the folder at commit e2dd01d. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • daloopa.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Unit Economics loads about 3.3k tokens when it runs. Until then it costs about 19 tokens; SKILL.md has 1,619 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~19
When it runs · the whole SKILL.md, loaded when a task matches
~3.3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from daloopa/investing at commit e2dd01d, republished under its Apache-2.0 licence (© daloopa). 1,619 words, ~3,336 tokens.

Download SKILL.mdSave it as .claude/skills/unit-economics/SKILL.md (or your agent's skills folder).
name
unit-economics
description
Bottoms-up unit economics decomposition for any public company
argument-hint
TICKER

Perform a bottoms-up unit economics decomposition for the company specified by the user: $ARGUMENTS

Before starting, read ../data-access.md for data access methods and ../design-system.md for formatting conventions. Follow the data access detection logic and design system throughout this skill.

Follow these steps:

1. Company Lookup

Look up the company by ticker using discover_companies. Capture:

  • company_id
  • latest_calendar_quarter — anchor for all period calculations below (see ../data-access.md Section 1.5)
  • latest_fiscal_quarter
  • Firm name for report attribution (default: "Daloopa") — see ../data-access.md Section 4.5

2. Series Discovery & Business Archetype Detection

Cast a wide net to discover ALL available series for this company. Search with multiple keyword sets to maximize coverage:

  • Financial: "revenue", "income", "profit", "margin", "eps", "cost"
  • Operating KPIs: "subscriber", "user", "customer", "unit", "arpu", "retention", "churn"
  • Segment/Product: "segment", "product", "service", "geographic"
  • Business-specific: "store", "gmv", "order", "booking", "backlog", "premium", "loan", "aum", "room", "seat", "bed", "acreage"

Collect all unique series IDs. Read every series name and description returned. This is how you learn what kind of business this is and what unit-level KPIs Daloopa tracks for it.

Based on series availability, classify the business into one of these archetypes (or a hybrid). This classification drives the entire report structure:

If you find series like...ArchetypeUnit =
ARR, MRR, net dollar retention, customers, ACV, churn, CAC, LTVSaaS / SubscriptionCustomer or subscription
Store count, same-store sales, AUV, restaurant-level margin, new openingsUnit-based retail / RestaurantStore or unit
GMV, take rate, orders, AOV, active buyers/sellersMarketplace / E-commerceOrder or transaction
Subscribers, ARPU, churn, content spend per subConsumer subscription (media/streaming)Subscriber
Premiums written, loss ratio, combined ratio, policies in forceInsurancePolicy
NIM, loans, deposits, provision for credit losses, NCOsBanking / LendingLoan or account
ASP, units shipped, cost per unit, gross margin per unitHardware / ManufacturingUnit shipped
AUM, management fee rate, performance fees, fund flowsAsset ManagementDollar of AUM
Revenue per available room (RevPAR), occupancy, ADRHospitality / LodgingRoom night
RPM, RASM, CASM, load factor, ASMsAirlines / TransportationAvailable seat mile
Revenue per user, DAU, MAU, ARPU, engagementDigital platform / AdvertisingUser
Beds, admissions, revenue per admission, case mixHealthcare facilitiesAdmission or bed
Acreage, production per acre, realized price per unitCommodity / E&PUnit of production

If the business is a hybrid or doesn't fit neatly, construct a custom framework from the available series. The archetype is a starting guide, not a constraint.

Edge cases:

  • Diversified / multi-segment companies: Pick the largest or most analytically interesting segment for primary analysis. Note other segments briefly. If the user specifies a segment, focus there.
  • Pre-revenue / early-stage companies: Focus on burn rate per unit of growth, cash efficiency, and path to unit profitability.
  • Financial companies (banks, insurance, asset managers): These have specialized unit economics. For banks, the "unit" is a dollar of assets — focus on NIM, fee income/assets, efficiency ratio, credit costs. For insurance, focus on the combined ratio decomposition. Don't force a SaaS or retail framework onto financials.
  • Companies with no obvious unit-level KPIs in Daloopa: Fall back to a margin bridge / operating leverage analysis using standard income statement data. Decompose revenue into whatever sub-components are available (segment, geography, product line) and analyze profitability at that level. Note the limitation.
  • Companies that stopped disclosing unit data: Some major companies (e.g., Apple post-2018) no longer report unit shipments or ASPs. If unit-level data is not available, adapt to the highest-resolution decomposition the data supports (e.g., segment revenue × segment margin). Clearly flag the data gap and explain what proxy you used. Do not fabricate unit estimates.

3. Unit Economics Data Pull

Calculate 10 quarters backward from latest_calendar_quarter. Pull all archetype-relevant series identified in Step 2 for those periods, plus standard financials:

  • Revenue (total and segment)
  • COGS / cost of revenue
  • Gross profit
  • Operating income
  • Net income
  • All operating KPIs relevant to the detected archetype

Derived metrics (calculate from pulled data, label each as "(calc.)" and show formulas):

  • Revenue per unit (Revenue / units)
  • Gross margin per unit
  • Contribution margin per unit (if variable costs are available)
  • Unit growth rate (QoQ and YoY)
  • Revenue per unit growth rate (QoQ and YoY)
  • Any archetype-specific derived metrics (e.g., CAC payback = CAC / (ARPU × gross margin), LTV/CAC, 4-wall margin, take rate, combined ratio)

4. Qualitative Research

Search SEC filings for context on the unit economics. Use archetype-specific search terms:

  • SaaS: Try "net dollar retention", "customer acquisition cost"; fallback to "expansion", "churn", "upsell"
  • Restaurant/Retail: Try "average unit volume", "restaurant-level margin"; fallback to "same-store", "new unit", "unit opening"
  • Marketplace: Try "take rate", "gross merchandise value"; fallback to "active buyers", "order volume", "monetization"
  • Hardware/Manufacturing: Try "average selling price", "units shipped"; fallback to "ASP", "volume", "mix"
  • Insurance: Try "combined ratio", "loss ratio"; fallback to "underwriting", "premium", "policy"
  • Banking: Try "net interest margin", "provision"; fallback to "loan growth", "credit quality", "efficiency"
  • Digital platform: Try "average revenue per user", "monthly active users"; fallback to "engagement", "monetization", "ARPU"
  • General (all archetypes): Try "unit economics", "pricing"; fallback to "profitability", "margin", "per unit"

Extract management commentary on pricing, retention, expansion, new unit openings, margin levers, etc. with document citations.

Show full SKILL.md (797 more words)Show less

5. Analysis & Report Synthesis

Section 1: Business Model & Unit Definition (brief)

  • 2-3 sentence description of what the "unit" is for this business
  • Why this decomposition matters for understanding the company's economics
  • What the revenue build-up looks like: units × revenue-per-unit, or equivalent

Section 2: Revenue Decomposition

  • Show the bottoms-up revenue build: how units × price/rate × utilization (or equivalent) bridges to reported revenue
  • Table: quarterly history (10 quarters) showing each component
  • Highlight which lever is driving growth: volume vs. price vs. mix
  • Include growth rates (YoY) as sub-rows beneath each metric

Section 3: Unit-Level Profitability The core of the report. Show margin/profitability at the unit level over time:

  • For SaaS: gross margin per customer, CAC payback period, LTV/CAC ratio
  • For restaurants: 4-wall EBITDA margin, new unit payback, cash-on-cash return
  • For marketplace: contribution margin per order, after accounting for fulfillment/transaction costs
  • For insurance: loss ratio + expense ratio = combined ratio per policy
  • For hardware: gross margin per unit, cost per unit breakdown
  • Adapt to whatever the business actually is
  • Table: historical trend with period-over-period change
  • Explicitly call out whether unit economics are improving or deteriorating and by how much

Section 4: Cohort / Vintage Analysis (if data supports it)

  • For subscription businesses: net retention curves, expansion vs. contraction
  • For unit-based businesses: same-store vs. new-store contribution, unit maturation
  • For lending: vintage loss curves, seasoning
  • If insufficient data for true cohort analysis, note this and substitute with proxy analysis (e.g., new customer growth rate vs. retention rate implies cohort behavior)

Section 5: Scalability & Operating Leverage

  • How do unit economics change as the business scales?
  • Fixed cost absorption: which costs are truly fixed vs. variable per unit?
  • Show operating leverage by plotting revenue growth vs. cost growth
  • Incremental margins: are they expanding or compressing as the business grows?

Section 6: Key Drivers & What to Watch This is the most analytically valuable section. Based on the data, identify:

  • The 3-5 metrics that matter most for this company's unit economics, ranked by sensitivity / impact
  • For each metric: current level, historical range, direction of travel, and what would cause it to inflect
  • Bull case drivers: what would improve unit economics (e.g., pricing power, mix shift to higher-margin products, operating leverage kicking in, retention improving)
  • Bear case risks: what would deteriorate unit economics (e.g., competitive pricing pressure, rising CAC, input cost inflation, regulatory impact on take rates)
  • Connect each driver to its P&L impact: "a 100bps improvement in net retention would add ~$X to ARR" or "each new store generates ~$Xm in 4-wall EBITDA in year 2"

Section 7: Summary Assessment

  • 3-4 sentence verdict on the health and trajectory of the company's unit economics
  • Is this a business with improving, stable, or deteriorating unit economics?
  • What is the single most important thing to monitor going forward?

Analytical standards:

  • Three-layer density: every data point should have context (vs. prior period, vs. peers if known) and an implication (what it means for the investment case)
  • Show your math: when you derive a metric (e.g., implied CAC = S&M expense / new customers added), show the calculation explicitly so the reader can verify
  • Flag data gaps: if a key metric for the archetype isn't available in Daloopa's data, say so explicitly and explain what proxy you used or why the analysis is limited
  • No generic filler: if you don't have data to support a section, skip it or shorten it. Never pad with boilerplate
  • Source everything: every number should be traceable. Use Daloopa source citations per the design system conventions
  • Prefer rates and ratios over absolutes: unit economics are about efficiency, not scale. Lead with margins, returns, and per-unit metrics. Include absolutes as context

6. Charts

Use infra/chart_generator.py for charts. Include at minimum:

  1. A revenue decomposition chart (waterfall or time-series showing units × price → revenue)
  2. A unit profitability trend chart (time-series showing the key unit margin metric over time)
  3. Additional charts as warranted by the archetype (e.g., net retention waterfall for SaaS, same-store sales trend for restaurants, take rate trend for marketplaces)

All charts must be embedded in the HTML as base64 data URIs (e.g., <img src="data:image/png;base64,...">) so the report is fully self-contained with no external file dependencies. After generating each chart PNG, read the file and convert to base64 for embedding. Do not use relative <img src="filename.png"> paths.

If chart_generator.py is unavailable, embed simple inline SVG charts directly in the HTML.

7. Save Report

Save to reports/{TICKER}_unit_economics.html using the HTML report template from ../design-system.md. Write the full analysis as styled HTML with the design system CSS inlined. This is the final deliverable — no intermediate markdown step needed.

Structure the report with these sections:

<h1>{Company Name} ({TICKER}) — Unit Economics Analysis</h1>
<p>Generated: {date}</p>

<h2>Summary</h2>
{2-3 sentences: What is the "unit"? Are unit economics improving or deteriorating? Key takeaway.}

<h2>Business Model & Unit Definition</h2>
{Section 1 content}

<h2>Revenue Decomposition</h2>
<table>
| Component | Q(-9) | Q(-8) | ... | Q(latest) |
{Units, revenue per unit, revenue — with Daloopa citations and YoY growth sub-rows}
</table>
{Commentary on volume vs. price drivers}

<h2>Unit-Level Profitability</h2>
<table>
| Metric | Q(-9) | Q(-8) | ... | Q(latest) |
{Archetype-specific unit margins — with Daloopa citations}
</table>
{Commentary on unit economics trajectory}

<h2>Cohort / Vintage Analysis</h2>
{Section 4 content, or note if insufficient data}

<h2>Scalability & Operating Leverage</h2>
<table>
| Metric | Q(-9) | Q(-8) | ... | Q(latest) |
{Revenue growth vs cost growth, incremental margins}
</table>
{Operating leverage assessment}

<h2>Key Drivers & What to Watch</h2>
{Ranked drivers with sensitivity analysis and bull/bear scenarios}

<h2>Summary Assessment</h2>
{3-4 sentence verdict}

All financial figures must use Daloopa citation format: <a href="https://daloopa.com/src/{fundamental_id}">$X.XX million</a>

Tell the user where the HTML report was saved.

Highlight the 2-3 most important findings about the company's unit economics and what they signal for the investment case.

© daloopa, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/unit-economics of daloopa/investing.

Open the folder on GitHubat commit e2dd01d

Compare with similar skills

Unit Economics next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Unit Economics compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Unit Economics this skilldaloopa/investing489—~3.3kAutomated safety check: PassApache-2.0
Creating Financial ModelsChen-zexi/open-ptc-agent7293 repos~1.3kAutomated safety check: PassMIT
Equity ResearchrollingSirius/equity-research-skill453—~1.5kAutomated safety check: PassMIT
SaaS Metrics Coachrongxinzy/RongxinAI1542 repos~1.3kAutomated safety check: PassMIT
Startup Financial Modelingnicepkg/auto-company19511 repos~2.8kAutomated safety check: PassNone
Stock Value AnalyzerFunnyKun/stock-value-analyzer141—~3.3kAutomated safety check: PassNone

Similar skills

  • Creating Financial Models

    Chen-zexi/open-ptc-agent

    This skill provides an advanced financial modeling suite with DCF analysis, sensitivity testing, Monte Carlo simulations, and scenario planning for investment decisions

    729 GitHub starsUsed in 3 repos~1.3k tokens
    Business, Finance & HRAuto-check passed
  • Equity Research

    rollingSirius/equity-research-skill

    撰写机构级个股投资研究报告(二级市场深度研究)。Use whenever the user wants to research, analyze, or value a specific publicly-traded stock — e.g.

    453 GitHub stars~1.5k tokensUpdated 1 mo ago
    Business, Finance & HRAuto-check passed
  • SaaS Metrics Coach

    rongxinzy/RongxinAI

    SaaS financial health advisor. An agent skill from rongxinzy/RongxinAI.

    154 GitHub starsUsed in 2 repos~1.3k tokens
    Business, Finance & HRAuto-check passed
  • Startup Financial Modeling

    nicepkg/auto-company

    This skill should be used when the user asks to "create financial projections", "build a financial model", "forecast revenue", "calculate burn rate", "estimate runway", "model cash flow", or…

    195 GitHub starsUsed in 11 repos~2.8k tokens
    Business, Finance & HRAuto-check passed
  • Stock Value Analyzer

    FunnyKun/stock-value-analyzer

    基于邱国鹭《投资中最简单的事》方法论的股票价值分析器(v2.0 双层架构)。通过"三好原则"(好行业、好公司、好价格)系统评估一只股票是否值得投资。v2.0 在原定性框架之上注入一套可量化、可复现的硬模型层——反向 DCF 反解市场隐含增速、情景概率加权估值、EPV 盈利能力价值、分行业估值路由、杜邦三/五因子分解、ROIC vs WACC、Piotroski F-Score、Beneish…

    141 GitHub stars~3.3k tokensUpdated 3 mo ago
    Business, Finance & HRAuto-check passed
  • Dcf Valuation

    edinetdb/dexter-jp

    Performs discounted cash flow (DCF) valuation analysis to estimate intrinsic value per share for Japanese listed companies.

    312 GitHub stars~1.1k tokensUpdated 2 days ago
    Business, Finance & HRAuto-check passed

More from daloopa/investing

All 22 skills in this repo
  • Capital Allocation

    daloopa/investing

    Deep dive into capital deployment, buybacks, dividends, and shareholder yield

    489 GitHub stars~2.3k tokensUpdated 3 days ago
    Auto-check passed
  • Comp Sheet

    daloopa/investing

    Build an industry comp sheet Excel model with deep operational KPIs

    489 GitHub stars~2k tokensUpdated 3 days ago
    Auto-check passed
  • Comps

    daloopa/investing

    Trading comparables analysis with peer multiples and implied valuation

    489 GitHub stars~2.5k tokensUpdated 3 days ago
    Auto-check passed
  • Dcf

    daloopa/investing

    Discounted cash flow valuation with sensitivity analysis. An agent skill from daloopa/investing.

    489 GitHub stars~2.5k tokensUpdated 3 days ago
    Auto-check passed
  • Earnings Flash

    daloopa/investing

    Rapid first-read earnings flash for a given company. An agent skill from daloopa/investing.

    489 GitHub stars~1.9k tokensUpdated 3 days ago
    Auto-check passed
  • Guidance Tracker

    daloopa/investing

    Track management guidance accuracy over time for a given company

    489 GitHub stars~2.5k tokensUpdated 3 days ago
    Auto-check passed

Questions about Unit Economics

What does Unit Economics do?

Bottoms-up unit economics decomposition for any public company. Unit Economics is an agent skill from daloopa/investing.

When should I use Unit Economics?

Unit Economics fits situations like: tasks that involve Financial modeling.

How do I install Unit Economics in Claude Code?

Run `npx skills add daloopa/investing --skill unit-economics -a claude-code`. Or copy the skill folder (.claude/skills/unit-economics in daloopa/investing) into .claude/skills/unit-economics in your project. Claude Code loads it when a task matches its description.

How do I install Unit Economics in Codex?

Run `npx skills add daloopa/investing --skill unit-economics -a codex`. Or copy the skill folder (.claude/skills/unit-economics in daloopa/investing) into .agents/skills/unit-economics in your project. Codex loads it when a task matches its description.

Can I use Unit Economics in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add daloopa/investing --skill unit-economics -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/unit-economics, .gemini/skills/unit-economics, .github/skills/unit-economics and .opencode/skills/unit-economics in your project.

What does Unit Economics need to run?

SKILL.md names no scripts, command-line tools or credentials: Unit Economics is instructions for the agent only.

Does Unit Economics access the network?

SKILL.md names 1 domain. In commands or code: daloopa.com; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is Unit Economics safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Unit Economics use?

Unit Economics is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Unit Economics use?

About 3.3k tokens (SKILL.md is roughly 13k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Unit Economics?

Skills that share tags, products or a category with Unit Economics: Creating Financial Models (Chen-zexi/open-ptc-agent, 729 stars), Equity Research (rollingSirius/equity-research-skill, 453 stars), SaaS Metrics Coach (rongxinzy/RongxinAI, 154 stars) and Startup Financial Modeling (nicepkg/auto-company, 195 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Unit Economics?

daloopa (a GitHub organization) maintains it in daloopa/investing, which has 489 GitHub stars. The repository holds 22 skills in this directory. The repository was last updated on October 7, 2026.

Source: daloopa/investing on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.