Saas pricing audit

From Basinfy/Basinfy-SaaS-Studio · View interactive version

Saas pricing audit is an AI agent skill from the GitHub repository Basinfy/Basinfy-SaaS-Studio. Audit SaaS pricing tiers, quotas, gross margins, and cannibalization risks.

How to use this skill

Skill file

!bash "${CLAUDE_SKILL_DIR}/../../hooks/yaml-helper.sh" resolve_config --keys locale,automation

SaaS Pricing & Unit Economics Audit

Locale & User Profile: Match locale (pt-BR → natural Brazilian Portuguese questions/options, overriding English examples; en → English) and user_profile (founder → plain business language with (Recomendado) first, zero tech jargon; developer → technical). Keep code/tests in English.

Every AskUserQuestion call follows .claude/docs/automation-modes.md

(collaborative asks always · guided major-only · autonomous logs and proceeds;

automation_always_ask categories always prompt).

Insufficient input — check this before producing any report

**If the inputs this skill needs do not exist, the answer is "could not run" —

not a filled-in report.** Check first, and stop if the check fails.

  1. List the inputs this skill reads (data files, prior reports, profiler output,

test results, registries, source code).

  1. For each, record FOUND or ABSENT — not "assumed present".
  2. If any input required for a section is ABSENT, that section is

NOT ASSESSED — NO DATA. Do not estimate it, do not infer it from an

adjacent artifact, and do not leave a mandated cell to be filled by whoever

reads the template next.

  1. If every required input is ABSENT, stop and report

NOT ASSESSED — NO DATA as the whole verdict, naming what was missing and

which skill produces it.

A verdict of NOT ASSESSED is a success. It is the correct, useful answer to

"what does the data say?" when there is no data. The failure mode this prevents is

specific: a report whose verdict enum has no "could not run" state produces

false clean passes — an asset audit returning COMPLIANT on a project with no

assets and no standards, or a performance profile reporting ">99% headroom against

a 16.67ms budget" with zero profiler data and no budget ever set.

Absence of evidence is never evidence of absence. A scan that finds no

matches because there are no files to scan has not verified anything. Say which of

the two happened — a reader cannot tell from a green result.


Phase 1: Identify Pricing & Economics Domain

Determine the pricing and economics domain from $ARGUMENTS — the whole string, since a data-file path may contain spaces:

If no argument, ask the user which system to check.


Phase 2: Read Data Files

Read relevant files from assets/data/, docs/pricing/, or design/pricing/ for the identified domain.

Note every file read — they will appear in the Data Sources section of the report.


Phase 3: Read Design Document

Registry first. If design/registry/entities.yaml exists, read it before the

PRD. Its constants and formulas sections hold the cross-PRD named values and

output ranges — the pricing targets and unit economics — already distilled, each with a source:

PRD and any revised: date:

Grep pattern="^  - name:" path="design/registry/entities.yaml" output_mode="content" -A 6

Take the intended values from the registry for any constant or formula it lists

(the constants: and formulas: blocks); these are the authoritative cross-doc

figures a PRD must not contradict. **If design/registry/entities.yaml does not

exist or has no entries** (it ships as an empty stub until /saas-design-system

populates it), skip this and use the PRD alone.

Then read the PRD for the system from design/prd/ to understand intended design

targets, configuration parameters, and expected value ranges — for anything the registry did

not already supply. This is the baseline for "correct" behaviour. Read it by section:

Use the project discovery protocol to find the relevant headings and read those sections. When the index cannot provide them, find the headings with a local text search and read the matching ranges.

If the data files are FOUND but neither source gives targets for this domain,

the sections that judge against targets (Outliers Detected, and Progression

Analysis where the domain has a curve) are NOT ASSESSED — NO DATA. Each one names what was missing — the

PRD it looked for in design/prd/, and whether the registry was absent or empty

— and names /saas-design-system, which writes both.


Phase 4: Perform Analysis

Every domain: compare each value with its target. For each named value in the

data files, take its target from Phase 3 — a registry constant's value, a

registry formula's output_range, or the range the PRD states — and compare. A

value outside its target is a row in Outliers Detected (pro_tier_seat_price $140

against $30–$50). A value with no target anywhere is neither in range nor an

outlier: list it under Values That Need Attention as no stated range — not judged.

Then run domain-specific checks:

Subscription Tiers modeling:

Unit Economics modeling:

Usage-Based Metering modeling:


Phase 5: Output the Analysis

## SaaS Pricing & Unit Economics Audit: [System Name]

### Data Sources Analyzed
- [List of files read]

### Health Summary: [NOT ASSESSED / HEALTHY / CONCERNS / CRITICAL ISSUES]

### Outliers Detected
| Item/Value | Expected Range | Actual | Issue |
|-----------|---------------|--------|-------|

### Degenerate Strategies Found
- [Strategy description and why it is problematic]

### Progression Analysis
[Graph description or table showing progression curve health]

### Recommendations
| Priority | Issue | Suggested Fix | Impact |
|----------|-------|--------------|--------|

### Values That Need Attention
[Specific values with suggested adjustments and rationale]

Choose the Health Summary by the worst finding, first match wins:

alternative), a progression that stalls or cannot be completed, or an economy

loop with no sink

finding of the critical kind

needs targets is NOT ASSESSED — NO DATA, or a value had no stated range to

judge it against; name which. It ranks below the two finding verdicts, because

a measured problem is more actionable than a gap, and above HEALTHY

degenerate strategies, progression within the stated targets


Phase 6: Fix & Verify Cycle

After presenting the report, use AskUserQuestion:

Run as a subagent? lead-product-manager preloads this skill, and a subagent has

no AskUserQuestion. End your reply with the question and these three options

as a short list, and stop: whoever called you asks the user and passes the

answer back.

If [A]:

> "This value is defined in a design document. Run /saas-propagate-design-change [path] on the affected PRD to find downstream impacts before committing."

If [B]:

If [C]:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.