product-analysis
- Run by agents
- opportunity-mapperproduct-diagnostician
- Reached from commands
- /builder-os:bos-learn/builder-os:bos-review
At a glance
Mode. Standalone is the default: the requested format, direct sources cited, no lifecycle state. When phase 2 or phase 7 calls an area, its artifact paths and gate rules apply and every claim follows evidence-ledger. Both per operating modes.
- 1Place the question
- 2Run the area's steps
- 3Answer at the size of the question
The skill
One skill for the questions a senior product analyst answers. Each area keeps its own procedure in a reference file; load the one the question needs, and inside it the steps the question needs. A single metric gets a single answer.
Mode. Standalone is the default: the requested format, direct sources cited, no lifecycle state. When phase 2 or phase 7 calls an area, its artifact paths and gate rules apply and every claim follows evidence-ledger. Both per operating modes.
Areas
| The question | Read | Completion marker of a full report |
|---|---|---|
| How is the product doing; what does metric X mean, how is it computed, what band is normal | metrics, then definitions or diagnosis | ## DIAGNOSIS COMPLETE |
| Where activation leaks, how retention behaves, which growth loop, which intervention first | growth, methods | ## GROWTH ANALYSIS COMPLETE |
| MRR, waterfall, ARPA, churn, LTV, CAC, payback, NDR, projections | finance, formulas, revenue SQL | ## FINANCIAL ANALYSIS COMPLETE |
| PMF, positioning, the north star and its metric tree | strategy, methods | ## STRATEGY AUDIT COMPLETE / ## NORTH STAR COMPLETE |
| Objectives and key results, baselines and targets | OKRs, method, output | ## OKR COMPLETE |
| Competitors, feature matrix, positioning map | competition, templates | ## COMPETITIVE ANALYSIS COMPLETE |
A question that spans areas (a strategy session: PMF, then a north star, then OKRs) runs them in that order, each feeding the next; the metric tree is one tree, extended under the chosen north star.
Capabilities
Every area resolves capabilities per references/capability-map.md and asks for data in the shapes of references/analytics-contract.md. The ones used here: analytics.query, analytics.events, analytics.replay, db.query, docs.search, research.search, web.search, web.fetch, repo.read, files.read / files.write. Each area's file lists what it uses each for and its floor.
Floor for all of them: with nothing connected, the analysis still runs. A metric tree with every leaf unavailable and a named question per gap, a funnel mapped from the onboarding code with its untracked steps, four user-provided figures each tagged [doc:user-{date}-{topic}]: all valid output.
Rules for Every Area
- Unknown is a value, zero is a measurement. An absence stays unknown, a missing signal stays missing, and a stage comes from evidence rather than a threshold.
- Lead with what is measured. When the only figure is synthetic, a fixture, a plan or older than its window, the answer opens with "not measured" and what would measure it; the figure follows, labeled as what it is.
- Every number names its source and date; a value older than 30 days is marked stale. A derived figure names its inputs and inherits their uncertainty.
- Bands and scores are heuristics. Prefer the product's own history and actual targets; an unknown stage gets no band.
- A gap ends with the question that closes it, named as a query shape or a capability.
Procedure
- Place the question. Match it to an area in the table; a question spanning areas runs them in the table's order. Done when each part of the question has its area and reference file.
- Run the area's steps from its reference file, the ones this question needs, resolving each data source per
references/capability-map.mdand asking in the shapes ofreferences/analytics-contract.md. Done when every number in the answer has its source and date, or its gap and the question that closes it. - Answer at the size of the question: a narrow question in the requested format, a full report with the area's sections. Done when the rules above hold for every figure in it.
Watch for
| Do | Instead of |
|---|---|
| Answer the metric with unit, denominator, period and assumptions | A full diagnosis for one metric question |
| Extend the diagnostic tree under the chosen north star | A second metric tree |
| Sum MRR per account, divide by positive-MRR accounts | ARPA averaged over subscriptions |
| Pre-outcome window, comparable populations, then a causal test | Activation–retention correlation reported as cause |
| Read the competitor's page, or mark the claim unverified with the date | A search snippet taken as the current price |
Output Contract
A full report ends with its area's marker (## DIAGNOSIS COMPLETE, ## GROWTH ANALYSIS COMPLETE, ## FINANCIAL ANALYSIS COMPLETE, ## STRATEGY AUDIT COMPLETE, ## NORTH STAR COMPLETE, ## OKR COMPLETE, ## COMPETITIVE ANALYSIS COMPLETE); a narrow answer keeps the requested format.
References
Read only when a step needs them, so they cost no context until then.
Competitive Intelligencereferences/competition.md
Mode and resources
Follow operating modes and resource paths. Standalone: Analyze the requested competitors or positioning question using supplied material and current relevant sources. Return only the requested comparison, brief or recommendation. Lifecycle: The prerequisites, artifact paths and gate recording below apply only when the user requests a phase or initiative; a missing prerequisite blocks that transition, not a standalone artifact.
Load evidence-ledger for lifecycle evidence storage, and references/capability-map.md when resolving a source. Retrieve facts before asking; ask what remains per the pressure-testing rounds.
Read templates and source fitness when weighing sources for a claim, or for the feature matrix, positioning axes, brief structure, citation format and mistakes with reasons.
Capabilities
| Capability | Used for | Floor when absent |
|---|---|---|
docs.search | Competitive notes and market research the team already wrote | Skip, and start from the public web |
research.search | Saved reading on the category and its players | Skip; substitute web.search |
web.search | The live landscape: pricing, positioning, reviews, comparisons | Use supplied dated material; mark specific claims unverified/stale and limit conclusions where current sources are unavailable |
web.fetch | Competitor pricing and feature pages, read directly | Use snippets only as leads or explicitly unverified evidence; do not claim current terms were checked |
repo.read | Dependencies and docs that reveal who the incumbents are | Skip when there is no codebase |
files.read / files.write | The artifact itself | Always present |
Procedure
- Fix the frame. Resolve capabilities, then name the category and the competitor set before searching, saying why each is in it: direct substitute, adjacent, or the status quo (a spreadsheet, an intern, doing nothing). The status quo is the competitor most often left out.
- Gather evidence fitted to each claim. Per competitor: positioning claim in their own words, pricing with its date, the features that matter to this comparison, and who they say they are for. Choose evidence by the question, directness, date, population and limitations; no source class always outranks another, and saved notes are leads, not authority. Keep conflicting claims visible. Tag every fact with its source and the date it was read; mark unverified claims
[unverified]. - Build the feature matrix with only the rows that would change a buying decision.
- Map positioning on two axes that actually separate the players. If everyone clusters, the axes are wrong, not the market.
- Find the differentiation: what this product does that the others structurally cannot, not what it does better.
- Report per the output contract, every claim cited with its source and date. Where the landscape could not be read live, say so once at the top rather than hedging every line.
Output Contract
Standalone output follows the requested format and destination; adapt the template only where useful and omit lifecycle gate claims. The paths below apply to lifecycle artifacts.
## COMPETITIVE ANALYSIS COMPLETE
**Category:** {name} · **Competitors:** {set, with why each is in it}
**Read on:** {date} · **Capabilities resolved:** {capability → concrete source}
### Executive Summary
### Feature Matrix
### Positioning Map
### Differentiation
{what this product can do that the others structurally cannot}
### Strategic Recommendations
### Sources
{every claim, its source, its date}Common Mistakes
| Mistake | Correct |
|---|---|
| Old internal note overriding a current official price | Compare plan/region/date and retain the change in provenance |
| Treating a search snippet as verified current terms | Read the pertinent source or mark the claim unverified |
| Filling missing data with zero | Preserve unknown and state the measurement needed |
Competitive Analysis Templates and Source Fitnessreferences/competitive-templates.md
Read only the section the current step in competition needs.
Source Fitness
Choose evidence by the question, directness, date, population and limitations; no source class always outranks another.
| Question | Most pertinent evidence | Limitation to preserve |
|---|---|---|
| Current pricing or published feature terms | Current official page read directly, with region/plan/date | Marketing terms are claims about availability, not proof of practical quality |
| Workflow quality or buyer friction | Relevant recent user observations, trials and sales/support records | Sampling, segment and recency may limit generalization |
| Category positioning | Current competitor messaging and relevant buyer language | Separate what the vendor claims from independent buyer perception |
| Integration context | Current code/dependency and integration documentation | Being installed does not prove customer preference |
Saved research and team notes are leads, not automatic authority. Keep conflicting claims visible, record source/access dates and explain which evidence fits the specific claim. A newer source may supersede an older price; a relevant direct user observation may be better for a behavior question.
Feature Matrix Template
| Category / Feature | {Product} | {Comp A} | {Comp B} | {Comp C} |
|-------------------|-----------|----------|----------|----------|
| **Core** |
| {feature} | ✅ | ⚠️ | ❌ | ✅ |
| **Pricing** |
| Free tier | ✅/❌ | ✅/❌ | ✅/❌ | ✅/❌ |
| Starting price | ${n}/mo | ${n}/mo | ${n}/mo | ${n}/mo |
| **Platform** |
| API | ✅/❌ | ✅/❌ | ✅/❌ | ✅/❌ |
| **Target** |
| Primary ICP | {segment} | {segment} | {segment} | {segment} |Legend: ✅ Full | ⚠️ Partial | ❌ None |: Unknown
Positioning Map Axes
Choose 2 axes that reveal strategic white space:
| Axis Pair | Best When |
|---|---|
| Simple ↔ Complex, SMB ↔ Enterprise | B2B with varied market segments |
| Self-serve ↔ Sales-led, Horizontal ↔ Vertical | GTM strategy differences |
| Price: Low ↔ High, Depth: Shallow ↔ Deep | Value proposition differentiation |
| AI-native ↔ Traditional, New ↔ Established | Technology disruption analysis |
Competitive Brief Structure
- Executive Summary (3-5 sentences)
- Feature Matrix (structured comparison)
- Positioning Map (2×2 visual)
- Differentiation Analysis (strengths/weaknesses table)
- Strategic Recommendations (compete, avoid, position, moat, watch)
- Sources (numbered, with URLs)
Citation Standard
Every factual claim must cite its source:
Competitor X launched feature Y in Q1 2026 [1].
Their pricing starts at $49/mo for teams up to 10 [2].
### Sources
1. {URL or article title, date accessed}
2. {URL or article title, date accessed}No source = speculation, not intelligence. Mark unverified claims as [unverified].
Common Mistakes, With Reasons
| Mistake | Why it fails | Correct |
|---|---|---|
| Old internal note overriding a current official price | Source class does not establish freshness | Compare plan/region/date and retain the change in provenance |
| Treating a search snippet as verified current terms | It may be stale or omit conditions | Read the pertinent source or mark the claim unverified |
| Filling missing data with zero | Creates false certainty | Preserve unknown and state the measurement needed |
Product Health Diagnosis Referencereferences/diagnosis.md
Read when running a full product-health diagnosis: the query order, the metric-tree form, the output contract, and the full common-mistakes list with a worked calculation. The procedure is in metrics.
Query order
For a full diagnosis, use only the query shapes that answer the business question. The following is a possible order, not a mandatory all-shapes collection:
- Catalogue: what is emitted, and at what volume. This tells you which of the following are even possible.
- Volume: the core action, unique actors, 30 days, daily. Then the signup event, 90 days, weekly, for the trend.
- Funnel: signup through the activation event, with the conversion window stated.
- Retention: cohorts by signup, returning on the core action, weekly, with the definition stated.
- Volume, top features: unique actors per feature event over 30 days.
- Breakdown: repeat any of the above across the segment properties that matter.
Metric tree form
Organize into acquisition, activation, engagement, retention, business, under the north star or revenue at the root. Every leaf carries its value and its tag. Every leaf that could not be filled carries unavailable and the reason:
Retention
├── Week 1: 41% [data:posthog:retention_w1_2026-09] (unbounded)
├── Week 4: unavailable: cohorts younger than 4 weeks
└── Curve shape: flattening from week 3 [derived]Never leave a leaf blank and never round an absence to zero.
Output Contract
## DIAGNOSIS COMPLETE
**Product:** {name} · **Stage:** {stage} · **Period:** {range} · **Date:** {today}
**Capabilities resolved:** {capability → concrete source, or "none: files only"}
### Health Scorecard
| Category | Metric | Value | Source | Band ({stage}) | Status | Trend |
### Metric Tree
{full tree, every leaf tagged or marked unavailable with a reason}
### Data Gaps
{per gap: what is missing, which shape would fill it, what it would answer}
### Anomalies
{per anomaly: what, severity, the investigation that resolves it}
### Key Findings
{each with its numbers and tags}
### Recommended Actions
{each with expected impact as metric plus direction, priority, effort}Common Mistakes
| Mistake | Prevention |
|---|---|
| A number without a tag | Every value carries its source, or is marked unavailable |
| Comparing a retention curve to a band computed the other way | Record bounded or unbounded next to the curve |
| A funnel whose conversion window was never read | Read it, state it, next to the rate |
| Treating a recorded metric as current | Date every value; tag anything over 30 days stale |
| Rounding an absence to zero | Unavailable is a value. Zero is a measurement |
| Ending on "connect a product for deeper insight" | Name the shape and the question it would answer, not a vendor |
| Judging a monthly product on weekly retention | Match cohort granularity to the product's rhythm |
| Revenue churn substituted for logo churn in customer LTV | State customer-lifetime model, use monthly logo churn and gross margin |
| ARPA averaged over subscriptions | Aggregate MRR per account, then divide by positive-MRR accounts |
| Benchmark or ARR band proves PMF | Treat heuristics as triage; assess evidence and context separately |
| Full diagnosis for a definition request | Return only the relevant definition/calculation and assumptions |
Worked calculation: A has two subscriptions totaling 150 MRR, B has 200 → account ARPA = 350/2 = 175. With ARPA 120, gross margin 80% and measured monthly logo churn 5%, simple margin-adjusted LTV = 120 × 0.80 / 0.05 = 1,920. A 2% revenue churn input cannot be silently substituted for logo churn. If logo churn is unavailable, report LTV unavailable.
Financial Modelsreferences/finance.md
Scope and resources
Follow references/operating-modes.md at the installation root. 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 metrics 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
| Capability | Used for | Floor when absent |
|---|---|---|
db.query | The billing tables: subscriptions, invoices, customers | Read the schema from migrations or the ORM models, then ask for the figures |
analytics.query | Revenue events, where billing is instrumented as events rather than rows | Skip; event-derived revenue is the weaker source anyway |
docs.search | Recorded revenue: investor updates, monthly notes, board decks | Skip, and mark the figure unavailable |
repo.read | Pricing configuration, plan tiers, billing integration code | Skip when there is no codebase |
files.read / files.write | The artifact itself | Always present |
Four user-provided numbers, each tagged, make a legitimate analysis; four numbers you chose make fraud dressed as a spreadsheet.
Procedure
Find the revenue source. Use the supplied source when suitable; otherwise seek the strongest applicable source in this order:
- 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). - Revenue events via
analytics.query. Weaker: events drift from billing; report the discrepancy. - Recorded figures via
docs.search. Date every one and tag it stale beyond 30 days. - 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.
- Billing tables via
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.
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.
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.
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.
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
| Mistake | Correction |
|---|---|
Reconstructing history from current status | Require historical snapshots or report unavailable history |
| Averaging subscriptions for ARPA | Sum MRR per account, then divide by positive-MRR accounts |
Growth Method Detailsreferences/growth-methods.md
Read only the loop, activation, retention, prioritization, bottleneck-value, intervention-format or output-contract section needed for the request. This resource resolves relative to this folder. Patterns and thresholds below are hypotheses/heuristics, not causal proof or PMF classification.
Growth Loop Patterns
Loops model repeatable feedback where an output supplies the next cycle’s input. Some products grow through several mechanisms; establish loop actors, cycle time, conversion, saturation and economics rather than requiring every funnel to be a loop.
Loop Types
| Loop | Mechanism | B2B Example | Key Metric |
|---|---|---|---|
| Viral | Users invite other users | "Share report with client" → client signs up | Viral coefficient (K) |
| Content | Usage generates content → SEO/social discovery | Public dashboards, templates, benchmarks | Organic traffic |
| Product | Product value grows with usage → word-of-mouth | "We use X for analytics" in job postings | NPS, referral rate |
| Sales-assisted | Product usage triggers sales outreach | Free user hits limit → sales call | PQL → SQL conversion |
| Paid | Revenue funds acquisition → LTV > CAC | Google Ads → free trial → paid conversion | ROAS, CAC payback |
Identifying Which Loop to Build
Use this decision tree based on your data:
- Establish the product's natural value/usage rhythm, eligible activation definition, mature retention, segment and channel economics. No universal activation percentage establishes PMF.
- For a well-retaining relevant segment, explore loop mechanics (sharing, content, referrals, product signals, reinvestment) and test conversion/cycle time; a viral loop is not automatic.
- For declining retention, investigate whether value, fit, mix, seasonality or measurement explains it before increasing acquisition exposure.
- For segment differences, examine sample/selection and test a focused value/acquisition hypothesis. A high activation segment alone does not establish willingness to pay or retention.
- For low measured activation, investigate definition, eligibility and friction. Do not conclude “product problem” from a heuristic cutoff.
Activation Framework
The Aha Moment
The aha moment is when a user first experiences core product value. It is not automatically established by:
- Completing onboarding
- Viewing the dashboard
- Connecting an integration
Potential observed value moments include:
- Getting their first actionable insight
- Completing their first workflow successfully
- Seeing data they couldn't see before
Aha Moment Discovery Method
- Define a signup cohort, mature retention horizon, independent unit and a fixed early feature-use window ending before the retention outcome.
- Compare candidate early actions against later retention for comparable segments, with counts and intervals; avoid selecting a winner from many tiny post-hoc slices.
- Treat prediction as an association: engaged users self-select into actions, and account maturity/need can affect both action and retention.
- Propose a value-based activation definition and validate in future cohorts. A 2× ratio is a local heuristic, not causal proof or a universal threshold.
- Test whether an intervention that changes the early action improves durable value/retention, using a suitable randomized or carefully identified design when feasible. A return event in the early window cannot double as the later outcome.
Time-to-value
Timing suggests a question, not a cause. Median activation above a day can reflect permissions, data availability or a natural usage cycle; under thirty minutes does not prove onboarding works or that acquisition is the constraint.
Activation Hypotheses to Investigate
The following causes are possibilities, not conclusions from the funnel count alone.
| Drop-off Point | Likely Cause | Intervention |
|---|---|---|
| Signup → First Login | Weak motivation, unclear value prop | Improve signup page copy, add social proof |
| First Login → Setup | Onboarding friction, too many steps | Reduce setup steps, add defaults, offer templates |
| Setup → First Value | Value not clear, feature discovery | Guide to aha moment, contextual tooltips, sample data |
| First Value → Repeat | One-time value, no habit trigger | Email drip with use cases, feature discovery |
Retention Curve Interpretation
Curve reading
Read a bounded return curve within the same cohort at mature ages. Flattening suggests a retained segment under that definition; it does not establish PMF, durability or acquisition economics. Continuous decline can reflect value loss, natural episodic usage, eligibility or measurement and requires investigation. Match weekly/monthly rhythm to intended use.
| Pattern | Question before acting |
|---|---|
| Mature curve flattens | Which segment retains, at what absolute floor, with what durable value and economics? |
| Curve keeps falling | Is the cohort mature and comparable; is intended use episodic; are return events valid? |
| Large first-period drop | Which eligible accounts had a real opportunity to experience value? |
| Newer cohorts have higher same-age return | Did mix, acquisition source, seasonality, definition or product change? |
| Older cohorts outperform newer | Which cohort/measurement changes explain the difference? |
| A segment retains more | Is its sample large/comparable, and does customer evidence support an ICP hypothesis? |
Smile curve versus cohort improvement
A bounded-retention smile is a dip followed by higher observed return in the same fixed cohort at later ages, often because dormant members return. For example, January cohort W4 = 12%, W8 = 9%, W12 = 14%. Validate sample/eligibility and the return event; it is a hypothesis about renewed value, not an automatic permission to scale.
March W4 = 16% versus January W4 = 12% is same-age improvement across cohorts, not a smile. It may reflect product changes or acquisition/segment/seasonal differences. Do not attribute causality from this comparison alone. Under unbounded “active on or after age N” retention, the nested returning sets cannot produce a genuine upward smile; verify the definition or calculation when one appears.
ICE Scoring Framework
For prioritizing growth interventions:
ICE Score = (Impact × Confidence × Ease) / 10| Factor | 1-3 | 4-6 | 7-10 |
|---|---|---|---|
| Impact | <5% metric improvement | 5-15% improvement | >15% improvement |
| Confidence | Gut feeling, no data | Some supporting data | Strong data + prior experiments |
| Ease | >2 weeks, cross-team | 1-2 weeks, 1 team | <1 week, 1 person |
With all known factors in 1–10, score range is 0.1–100. Scores are a local prioritization aid, not execution authority. Unknown factors remain unknown; impact must state metric, unit, horizon and assumptions. Compare expected recoverable value/cost and evidence quality alongside the score.
Metrics Triad for Experiments
Define one primary outcome and applicable indicators/guardrails; exactly three total metrics is not required:
- Output metric: What you're trying to improve (e.g., activation rate)
- Input metric: Leading indicator of success (e.g., % users who complete step 2)
- Guardrail metric: What must NOT break (e.g., support ticket volume, time to first response)
If the guardrail degrades, the experiment fails regardless of output metric improvement.
Bottleneck Value
Compare absolute losses and expected recoverable downstream value, not only relative drop rates:
drop_rate = 1 - actors_next / actors_current
absolute_loss = actors_current - actors_next
expected_incremental_value = absolute_loss × plausible_recoverable_share
× downstream_value_conversion × value_per_outcomeLoss example: Step A loses 200/1,000 accounts (20%); step B loses 10/20 (50%). B has the larger percentage, A the larger absolute loss. If A can recover 20% of losses with 10% downstream conversion, it yields four additional outcomes; B at 50% recovery and 100% downstream conversion yields five. Estimates, cost and confidence decide the priority, not either percentage alone.
Intervention Format
### Intervention: {name}
**Bottleneck:** {step or retention week, with the number and its tag}
**Hypothesis:** If we {change}, then {metric} improves by {explicit assumed effect, pp or relative %, source/rationale} because {testable reasoning}
**Type:** {onboarding / re-engagement / feature discovery / value delivery}
**Loop:** {viral / content / product / paid / sales-assisted}
**Implementation:** {steps}
**Metrics:** output {…} · input {…} · guardrail {…}
**ICE:** impact {1-10} × confidence {1-10} × ease {1-10} ÷ 10 = {score}Output Contract
## GROWTH ANALYSIS COMPLETE
**Product:** {name} · **Period:** {range}
**Capabilities resolved:** {capability → concrete source, or "none: files only"}
### Activation Funnel
{step, actors, conversion from previous, tag; conversion window stated}
### Retention
{curve definition, mature age, sample sizes, shape, activation association and segment comparisons}
### Bottlenecks
{absolute losses and expected recoverable value; assumptions, risk and uncertainty explicit}
### Interventions
{top 3 by ICE}
### Tracking Gaps
{steps with no event, properties missing for the segments that matter}Growth Frameworksreferences/growth.md
Scope and resources
Follow references/operating-modes.md at the installation root. A single loop question does not require every analytics shape or a full growth report; use only the relevant steps below.
Load growth method details only for the relevant section: loops, activation, retention, ICE, bottleneck value, the intervention format or the output contract. Load evidence-ledger for sourced claims, the applicable query shape from references/analytics-contract.md, references/capability-map.md before a data provider, and only the relevant definition from metrics.
Capabilities
| Capability | Used for | Floor when absent |
|---|---|---|
analytics.query | The activation funnel and the retention curve, segmented | Map the funnel from the onboarding code, then ask the user for the rates |
analytics.events | Whether each funnel step is emitted at all | Search the repository for the analytics SDK's call sites |
analytics.replay | Watching where users actually stall in the drop-off step | Skip; the drop-off is still located, just not explained |
docs.search | Previously recorded funnel and retention numbers | Skip, and mark the step unavailable |
repo.read | Onboarding flow, tracking coverage, missing instrumentation | Skip when there is no codebase |
files.read / files.write | The artifact itself | Always present |
With no data, the diagnosis still runs: the funnel mapped from code, with its untracked steps named, is a finding.
Procedure
Establish the funnel. Define the steps before pulling anything: signup, first login, the setup step that gates value, the activation event, the repeated core action. Use supplied context first; read
PRODUCT.mdfor lifecycle work or a requested product-wide diagnosis.Pull the funnel. Funnel shape over the ordered steps, conversion window stated (7 to 14 days is typical for B2B). Use the same eligible linked cohort, collect only segment/timing breakdowns relevant to the question, and report right-censoring for users without the full window. Without
analytics.query: map the journey from the onboarding code, compare steps against emitted events, report every step with no event as a blind spot, and ask for the rates.Pull retention. Retention shape: cohorts by signup, returning on the core action, weekly, definition stated. Compare segments and activation status, when relevant, with a fixed pre-outcome activation window and mature cohorts at equal age. State sample sizes, mix/seasonality changes and bounded/unbounded definition; incomplete cohorts do not supply a low retention measurement.
Analyze activation. Rank bottlenecks by absolute loss and expected recoverable downstream value (formula in the reference), estimates tagged as assumptions with a source or rationale, weighing cost, risk and confidence. The largest percentage drop is a clue, not automatically the highest-value intervention. Without measured linked cohorts or credible recovery assumptions, keep the ranking provisional. Segment relevant steps and examine time-to-value, replays or interviews. Timing suggests a question, not a cause (see the reference).
Analyze retention. Classify the curve under the stated definition and mature window. If requested, compute the activation-retention association with denominators, uncertainty and a pre-outcome window; it is not causal proof. Compare segments at equal age and sample/eligibility; a best-retention segment is an ICP hypothesis, not validation. A smile is rising bounded return within the same cohort as it ages; newer cohorts doing better at the same age is a cross-cohort comparison (see the reference). No activation or retention cutoff proves PMF.
Design interventions. For a full intervention request, propose one per material bottleneck in the intervention format, with a provisional ICE comparison where inputs are known. Present the requested number (top three by default); missing impact/confidence inputs remain unknown. A score does not authorize execution or release.
Report. A full diagnosis emits the applicable sections of the output contract in the reference (
## GROWTH ANALYSIS COMPLETE); narrow requests use the requested format. Every number tagged; every step without data named unavailable, with the shape that would fill it.
Common Mistakes
| Mistake | Correction |
|---|---|
| Activation-retention ratio proves activation causes retention | Use a pre-outcome window, adjust comparable populations, then test causally |
| All query shapes for a loop question | Use supplied mechanics and only relevant evidence; preserve requested scope |
SaaS Metric Definitions and Heuristic Bandsreferences/metric-definitions.md
Read only the requested metric/category and relevant heuristic band. Links resolve relative to this folder. No table below establishes PMF or company stage.
Core Metrics
The Shape column names the question shape from references/analytics-contract.md, never a tool.
Acquisition
| Metric | Formula | Shape |
|---|---|---|
| Signups per week | Unique eligible signup actors/accounts per week (state unit) | Volume, unique, weekly |
| Signup trend | Week-over-week change in signups | Derived from the above |
| Signup to activation | Activated ÷ signed up within the window | Funnel |
Activation
| Metric | Formula | Shape |
|---|---|---|
| Activation rate | Actors reaching the activation event ÷ signups | Funnel |
| Time to activate | Median time from signup to activation | Funnel, time to convert |
| Setup completion | Actors completing onboarding ÷ signups | Funnel |
Engagement
| Metric | Formula | Shape |
|---|---|---|
| DAU | Unique actors on the core action in a day | Volume, unique, daily |
| WAU | Unique actors over 7 days | Volume, unique |
| MAU | Unique actors over 30 days | Volume, unique |
| Stickiness | DAU ÷ MAU | Derived |
| Feature adoption | Unique actors per feature event ÷ active actors | Volume, unique, per event |
Retention
| Metric | Formula | Shape |
|---|---|---|
| Week N retention | Cohort members active in week N ÷ cohort size | Retention |
| Net dollar retention | (Starting MRR + expansion − contraction − churn) ÷ starting MRR | db.query over billing |
| Logo churn | Churned accounts ÷ starting accounts | db.query over subscriptions |
Revenue
| Metric | Formula | Shape |
|---|---|---|
| MRR | Sum of active monthly recurring revenue | db.query |
| ARR | MRR × 12 | Derived |
| ARPA | Total account MRR ÷ distinct positive-MRR accounts | Derived, aggregate subscriptions per account first |
| Simple customer LTV | ARPA ÷ monthly logo churn rate | Derived, assumes stable ARPA and constant monthly churn |
| Margin-adjusted customer LTV | ARPA × gross margin ÷ monthly logo churn rate | Derived, approximate customer lifetime gross profit |
| CAC | Sales and marketing spend ÷ new customers | db.query or user-provided |
| LTV:CAC | Margin-adjusted LTV ÷ CAC | Derived; use matched acquisition cohorts and declared cost policy |
| CAC payback | CAC ÷ (ARPA × gross margin) | Derived; consistent monthly revenue/cost model |
| Quick ratio | (New + expansion + reactivation MRR) ÷ (contraction + churn MRR) | Derived from the waterfall; report variant if excluding reactivation |
| Burn multiple | Net burn ÷ net new ARR | User-provided |
Units, windows and undefined ratios
Specify currency/unit, monthly plan normalization, discounts/trials/taxes policy, timezone, date range, complete closed periods and unit of analysis. A present-day subscription status is not historical monthly MRR; use the historical revenue input contract when querying history. Zero MRR is a measured amount; a missing snapshot is unavailable. Zero denominators make ARPA/churn/LTV/CAC ratios undefined, not zero. A zero-churn month is insufficient evidence of infinite customer LTV.
For customer LTV, churn is a monthly probability/fraction of starting accounts, not revenue churn or a percentage numeral. The simple model assumes constant ARPA, margin and independent churn over time; prefer measured cohort value when available. Label whether LTV includes gross margin when using LTV:CAC.
For NDR specify start date, end date, the fixed starting paid-account set, starting MRR and ending MRR of those same accounts, and observation completeness. NDR = ending MRR of starting accounts / starting MRR of those accounts. Exclude revenue from new accounts and returning accounts outside that starting set. A returning account inside the starting set over a longer window contributes to its final ending MRR; do not double-count its churn/reactivation across intervening months. Compare ratios only across matching windows and money definitions; a monthly NDR and annual NDR are different metrics.
For funnels, use the same eligible cohort in numerator/denominator and state the conversion window. For bounded retention, compare mature cohorts at the same age and aligned natural usage rhythm; unbounded retention is a different definition.
MRR Waterfall
Ending MRR = Starting MRR
+ New MRR (new customers)
+ Expansion MRR (upgrades, add-ons)
+ Reactivation MRR (returning churned customers)
− Contraction MRR (downgrades)
− Churn MRR (cancellations)The identity is the check: if the components do not reconcile to the ending figure, the segmentation is wrong, not the arithmetic. Historical revenue SQL holds the query patterns for computing it against a billing schema.
Benchmark Bands
These are working heuristics for triage, not sourced industry benchmarks. They are here so a number gets a reaction rather than a shrug. The moment a product has two quarters of its own history, its own trend is the better band, and any conclusion that hinges on the difference between a yellow and a green deserves the real comparison rather than this table.
Seed context (supplied/evidenced, not an ARR or PMF classification)
| Metric | Poor | Okay | Good |
|---|---|---|---|
| Activation rate | <15% | 15–30% | >30% |
| Week 1 retention | <20% | 20–40% | >40% |
| Week 4 retention | <5% | 5–15% | >15% |
| DAU/MAU | <5% | 5–15% | >15% |
| MoM growth | <5% | 5–15% | >15% |
Series A context (supplied/evidenced)
| Metric | Poor | Okay | Good |
|---|---|---|---|
| Activation rate | <25% | 25–40% | >40% |
| Week 1 retention | <30% | 30–50% | >50% |
| Week 4 retention | <10% | 10–25% | >25% |
| DAU/MAU | <10% | 10–20% | >20% |
| NDR | <90% | 90–110% | >110% |
| MoM growth | <10% | 10–20% | >20% |
| Quick ratio | <1 | 1–2 | >2 |
Growth context (supplied/evidenced)
| Metric | Poor | Okay | Good |
|---|---|---|---|
| Activation rate | <35% | 35–50% | >50% |
| Week 1 retention | <40% | 40–60% | >60% |
| Week 4 retention | <15% | 15–30% | >30% |
| DAU/MAU | <15% | 15–25% | >25% |
| NDR | <100% | 100–120% | >120% |
| LTV:CAC | <2× | 2–4× | >4× |
| CAC payback | >24mo | 12–24mo | <12mo |
| Quick ratio | <2 | 2–4 | >4 |
Retention bands assume a weekly-rhythm product. For a product used monthly by design, weekly retention is the wrong instrument and the bands do not apply: switch the cohort granularity to match the product's natural rhythm and say so in the artifact.
SaaS Metrics Referencereferences/metrics.md
Scope and resources
Follow references/operating-modes.md at the installation root. Answer a single metric directly with its unit, denominator, period and assumptions; it needs no health scorecard and no other query shapes.
Load metric definitions and heuristic bands only for the requested metric/category, and the diagnosis reference for a full diagnosis (query order, metric-tree form, output contract, worked calculation). Load evidence-ledger for sourced claims, the relevant section of references/analytics-contract.md for a query, and references/capability-map.md before accessing a connected source.
Capabilities
| Capability | Used for | Floor when absent |
|---|---|---|
analytics.query | Volume, funnel and retention shapes | Read instrumentation from code for what could be measured, then ask for current values |
analytics.events | Which events exist, and their volume | Search the repository for analytics call sites |
db.query | Revenue, account and subscription metrics | Read the schema from migrations, then ask for the numbers |
docs.search | Recorded metrics, dashboards, analytics notes | Skip; mark the metric unavailable |
repo.read | Instrumentation, data model, feature inventory | Skip when there is no codebase |
files.read / files.write | The artifact itself | Always present |
Nothing here is required: a diagnosis with every value unavailable and a named question per gap is valid output.
Procedure
For a definition or calculation, select the formula, validate the supplied inputs, compute only that metric, and explain undefined or missing inputs. The steps below apply when product-health analysis is requested; lifecycle work reads only the active context needed.
- Resolve capabilities and context. Run the resolution protocol in
references/capability-map.md; record what resolved. Establish product name, supplied/evidenced stage (not inferred from ARR or a PMF score), activation and retention events, and segment properties: supplied context first,PRODUCT.mdfor lifecycle or product-wide work, then ask only for material missing definitions. Never guess an activation event. - Gather only the query shapes that answer the business question. Without
analytics.query, use supplied figures, relevant recorded metrics or a focused instrumentation check, and request only the missing values this diagnosis needs. Date every source; tag a value older than 30 days stale. - Build the metric tree: acquisition, activation, engagement, retention, business, under the north star or revenue. Every leaf carries its value and tag, or
unavailableand the reason. - Detect anomalies, each with its number and tag, and the investigation that would resolve it:
- Week-over-week change above 20% in either direction
- A metric at zero or null that should not be
- A mature retention curve still falling at a relevant age; investigate segment/definition/context without declaring PMF absent
- Activation below 20%
- Any value older than 30 days
- Score against the stage band only where applicable, using the conditional heuristic table in
references/metric-definitions.md. Prefer actual targets, comparable cohorts and the product's history; an unknown stage gets no guessed band. Show red, yellow or green beside the band used. - Report. A full diagnosis emits the applicable sections of the output contract and ends with
## DIAGNOSIS COMPLETE; a narrow question keeps its requested format. For each unresolved capability, state which shape would close which gap and what it would answer, never a product to install.
Common Mistakes
| Mistake | Prevention |
|---|---|
| Rounding an absence to zero | Unavailable is a value. Zero is a measurement |
| Comparing a retention curve to a band computed the other way | Record bounded or unbounded next to the curve |
| Revenue churn substituted for logo churn in customer LTV | State customer-lifetime model, use monthly logo churn and gross margin |
| ARPA averaged over subscriptions | Aggregate MRR per account, then divide by positive-MRR accounts |
OKR Method Referencereferences/okr-method.md
Read when writing or reviewing objectives and key results (the KR quality check), scoring, checking alignment, finding a baseline, or setting the review cadence. The procedure is in OKRs.
OKR Methodology
Objectives: qualitative, inspirational, time-bound. Answer: "Where are we going?"
- No metrics in objectives: those belong in Key Results
- Must be achievable in the period (typically 90 days)
- Should feel slightly uncomfortable: easy objectives are not OKRs
- Max 3 per team per quarter (fewer is better)
- An objective that survives unchanged for four quarters is a mission statement
Key Results: quantitative, binary-scorable. Answer: "How do we know we got there?"
- Formula:
[Verb] [metric] from [baseline] to [target] by [date] - Scored using the team’s committed/stretch convention; missing measurements remain unscored, not zero
- 2–4 KRs per Objective (3 is optimal)
- Every KR must be measurable: if you can't score it, rewrite it
KR Formula Examples
| Good KR | Bad KR | Problem with bad |
|---|---|---|
| Increase W4 retention from 18% to 28% by June 30 | Improve retention | No baseline, no target, no date |
| Grow MRR from $42K to $65K by end of Q2 | Revenue growth | Not specific |
| Reduce activation time from 4 days to 1 day by Q2 | Faster activation | No baseline |
| Increase report-sharing rate from 12% to 35% by Q2 | More sharing | No baseline |
0.7 Scoring Philosophy
For a team that explicitly uses stretch OKRs, 0.7 can be the agreed ambition target. Preserve the team’s convention: committed goals can require 1.0, and achieving them is not evidence of an easy target. The example bands below apply only to the selected stretch convention.
| Score | Meaning | Action |
|---|---|---|
| 0.9–1.0 | Set bar higher next quarter | Celebrate, but question ambition |
| 0.7–0.89 | Success | Target zone |
| 0.4–0.69 | Partial: needs attention | Investigate blockers |
| 0.0–0.39 | Miss | Root cause analysis required |
OKR Alignment
OKRs cascade: Company → Product → Team. BuilderOS focuses on the Product-level OKR tree.
Alignment check: Map to supplied company objectives where available. A standalone draft can state alignment unverified when the level above is missing; do not invent an objective or require a broader strategy exercise.
Baseline Discovery Protocol
For each KR, find a real baseline: never estimate:
- Live data: the relevant query shape or database reading; preserve definition, population, window, capture date and source
- Vault-based: Search the vault for metric name + product name; check periodic notes
- User-provided: Ask directly: "What's the current value of [metric]?"
- Unknown: Record unknown plus the measurement method, owner and proposed capture date. Do not replace it with zero or a fabricated improvement target; propose "establish the baseline for X by {date}" when that is the useful result.
Never write a KR with a made-up baseline. A KR reading "from ??? to 30%" is not actionable.
A key result written as "improve activation to 40%" with no current number is unscoreable, and the team discovers this at review, not now. "Establish the baseline for X by {date}" is a legitimate key result and a far better one than a target invented to look decisive.
Common Mistakes
A scoped OKR request uses supplied context and output destination; it does not require initiative state or gate overrides.
| Anti-pattern | Example | Fix |
|---|---|---|
| Task disguised as KR | "Launch new onboarding flow by Q2" | "Increase activation rate from 22% to 35% by Q2" |
| Objective that's a KR | "Grow revenue by 50%" | "Become the go-to analytics tool for Series A PMs" |
| Too many KRs | 7 KRs per Objective | Max 4: cut the weakest |
| Sandbagged targets | Increase MAU from 500 to 510 | Target difficulty: 70% chance of hitting at full effort |
| Unknown baseline replaced by zero | "Increase activation from 0 to 40%" without data | Record unknown; establish a sourced baseline before setting the target |
| KR without measurement | "Improve NPS" | "Increase NPS from 32 to 48 by Q2 (quarterly survey)" |
| KRs all measuring same thing | 3 KRs about revenue | Use Metrics Triad: output + input + guardrail |
Metrics Triad for OKRs
Every Objective should have KRs covering 3 types:
- Output KR: the result you want (e.g., activation rate, MRR)
- Input KR: the leading indicator you control (e.g., % users reaching step 3)
- Guardrail KR: what must NOT degrade (e.g., churn rate, support volume)
Review Cadence
| Review | When | What to Check |
|---|---|---|
| Weekly check-in | Weekly | On track? Blockers emerging? |
| Mid-quarter pivot | Week 6 | KRs below 30% → adjust scope or address blockers |
| End-of-quarter scoring | Final week | Score all KRs 0.0–1.0 |
| OKR retrospective | After scoring | What to write differently next quarter? |
OKR Output Contractreferences/okr-output-contract.md
Read when writing the OKR set. Standalone output follows the requested format and destination; adapt the template only where useful and omit lifecycle gate claims. The paths below apply to lifecycle artifacts.
## OKR COMPLETE
**Cycle:** {period} · **Ladders up to:** {the objective above, or "none supplied"}
**Capabilities resolved:** {capability → concrete source, or "none: files only"}
### Objective {n}: {title}
| KR | Baseline (tag) | Target | Owner | How it will be measured |
### Alignment Matrix
{objective → level above; KR → owner}
### Measurement Gaps
{KRs with no baseline, and the shape that would establish one}
### Review CadenceOKR Frameworksreferences/okrs.md
Mode and resources
Follow operating modes and resource paths. Standalone: Draft or review the supplied objectives, key results or metric. Where the baseline is unknown, propose measurement before an improvement target; missing company objectives limit alignment claims but do not block a scoped draft, which may state alignment unverified.
Lifecycle: Apply the named phase prerequisites, artifact paths and gate recording only when the user requests that phase or initiative. Missing prerequisites block that lifecycle transition, not a standalone artifact. Completion markers with gate verdicts claim lifecycle completion only after the gate passes.
Use metrics only for an unclear metric definition, the needed shape in references/analytics-contract.md for baseline measurement, and evidence-ledger for lifecycle tagging. Retrieve facts before asking; ask what remains per the pressure-testing rounds.
Read the OKR method reference for objective and KR rules and examples, scoring, the metrics triad, review cadence and all anti-patterns.
Capabilities
| Capability | Used for | Floor when absent |
|---|---|---|
analytics.query | The baseline behind every key result | Ask the user; tag [doc:user-{date}-{topic}]; a KR whose baseline is user-provided says so |
db.query | Database baselines: accounts, revenue, usage | Same floor |
docs.search | Strategy, prior OKRs, the objectives above | Ask for them; without the level above, alignment cannot be checked |
docs.write | Requested document destination or publishing | Use the requested accessible format; publication/config changes require authorization |
files.read / files.write | The artifact itself | Always present |
Procedure
- Resolve capabilities and read the level above: company or group objectives, current strategy, the north star metric, and the previous cycle's OKRs with how they actually scored. Without the level above you are writing goals, not OKRs: say so rather than inventing an alignment.
- Derive objectives. Three at most. Qualitative, time-bound, and written so someone outside the team can tell whether it happened.
- Find the baseline for every key result, first. Baseline before target, always. For each KR, in order: live data (the relevant query shape or database reading, preserving definition, population, window, capture date and source); the vault (metric name plus product name, periodic notes); the user. Where none resolves, record unknown with the measurement method, owner and proposed capture date, and make this cycle's KR "establish the baseline for X by {date}". Never write a KR with a made-up baseline, and never replace an unknown with zero.
- Set targets from the baseline plus the rate the team has actually achieved, adjusted for what is changing. Then apply the KR quality check:
[Verb] [metric] from [baseline] to [target] by [date], 2–4 KRs per objective, each scorable under the team's committed/stretch convention. - Check alignment. Each objective maps to the level above; each key result maps to an owner. Anything that maps to nothing gets cut or gets a reason.
- Report in the output contract, ending with
## OKR COMPLETE. Every baseline tagged; every KR whose baseline is user-provided or absent flagged as such on its face.
Common Mistakes
| Anti-pattern | Example | Fix |
|---|---|---|
| Task disguised as KR | "Launch new onboarding flow by Q2" | "Increase activation rate from 22% to 35% by Q2" |
| Objective that's a KR | "Grow revenue by 50%" | "Become the go-to analytics tool for Series A PMs" |
| Unknown baseline replaced by zero | "Increase activation from 0 to 40%" without data | Record unknown; establish a sourced baseline before setting the target |
| KRs all measuring same thing | 3 KRs about revenue | Use Metrics Triad: output + input + guardrail |
Financial Formulas and Modelsreferences/revenue-models.md
Read only the relevant metric, projection, heuristic or output-contract section. This resource resolves relative to this folder; sibling SQL is in revenue-sql.md.
Output Contract
For a full report. Narrow requests keep their requested format and only applicable sections.
## FINANCIAL ANALYSIS COMPLETE
**Product:** {name} · **Period:** {range}
**Revenue source:** {billing tables / revenue events / recorded / user-provided}
**Capabilities resolved:** {capability → concrete source, or "none: files only"}
## MRR Waterfall
{starting, new, expansion, reactivation, contraction, churn, ending, reconciled}
### Unit Economics
{each metric with its inputs and tags}
### Cohort Revenue Retention
{the triangle, with NDR}
### Projection
{low and high case, with the assumption and its source stated}
### Key Findings
{each with its numbers and tags}MRR Waterfall
Ending MRR = Starting MRR + New + Expansion + Reactivation - Contraction - Churn| Component | Definition | Source |
|---|---|---|
| New MRR | First positive recurring revenue from a customer | Complete first-paid history plus snapshots |
| Expansion MRR | Positive account-level MRR increase among continuing paid customers | Normalized historical account snapshots |
| Reactivation MRR | Revenue from returning churned customers | Previous churn → new active |
| Contraction MRR | Account-level MRR decrease while remaining paid | Normalized historical account snapshots |
| Churn MRR | Starting positive MRR lost when account MRR reaches zero | Complete adjacent closed-month snapshots |
Unit Economics Formulas
ARPA = Total MRR / Active Accounts
Monthly Logo Churn = Churned Accounts / Starting Accounts
Monthly Revenue Churn = Churn MRR / Starting MRR
Gross Churn = (Contraction + Churn MRR) / Starting MRR
NDR = (Starting + Expansion - Contraction - Churn) / Starting MRR × 100%
Simple customer LTV = ARPA / Monthly Logo Churn Rate
Simple margin-adjusted LTV = ARPA × Gross Margin / Monthly Logo Churn Rate
CAC = Sales & Marketing Spend / New Customers Acquired
LTV:CAC = Margin-adjusted LTV / CAC
CAC Payback (months) = CAC / (ARPA × Gross Margin)
Quick Ratio = (New + Expansion + Reactivation) / (Contraction + Churn)
Burn Multiple = Net Burn / Net New ARR
Rule of 40 = Revenue Growth Rate (%) + Profit Margin (%)The simple LTV model assumes constant ARPA, margin and independent monthly logo churn; it is an approximation, not cohort lifetime value. Rates are fractions, not percentages. Zero denominators produce undefined ratios, never zero or an invented finite LTV. NDR tracks only the starting customer set; reactivation enters NDR only when the customer belongs to that starting set under the stated period definition.
SQL Templates
Read the sibling revenue-sql.md only when needed. It contains account-level waterfall (including reactivation), cohort revenue retention with full-year month offsets, period ARPA, plan ARPA, and logo churn queries. Validate the input contract before running; the regression fixtures execute these exact query blocks. A missing/open month is unavailable, not a zero-revenue snapshot.
Projection Method
Component Growth Model
MRR(t+1) = MRR(t) + new_mrr + expansion_mrr + reactivation_mrr
- contraction_mrr - churn_mrrUse measured monthly movements (for example, a trailing three-closed-month average), with segment and currency consistent across inputs. An alternative uses monthly rates multiplied by starting MRR for expansion, contraction and churn, while new/reactivation remain separate additions. Never subtract churn again from an NDR assumption that already includes churn. Annual retention must be converted to a stated monthly model; dividing (annual NDR - 1) by 12 and calling that expansion is invalid.
Project the requested horizon, with explicitly labeled scenarios. Scenario adjustments below are illustrations, not measured benchmarks; source the actual assumptions and keep rates in [0, 1].
Scenario Modeling
| Scenario | Churn Adjustment | New MRR Adjustment |
|---|---|---|
| Pessimistic | +2pp churn | -20% new MRR |
| Base | Current rates | Current rates |
| Optimistic | -1pp churn | +20% new MRR |
Illustrative Heuristics by Stage
These are directional prompts, not sourced targets. Verify a relevant cohort, contract length, margin and company stage before using them for a decision.
| Metric | Seed | Series A | Growth |
|---|---|---|---|
| Monthly logo churn | <8% | <5% | <3% |
| NDR | >90% | >100% | >110% |
| LTV:CAC | >2x | >3x | >4x |
| CAC Payback | <24mo | <18mo | <12mo |
| Quick Ratio | >1.5 | >2 | >4 |
| Burn Multiple | <3x | <2x | <1.5x |
| Rule of 40 | N/A | >20 | >40 |
Historical Revenue SQLreferences/revenue-sql.md
Load this reference only for a revenue query. Paths are relative to this folder; shared BuilderOS resources resolve from the supplied installation root. These are PostgreSQL query templates, validated on synthetic fixtures in DuckDB; they are not a certification of a customer's PostgreSQL integration. Read the real schema and adapt the input relations, not the metric definitions.
Required input contract
monthly_revenue_snapshots(period DATE, customer_id, plan_name, mrr NUMERIC): Historical end-of-month recurring revenue, one nonnegative MRR contribution per subscription/plan (no duplicated invoice rows), in a single named currency and unit. Periods are first-of-month dates. Annual plans are divided by 12 before entering this relation. Exclude taxes, one-off charges, trials/free accounts; document discounts and FX policy. Present-day subscription status cannot reconstruct this history.revenue_calendar(period DATE, is_closed BOOLEAN, is_complete BOOLEAN): Exactly one row for every consecutive month of the observation window, including months with zero revenue. Completeness is a source assertion: an absent customer row means zero revenue only in a certified complete snapshot. Open/missing/incomplete months are unavailable, never synthesized as churn. Validate continuity and completeness for the entire requested range before executing any template.customer_revenue_history(customer_id, first_paid_period DATE): Exactly one row per customer with their true first positive-MRR month, including history before the snapshot window. Every snapshot customer must have a history row. Without full first-paid history, classify zero-to-positive MRR as unclassified activation, not new/reactivation, and do not run the classified waterfall.- Bind
{report_start}and{report_end}to explicit first-of-month dates in chronological order. Waterfall/churn require a complete closed opening snapshot one month beforereport_start. Never append an unobserved month afterreport_end. The month of first observed data is not an opening balance of zero unless certified as such. - For cohort retention also require every member's first-paid snapshot for the denominator; validate that its MRR is positive and that the first-paid mapping is complete. Otherwise mark that cohort unavailable. Cohorts span all years using total elapsed months; 0–12 means inception plus twelve later months. A reactivation retains its original cohort.
Validate duplicate calendar/history keys, nonnegative amounts, non-NULL IDs/amounts/dates, contiguous periods, all history mappings and opening/baseline coverage before running. Bind dates through the data provider rather than interpolating user text. Save the adapted SQL and query window with the source tag. The templates do not invent the input relations or certify completeness.
MRR Waterfall
Churn/contraction are positive losses. New and reactivated revenue are separate. Reconcile each row: starting + new + expansion + reactivation - contraction - churn = ending. Empty account populations still yield zero-revenue calendar rows.
WITH params AS (
SELECT DATE '{report_start}' AS report_start, DATE '{report_end}' AS report_end
),
calendar AS (
-- Calendar rows certify complete, closed months; validate continuity before running.
SELECT c.period
FROM revenue_calendar c CROSS JOIN params p
WHERE c.is_closed AND c.is_complete
AND c.period BETWEEN p.report_start - INTERVAL '1 month' AND p.report_end
),
account_mrr AS (
-- Snapshot input is already normalized to monthly recurring revenue in one currency.
SELECT period, customer_id, SUM(mrr) AS mrr
FROM monthly_revenue_snapshots
GROUP BY period, customer_id
),
accounts AS (
SELECT customer_id, first_paid_period FROM customer_revenue_history
),
account_months AS (
-- Missing revenue is zero ONLY because the calendar certifies complete snapshots.
SELECT c.period, a.customer_id, a.first_paid_period, COALESCE(m.mrr, 0) AS mrr
FROM calendar c CROSS JOIN accounts a
LEFT JOIN account_mrr m ON m.period = c.period AND m.customer_id = a.customer_id
),
movements AS (
SELECT c.period, c.customer_id, c.first_paid_period,
c.mrr AS current_mrr, p.mrr AS previous_mrr
FROM account_months c
JOIN account_months p ON p.customer_id = c.customer_id
AND p.period = c.period - INTERVAL '1 month'
CROSS JOIN params r
WHERE c.period BETWEEN r.report_start AND r.report_end
)
SELECT c.period,
COALESCE(SUM(previous_mrr), 0) AS starting_mrr,
SUM(CASE WHEN previous_mrr = 0 AND current_mrr > 0 AND first_paid_period = c.period
THEN current_mrr ELSE 0 END) AS new_mrr,
SUM(CASE WHEN previous_mrr = 0 AND current_mrr > 0 AND first_paid_period < c.period
THEN current_mrr ELSE 0 END) AS reactivation_mrr,
SUM(CASE WHEN previous_mrr > 0 AND current_mrr > previous_mrr
THEN current_mrr - previous_mrr ELSE 0 END) AS expansion_mrr,
SUM(CASE WHEN current_mrr > 0 AND current_mrr < previous_mrr
THEN previous_mrr - current_mrr ELSE 0 END) AS contraction_mrr,
SUM(CASE WHEN previous_mrr > 0 AND current_mrr = 0 THEN previous_mrr ELSE 0 END) AS churn_mrr,
COALESCE(SUM(current_mrr), 0) AS ending_mrr
FROM calendar c CROSS JOIN params r
LEFT JOIN movements m ON m.period = c.period
WHERE c.period BETWEEN r.report_start AND r.report_end
GROUP BY c.period
ORDER BY c.period;Cohort Revenue Retention
Uses inception MRR, not the first month in a cropped report, as the denominator. Includes zero-revenue observed cohort periods, excludes unobserved future periods. mrr_retention is a ratio (1.0 = 100%), not an annual growth assumption.
WITH params AS (
SELECT DATE '{report_start}' AS report_start, DATE '{report_end}' AS report_end
),
account_mrr AS (
SELECT period, customer_id, SUM(mrr) AS mrr
FROM monthly_revenue_snapshots
GROUP BY period, customer_id
),
cohort_baseline AS (
-- Require every member's inception snapshot; incomplete historical cohorts are unavailable.
SELECT h.first_paid_period AS cohort_month, COUNT(*) AS cohort_accounts, SUM(m.mrr) AS initial_mrr
FROM customer_revenue_history h
JOIN account_mrr m ON m.customer_id = h.customer_id AND m.period = h.first_paid_period
GROUP BY h.first_paid_period
),
cohort_revenue AS (
SELECT h.first_paid_period AS cohort_month, c.period,
CAST((EXTRACT(YEAR FROM c.period) - EXTRACT(YEAR FROM h.first_paid_period)) * 12
+ EXTRACT(MONTH FROM c.period) - EXTRACT(MONTH FROM h.first_paid_period) AS INTEGER) AS month_number,
SUM(COALESCE(m.mrr, 0)) AS total_mrr,
COUNT(CASE WHEN m.mrr > 0 THEN h.customer_id END) AS active_accounts
FROM revenue_calendar c CROSS JOIN customer_revenue_history h CROSS JOIN params p
LEFT JOIN account_mrr m ON m.period = c.period AND m.customer_id = h.customer_id
WHERE c.is_closed AND c.is_complete
AND c.period BETWEEN p.report_start AND p.report_end
AND h.first_paid_period <= c.period
GROUP BY h.first_paid_period, c.period
)
SELECT c.cohort_month, c.period, c.month_number, b.cohort_accounts,
c.total_mrr, c.active_accounts, c.total_mrr / NULLIF(b.initial_mrr, 0) AS mrr_retention
FROM cohort_revenue c JOIN cohort_baseline b ON b.cohort_month = c.cohort_month
WHERE c.month_number BETWEEN 0 AND 12
ORDER BY c.cohort_month, c.month_number;Period MRR and Account Count
ARPA divides revenue by distinct positive-MRR accounts after aggregating subscriptions. Zero active accounts return zero MRR and NULL ARPA, which means undefined.
WITH account_mrr AS (
SELECT s.customer_id, SUM(s.mrr) AS mrr
FROM monthly_revenue_snapshots s
JOIN revenue_calendar c ON c.period = s.period AND c.is_closed AND c.is_complete
WHERE s.period = DATE '{report_end}'
GROUP BY s.customer_id
)
SELECT COUNT(CASE WHEN mrr > 0 THEN customer_id END) AS active_accounts,
COALESCE(SUM(mrr), 0) AS total_mrr,
SUM(mrr) / NULLIF(COUNT(CASE WHEN mrr > 0 THEN customer_id END), 0) AS arpa
FROM account_mrr;MRR by Plan
An account with multiple plans may contribute to several plan groups; group counts are not additive. Each group's ARPA uses accounts, not subscription rows.
WITH account_plan_mrr AS (
SELECT s.plan_name, s.customer_id, SUM(s.mrr) AS mrr
FROM monthly_revenue_snapshots s
JOIN revenue_calendar c ON c.period = s.period AND c.is_closed AND c.is_complete
WHERE s.period = DATE '{report_end}'
GROUP BY s.plan_name, s.customer_id
)
SELECT plan_name, COUNT(CASE WHEN mrr > 0 THEN customer_id END) AS accounts,
SUM(mrr) AS mrr,
SUM(mrr) / NULLIF(COUNT(CASE WHEN mrr > 0 THEN customer_id END), 0) AS arpa
FROM account_plan_mrr
GROUP BY plan_name
ORDER BY mrr DESC;Monthly Churn Rate
The denominator is the previous complete month's positive-MRR accounts. Churn is their loss in the current observed month; new/reactivated customers never enter that month's starting denominator. Zero starting accounts return NULL churn rate.
WITH params AS (
SELECT DATE '{report_start}' AS report_start, DATE '{report_end}' AS report_end
),
calendar AS (
-- Calendar rows certify complete, closed months; validate continuity before running.
SELECT c.period
FROM revenue_calendar c CROSS JOIN params p
WHERE c.is_closed AND c.is_complete
AND c.period BETWEEN p.report_start - INTERVAL '1 month' AND p.report_end
),
account_mrr AS (
-- Snapshot input is already normalized to monthly recurring revenue in one currency.
SELECT period, customer_id, SUM(mrr) AS mrr
FROM monthly_revenue_snapshots
GROUP BY period, customer_id
),
accounts AS (
SELECT customer_id, first_paid_period FROM customer_revenue_history
),
account_months AS (
-- Missing revenue is zero ONLY because the calendar certifies complete snapshots.
SELECT c.period, a.customer_id, a.first_paid_period, COALESCE(m.mrr, 0) AS mrr
FROM calendar c CROSS JOIN accounts a
LEFT JOIN account_mrr m ON m.period = c.period AND m.customer_id = a.customer_id
),
movements AS (
SELECT c.period, c.customer_id, c.first_paid_period,
c.mrr AS current_mrr, p.mrr AS previous_mrr
FROM account_months c
JOIN account_months p ON p.customer_id = c.customer_id
AND p.period = c.period - INTERVAL '1 month'
CROSS JOIN params r
WHERE c.period BETWEEN r.report_start AND r.report_end
)
SELECT c.period,
COUNT(CASE WHEN previous_mrr > 0 THEN customer_id END) AS starting_accounts,
COUNT(CASE WHEN previous_mrr > 0 AND current_mrr = 0 THEN customer_id END) AS churned_accounts,
100.0 * COUNT(CASE WHEN previous_mrr > 0 AND current_mrr = 0 THEN customer_id END)
/ NULLIF(COUNT(CASE WHEN previous_mrr > 0 THEN customer_id END), 0) AS churn_rate_pct
FROM calendar c CROSS JOIN params r
LEFT JOIN movements m ON m.period = c.period
WHERE c.period BETWEEN r.report_start AND r.report_end
GROUP BY c.period
ORDER BY c.period;Regression examples
Two accounts at 100 MRR in July, only one left in August: August starting MRR 200, churn 100, ending 100, logo churn 1/2 = 50%; no September churn without a closed September snapshot. A returning customer first paid in May is reactivated, not new. January 2025 to February 2026 is month 13 and is excluded from the 0–12 cohort view. Account A at 100+50 and B at 200 produces ARPA 350/2 = 175.
Run the exact reference queries and committed fixtures with uv run --with duckdb python tests/analytics/revenue-sql.py. This is an optional development check, with no runtime dependency added to BuilderOS. It validates query arithmetic in DuckDB, not production ingestion or PostgreSQL dialect compatibility.
Strategy Method Detailsreferences/strategy-methods.md
Read only the PMF, positioning, North Star, signal-reading, example or output-contract section needed for the request. This file resolves relative to this folder.
PMF Signal Framework (4 Signals)
Use four complementary signals as an unvalidated local diagnostic rubric; they are not statistically independent or a universal PMF classifier. Each signal scored 0–2: 0 = absent, 1 = weak/partial, 2 = strong. Fixed total: 0–8. Unknown is not zero: Report observed points, known/4 coverage and possible interval; do not classify incomplete readings as a definitive PMF band.
| Signal | Score 2 | Score 1 | Score 0 (known absence) | Source |
|---|---|---|---|---|
| Sean Ellis score | >40% "very disappointed" | 25–40% | <25% in the specified eligible sample | Existing survey or user-provided results |
| Retention curve | Mature comparable cohorts flatten by W6–8, ≥5% floor | Mature cohorts flatten, <5% floor | Mature curve continues declining without stabilization | Retention shape or recorded cohorts |
| Organic pull | >30% new users from WoM or organic | 15–30% organic | <15% under a defined attribution rule | Acquisition breakdown or user-provided results |
| Desperate users | 3+ users call product irreplaceable without prompting | 1–2 unprompted mentions | No such mentions in a documented relevant research sample | Interview/support records |
Missing surveys, immature cohorts, unknown attribution and absent interview coverage yield unknown, not score 0. Disclose sample size, maturity, sampling/attribution limitations and time range per signal. These thresholds are illustrative local rubric choices; the raw readings and limitations matter more than the band.
Illustrative PMF Bands (complete coverage only):
- 7–8: Strong PMF signal band: investigate scalable acquisition economics
- 5–6: Emerging PMF signal band: validate retention durability and economics
- 3–4: Searching signal band: investigate value in relevant segments
- 0–2: Pre-PMF signal band: investigate unmet user value before broader bets
Sean Ellis Survey Template:
"How would you feel if you could no longer use [Product]?"
- Very disappointed
- Somewhat disappointed
- Not disappointed
- I no longer use it
Survey share = very disappointed / eligible respondents × 100. Predefine eligibility, exclusions, segment, recruitment and survey period; disclose n and response bias. Do not silently exclude negative responses or nonresponse. The signal score is a separate 0–2 rubric, not this percentage.
Positioning Framework
A coherent positioning statement has 5 components:
| Component | Question | Example |
|---|---|---|
| For | Who specifically? | B2B SaaS PMs at Series A companies |
| Who | What pain do they have? | Lack real-time product metrics |
| Our product | What category? | Product analytics platform |
| That | What makes you different? | Works without an analyst, in 5 minutes |
| Unlike | What's the alternative? | Mixpanel, which requires data team setup |
Coherence Checklist:
- ICP matches the highest-retention cohort
- Differentiation claim is NOT also made by top 3 competitors
- Product category matches how customers search
- Marketing copy uses same language as positioning statement
- Activation event delivers the differentiation promise
Coherence Flags (auto-detect):
- ICP says enterprise but top cohort is SMB → Positioning drift
- Differentiation is "easy to use" and Competitor A also claims this → Weak moat
- Activation event is "connect integration" but promise is "insights fast" → Promise-delivery gap
North Star Metric Selection
Breadth × Depth × Frequency Framework
Score each candidate NSM on 3 dimensions (1–3 each):
| Dimension | Score 3 | Score 2 | Score 1 |
|---|---|---|---|
| Breadth | >70% of active users contribute | 40–70% | <40% |
| Depth | Directly measures value delivered | Correlates with value | Surface-level activity |
| Frequency | Measurable weekly or faster | Monthly | Quarterly or slower |
Known scores range 3–9. Unknown axes remain unknown. The 6+ cutoff is a local heuristic, not a validated rule. If no candidate scores 6+, define what "value delivered" means before selecting.
NSM Candidates by Business Type
| B2B SaaS Category | Primary NSM Candidates |
|---|---|
| Analytics / BI | Reports shared per active user |
| Project Management | Tasks completed by team per week |
| CRM / Sales | Deals progressed per rep per week |
| Dev Tools | Deploys per active user |
| Communication | Messages exchanged per active user |
| Data Pipeline | Pipelines running reliably (uptime × count) |
NSM Anti-patterns
| Anti-pattern | Example | Why It's Bad |
|---|---|---|
| Vanity metric | Page views, signups | Don't correlate with value |
| Gaming-prone | Messages sent | Users can spam to inflate |
| Too aggregate | DAU | Doesn't tell you what to change |
| Low frequency | Monthly active users | Can't react week-to-week |
| Lagging indicator | NPS score | Too late to act |
Stage-Appropriate Heuristics
Stage here is supplied/evidenced company context, not an inferred label from incomplete PMF data. These heuristic targets do not establish PMF or authorize scaling.
| Stage | PMF Score Target | NSM Focus | OKR Horizon |
|---|---|---|---|
| Seed | Reach 5+ (Emerging) | Value delivery for core segment | 6-week sprints |
| Series A | 7+ (Strong) | Scalable breadth metric | 90-day quarters |
| Growth | Maintain 7+, compound | Monetization + expansion metric | Annual + quarterly |
Signal Reading Notes
- Survey score. Search documents for an existing "how disappointed" survey. If none exists, the signal is unavailable and running the survey is the recommendation.
- Retention curve shape. The Retention shape, with its definition stated. Treat week 6–8 and retention-floor cutoffs as local heuristics, not universal PMF thresholds; verify mature cohorts, unit, return event and retention definition first.
- Organic pull. Share of signups arriving without paid acquisition, or inbound mentions. Often lives in the application database rather than analytics.
- Desperate users. Qualitative, from interviews and support: people who would be genuinely stuck without this. Search the research rather than inferring it from usage.
North Star Definitions
The definition is the work. "Reports shared" means nothing until it says whether a report shared with a teammate counts, whether re-sharing counts, and whether the sender has to be active.
Examples
Incomplete PMF: Survey score 2, retention score 1, organic pull and qualitative users unavailable → observed points 3, coverage 2/4, possible score 3–7 of 8. Report compatible Searching/Emerging/Strong bands and the missing evidence; do not call it 3/4 or conclude Pre-PMF.
Narrow positioning request: Review the supplied positioning sentence against customer/alternative/proof; do not require retention queries or a full PMF assessment.
Output Contracts
## STRATEGY AUDIT COMPLETE
**Product:** {name} · **Stage:** {supplied/evidenced context, or unknown}
**Capabilities resolved:** {capability → concrete source, or "none: files only"}
### PMF Signals
| Signal | Reading | Score 0–2 or unknown | Source | Status |
{measured / user-provided / unavailable, per signal}
**PMF score (fixed 0–8):** {observed points}, possible interval {low–high}
**Coverage:** {known}/4 signals · **Interpretation:** {compatible bands; unresolved when incomplete}
### Positioning
{category, for whom, against what, on what proof; unsupported claims flagged}
### Gap Analysis
{what must be true for the next stage, and what is missing}
### Recommended Next Step## NORTH STAR COMPLETE
**Chosen:** {metric, with its precise definition}
**Capabilities resolved:** {capability → concrete source}
### Candidates Evaluated
| Candidate | Breadth | Depth | Frequency | Measurable today | Retention relationship | Total |
### Why this one
### Metric Tree
{3 levels, every node naming the shape that measures it}
### Instrumentation Required
{nodes that cannot be measured today}Strategy Frameworksreferences/strategy.md
Scope and resources
Follow references/operating-modes.md at the installation root. Run only the relevant audit/selection steps. Read PRODUCT.md and initiative state only for lifecycle work or when the user asked for product-wide context.
Load evidence-ledger for claims, references/capability-map.md before accessing a provider, only the needed analytics shape, growth for retention interpretation, and the relevant definition in metrics when unclear. Strategy method details holds the PMF, positioning and North Star rubrics, signal-reading notes, examples and both output contracts; read only the section the request needs.
Capabilities
| Capability | Used for | Floor when absent |
|---|---|---|
analytics.query | The retention curve behind the PMF read, and the retention correlation behind a north star candidate | Ask for the curve; without it the retention signal is recorded unavailable, not guessed |
analytics.events | Whether a candidate north star can be measured today at all | Search the repository for the call sites |
db.query | Organic pull and account-level signals that live in the application database | Ask |
docs.search | Survey results, interview notes, prior strategy and positioning work | Ask the user for them |
files.read / files.write | The artifact itself | Always present |
Two signals measured and two recorded unavailable is a useful assessment; four invented signals plan everything after against a fiction.
Procedure: PMF and Positioning Audit
- Ingest context. Use supplied product context, positioning and question first; seek only missing context that question needs. Do not infer company stage from a score.
- Read the four signals (survey score, retention curve shape, organic pull, desperate users) per the PMF Signal Framework and signal-reading notes. Per signal, exactly one of three outcomes: measured with its tag, stated by the user with a
[doc:user-{date}-{topic}]tag, or unavailable with the question that would resolve it. - Score on a fixed 0–8 scale. Each known reading 0–2; missing signals are unknown, not zero. Report observed points, known/4 coverage, source status for each, and the possible-score interval
[observed points, observed points + 2 × unknown signals]. Never rescale to a shorter denominator, fill missing data, or guess stage. With incomplete coverage, state that the PMF band is unresolved (or describe the compatible bands). A reading of zero means evidence supports signal absence, not no data. - Audit positioning against the framework: category, for whom, against what alternative, on what proof. Flag every claim with no evidence behind it.
- Gap analysis and report. State which evidence would narrow uncertainty and which strategic choices depend on it; score thresholds are heuristics, not permission to scale. Emit
## STRATEGY AUDIT COMPLETEper the output contract.
Procedure: North Star Selection
- Generate candidates: three to five for a full selection, appropriate to product type and stage (optional candidates in the reference). Per candidate: a precise definition of what counts and what does not, the query shape that would measure it, and the share of active users who could contribute.
- Score breadth, depth and frequency, 1 to 3 each, per the reference.
- Check measurability today. Per candidate: measurable now, or only after new instrumentation; where
analytics.eventsdid not resolve, read the emitted events from the code. Where a retention curve is available, test whether users who hit each measurable candidate retain materially better. Without retention evidence, its link to durable customer value is unverified: state a plausible mechanism and the validation needed, never an invented correlation. - Choose. The score is a comparison aid alongside value validity, manipulability, evidence quality and measurability. Unknown dimensions stay unknown; no fabricated total. Prefer a measurable candidate when value and evidence are comparable; label the selection provisional if its retention relationship is untested.
- Build the metric tree: the north star, its breadth, depth and frequency drivers, and the inputs under each. Every node names the shape that measures it. Connect it to the existing diagnostic metric tree, not a parallel framework; name nodes needing instrumentation that does not exist yet. Emit
## NORTH STAR COMPLETEper the output contract.
Common Mistakes
| Mistake | Correction |
|---|---|
| Stage guessed from heuristic thresholds | Preserve supplied stage/context; report uncertainty and evidence limits |
| North Star chosen mechanically by score | Compare customer value, evidence, gaming risk and measurability |
skills/product-analysis/SKILL.mdView on GitHub