agentleFS
0-shiv0-shiv/secondstep-claude-skills/skills/saas-metrics-claude/CLAUDE.md

secondstep-claude-skills / saas-metrics-claude

CLAUDE.md2 starsChanged 9 months agoMITView on GitHub

This is a Claude Code skill that provides 9 SaaS metric calculators accessible via /saas <command>. It follows the standard Claude Code skill structure: a root SKILL.md routes to sub-skills, each in its own directory under skills/. Installed locations: - Skills: ~/.claude/skills/saas* - Agents: ~/.claude/agents/ - Scripts: ~/.claude/scripts/saas-metrics/

The file

We split this CLAUDE.md into the rules it gives an agent

5 rules. About 0 are common, 0 are distinctive, and 5 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 5

    Very specific

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

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

    Every sub-skill MUST have a SKILL.md in its own directory under skills/.

    line 43
  2. Very specific:

    All formulas must match industry-standard SaaS accounting (see docs/FORMULAS.md).

    line 44
  3. Very specific:

    When adding a new sub-skill: add the directory under skills/, update the routing table in saas/SKILL.md, update install.sh (no changes …

    line 47
  4. Very specific:

    Test all Python scripts with python3 scripts/<script>.py before committing.

    line 48
  5. Very specific:

    Keep SKILL.md files focused: trigger, inputs, outputs, formula, benchmarks.

    line 49

≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

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

CLAUDE.md — SaaS Metrics Claude

Architecture

This is a Claude Code skill that provides 9 SaaS metric calculators accessible via /saas <command>. It follows the standard Claude Code skill structure: a root SKILL.md routes to sub-skills, each in its own directory under skills/.

saas/SKILL.md          → Root skill (command router)
skills/saas-*/SKILL.md → 9 sub-skills (mrr, churn, ltv-cac, nrr, cohort, unit-economics, benchmarks, forecast, report)
agents/*.md            → 3 specialized agents (metrics-analyst, benchmark-advisor, forecast-modeler)
scripts/*.py           → 3 Python calculators (mrr, churn, ltv-cac)
docs/*.md              → Reference docs (formulas, glossary, benchmarks, examples)

Commands

CommandSkill DirectoryDescription
/saas mrrskills/saas-mrr/MRR movements waterfall, ARR, growth rate
/saas churnskills/saas-churn/Customer & revenue churn with benchmarks
/saas ltv-cacskills/saas-ltv-cac/LTV:CAC ratio, payback period
/saas nrrskills/saas-nrr/Net & Gross Revenue Retention
/saas cohortskills/saas-cohort/Cohort retention curves & heatmaps
/saas unit-economicsskills/saas-unit-economics/ARPU, margins, Rule of 40
/saas benchmarksskills/saas-benchmarks/Stage-specific industry benchmarks
/saas forecastskills/saas-forecast/Revenue forecasting & scenarios
/saas reportskills/saas-report/Full dashboard report

Installation

./install.sh    # Copies skills, agents, and scripts to ~/.claude/
./uninstall.sh  # Removes all installed files

Installed locations:

  • Skills: ~/.claude/skills/saas*
  • Agents: ~/.claude/agents/
  • Scripts: ~/.claude/scripts/saas-metrics/

Dev Rules

  • Every sub-skill MUST have a SKILL.md in its own directory under skills/.
  • All formulas must match industry-standard SaaS accounting (see docs/FORMULAS.md).
  • Python scripts require Python 3.8+ with pandas and numpy. Keep dependencies minimal.
  • Benchmarks must cite the stage (Seed, Series A, Series B, Growth) and be sourced from recognized datasets (OpenView, Bessemer, KeyBanc).
  • When adding a new sub-skill: add the directory under skills/, update the routing table in saas/SKILL.md, update install.sh (no changes needed if using wildcard copy), and add an entry to README.md.
  • Test all Python scripts with python3 scripts/<script>.py before committing.
  • Keep SKILL.md files focused: trigger, inputs, outputs, formula, benchmarks. No filler.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.