revenue-operations
alirezarezvani/claude-skills
分析销售渠道健康状况、收入预测准确性以及市场推广效率指标,以优化SaaS收入。
...展开全部营收运营
面向SaaS营收团队的销售漏斗分析、预测准确度追踪及市场进入(GTM)效率评估。
输出格式:所有脚本均支持
--format text(人类可读)和--format json(仪表盘/集成)。
快速入门
# 分析销售 pipeline 的健康状况和覆盖范围
python scripts/pipeline_analyzer.py --input assets/sample_pipeline_data.json --format text
# 跟踪多个周期内的预测准确率
python scripts/forecast_accuracy_tracker.py assets/sample_forecast_data.json --format text
# 计算 GTM 效率指标
python scripts/gtm_efficiency_calculator.py assets/sample_gtm_data.json --format text
工具概述
1. 销售管道分析器
分析销售销售管道健康状况,包括覆盖率、阶段转化率、交易速度、滞留风险和集中度风险。
输入:包含交易、配额和阶段配置的 JSON 文件 输出:覆盖率、转化率、速度指标、滞留标记、风险评估
用法:
python scripts/pipeline_analyzer.py --input pipeline.json --format text
计算的关键指标:
- 销售管道覆盖率-- 销售管道总价值 / 配额目标(健康范围:3-4倍)
- 阶段转化率-- 各阶段之间的推进率
- 销售速度—— (商机数量 × 平均交易规模 × 成交率) / 平均销售周期
- 交易滞留时间—— 标记超过各阶段平均周期时间 2 倍的交易
- 集中度风险——当销售管道中超过40%的份额集中于单一交易时发出警告
- 覆盖缺口分析——识别销售管道不足的季度
输入模式:
{
"quota": 500000,
"stages": ["探索", "资格审查", "提案", "谈判", "成交"],
"average_cycle_days": 45,
"deals": [
{
"id": "D001",
"name": "Acme Corp",
"stage": "Proposal",
"value": 85000,
"age_days": 32,
"close_date": "2025-03-15",
"owner": "rep_1"
}
]
}
2. 预测准确度追踪器
利用MAPE追踪预测准确率随时间的变化,检测系统性偏差,分析趋势,并提供按类别细分的报告。
输入:包含预测时段及可选类别细分数据的 JSON 文件 输出:MAPE 得分、偏差分析、趋势、类别细分、准确率评级
用法:
python scripts/forecast_accuracy_tracker.py forecast_data.json --format text
计算的关键指标:
- MAPE—— (|实际值 - 预测值| / |实际值|) 的均值 × 100
- 预测偏差——高估(正值)与低估(负值)倾向
- 加权准确率——按交易金额加权计算的 MAPE(以重要性为权重)
- 时间趋势——准确率随时间推移呈提升、稳定或下降趋势
- 分类细分——按销售代表、产品、细分市场或任何自定义维度划分的准确率
准确率评级:
| 评级 | MAPE 范围 | 解读 |
|---|---|---|
| 优秀 | <10% | 高度可预测、数据驱动的流程 |
| 良好 | 10–15% | 预测可靠,偏差较小 |
| 一般 | 15-25% | 需要改进流程 |
| 差 | >25% | 预测方法存在显著缺陷 |
输入模式:
{
"forecast_periods": [
{"period": "2025-Q1", "forecast": 480000, "actual": 520000},
{"period": "2025-Q2", "forecast": 550000, "actual": 510000}
],
"category_breakdowns": {
"by_rep": [
{"category": "代表 A", "forecast": 200000, "actual": 210000},
{"category": "销售代表 B", "forecast": 280000, "actual": 310000}
]
}
}
3. GTM 效率计算器
计算核心SaaS市场进入效率指标,并提供行业基准对比、评级及优化建议。
输入:包含收入、成本和客户指标的 JSON 文件 输出:魔术数字、LTV:CAC、CAC 回收期、现金消耗倍数、40 法则、带评级的 NDR
用法:
python scripts/gtm_efficiency_calculator.py gtm_data.json --format text
计算的关键指标:
| 指标 | 计算公式 | 目标值 |
|---|---|---|
| 魔术数字 | 净新增ARR / 上一期间销售与市场支出 | >0.75 |
| LTV:CAC | (ARPA × 毛利率 / 流失率) / CAC | >3:1 |
| CAC回收期 | CAC / (ARPA × 毛利率) 个月 | <18个月 |
| 资金消耗倍数 | 净现金消耗 / 净新增ARR | <2倍 |
| 40法则 | 收入增长率(%) + 自由现金流利润率(%) | >40% |
| 净美元留存率 | (期初ARR + 业务扩张 - 业务萎缩 - 客户流失) / 期初ARR | >110% |
输入模式:
{
"revenue": {
"current_arr": 5000000,
"prior_arr": 3800000,
"net_new_arr": 1200000,
"arpa_monthly": 2500,
"revenue_growth_pct": 31.6
},
"costs": {
"sales_marketing_spend": 1800000,
"cac": 18000,
"gross_margin_pct": 78,
"total_operating_expense": 6500000,
"net_burn": 1500000,
"自由现金流利润率": 8.4
},
"客户": {
"期初ARR": 3800000,
"扩张期ARR": 600000,
"业务萎缩额": 100000,
"流失额": 300000,
"年度流失率(%)": 8
}
}
收入运营工作流
每周销售管道审查
请使用此工作流来执行每周销售 pipeline 检查。
验证输入数据:在继续操作前,请确认销售管道导出数据为最新版本,且所有必填字段(阶段、金额、成交日期、负责人)均已填写。
生成销售漏斗报告:
python scripts/pipeline_analyzer.py --input current_pipeline.json --format text将输出总计与您的 CRM 源系统进行交叉核对,以确认数据完整性。
审查关键指标:
- 销售管道覆盖率(是否超过配额的3倍?)
- 超过阈值的滞留交易(哪些交易需要干预?)
- 集中度风险(是否过度依赖少数几笔大额交易?)
- 阶段分布(销售漏斗形状是否健康?)
使用模板记录:使用
assets/pipeline_review_template.md待办事项:处理滞留交易,重新分配销售管道集中度,填补覆盖缺口
预测准确度审查
采用月度或季度周期来评估并改进预测规范。
验证输入数据:运行前确认所有预测期间均有对应的实际数据,且无任何期间数据缺失。
生成准确率报告:
python scripts/forecast_accuracy_tracker.py forecast_history.json --format text在得出结论前,请将实际数据与CRM系统中的已成交记录进行交叉核对。
分析规律:
- MAPE 是否呈下降趋势(即准确度在提高)?
- 哪些销售代表或客户群的误差率最高?
- 是否存在系统性的高估或低估现象?
使用模板记录:使用
assets/forecast_report_template.md改进措施:指导偏差较大的销售代表、调整方法论、优化数据质量
市场进入效率审计
每季度或在董事会会议筹备期间使用,以评估市场进入效率。
验证输入数据:运行前确认收入、成本和客户数据与财务记录一致。
计算效率指标:
python scripts/gtm_efficiency_calculator.py quarterly_data.json --format text在分享结果前,请将计算出的ARR和总支出与财务系统数据进行交叉核对。
与目标值进行对比:
- 魔术数字(>0.75)
- LTV:CAC(>3:1)
- CAC回收期(<18个月)
- 40%法则(>40%)
使用模板编写文档:使用
assets/gtm_dashboard_template.md战略决策:调整预算分配、优化渠道、提升用户留存率
季度业务回顾
结合这三项工具,进行全面的季度业务回顾(QBR)分析。
- 运行销售管道分析器以进行前瞻性覆盖
- 运行预测追踪器以评估历史准确性
- 运行 GTM 计算器以获取效率基准
- 将销售管道健康状况与预测准确度进行交叉比对
- 将 GTM 效率指标与增长目标对齐
参考文档
| 参考 | 描述 |
|---|---|
| RevOps 指标指南 | 完整的指标层次结构、定义、计算公式及解读 |
| 管道管理框架 | 销售漏斗最佳实践、阶段定义、转化率基准 |
| 市场进入(GTM)效率基准 | 按阶段划分的SaaS基准、行业标准及优化策略 |
模板
| 模板 | 用例 |
|---|---|
| 销售漏斗审查模板 | 每周/每月销售 pipeline 检查文档 |
| 预测报告模板 | 预测准确度报告与趋势分析 |
| GTM 仪表盘模板 | 供管理层审阅的GTM效率仪表盘 |
| 销售线索数据示例 | pipeline_analyzer.py 的输入示例 |
| 预期输出 | pipeline_analyzer.py 的参考输出 |
---
name: revenue-operations
description: Analyzes sales pipeline health, revenue forecasting accuracy, and go-to-market efficiency metrics for SaaS revenue optimization.
---
# Revenue Operations
Pipeline analysis, forecast accuracy tracking, and GTM efficiency measurement for SaaS revenue teams.
> **Output formats:** All scripts support `--format text` (human-readable) and `--format json` (dashboards/integrations).
---
## Quick Start
```bash
# Analyze pipeline health and coverage
python scripts/pipeline_analyzer.py --input assets/sample_pipeline_data.json --format text
# Track forecast accuracy over multiple periods
python scripts/forecast_accuracy_tracker.py assets/sample_forecast_data.json --format text
# Calculate GTM efficiency metrics
python scripts/gtm_efficiency_calculator.py assets/sample_gtm_data.json --format text
```
---
## Tools Overview
### 1. Pipeline Analyzer
Analyzes sales pipeline health including coverage ratios, stage conversion rates, deal velocity, aging risks, and concentration risks.
**Input:** JSON file with deals, quota, and stage configuration
**Output:** Coverage ratios, conversion rates, velocity metrics, aging flags, risk assessment
**Usage:**
```bash
python scripts/pipeline_analyzer.py --input pipeline.json --format text
```
**Key Metrics Calculated:**
- **Pipeline Coverage Ratio** -- Total pipeline value / quota target (healthy: 3-4x)
- **Stage Conversion Rates** -- Stage-to-stage progression rates
- **Sales Velocity** -- (Opportunities x Avg Deal Size x Win Rate) / Avg Sales Cycle
- **Deal Aging** -- Flags deals exceeding 2x average cycle time per stage
- **Concentration Risk** -- Warns when >40% of pipeline is in a single deal
- **Coverage Gap Analysis** -- Identifies quarters with insufficient pipeline
**Input Schema:**
```json
{
"quota": 500000,
"stages": ["Discovery", "Qualification", "Proposal", "Negotiation", "Closed Won"],
"average_cycle_days": 45,
"deals": [
{
"id": "D001",
"name": "Acme Corp",
"stage": "Proposal",
"value": 85000,
"age_days": 32,
"close_date": "2025-03-15",
"owner": "rep_1"
}
]
}
```
### 2. Forecast Accuracy Tracker
Tracks forecast accuracy over time using MAPE, detects systematic bias, analyzes trends, and provides category-level breakdowns.
**Input:** JSON file with forecast periods and optional category breakdowns
**Output:** MAPE score, bias analysis, trends, category breakdown, accuracy rating
**Usage:**
```bash
python scripts/forecast_accuracy_tracker.py forecast_data.json --format text
```
**Key Metrics Calculated:**
- **MAPE** -- mean(|actual - forecast| / |actual|) x 100
- **Forecast Bias** -- Over-forecasting (positive) vs under-forecasting (negative) tendency
- **Weighted Accuracy** -- MAPE weighted by deal value for materiality
- **Period Trends** -- Improving, stable, or declining accuracy over time
- **Category Breakdown** -- Accuracy by rep, product, segment, or any custom dimension
**Accuracy Ratings:**
| Rating | MAPE Range | Interpretation |
|--------|-----------|----------------|
| Excellent | <10% | Highly predictable, data-driven process |
| Good | 10-15% | Reliable forecasting with minor variance |
| Fair | 15-25% | Needs process improvement |
| Poor | >25% | Significant forecasting methodology gaps |
**Input Schema:**
```json
{
"forecast_periods": [
{"period": "2025-Q1", "forecast": 480000, "actual": 520000},
{"period": "2025-Q2", "forecast": 550000, "actual": 510000}
],
"category_breakdowns": {
"by_rep": [
{"category": "Rep A", "forecast": 200000, "actual": 210000},
{"category": "Rep B", "forecast": 280000, "actual": 310000}
]
}
}
```
### 3. GTM Efficiency Calculator
Calculates core SaaS GTM efficiency metrics with industry benchmarking, ratings, and improvement recommendations.
**Input:** JSON file with revenue, cost, and customer metrics
**Output:** Magic Number, LTV:CAC, CAC Payback, Burn Multiple, Rule of 40, NDR with ratings
**Usage:**
```bash
python scripts/gtm_efficiency_calculator.py gtm_data.json --format text
```
**Key Metrics Calculated:**
| Metric | Formula | Target |
|--------|---------|--------|
| Magic Number | Net New ARR / Prior Period S&M Spend | >0.75 |
| LTV:CAC | (ARPA x Gross Margin / Churn Rate) / CAC | >3:1 |
| CAC Payback | CAC / (ARPA x Gross Margin) months | <18 months |
| Burn Multiple | Net Burn / Net New ARR | <2x |
| Rule of 40 | Revenue Growth % + FCF Margin % | >40% |
| Net Dollar Retention | (Begin ARR + Expansion - Contraction - Churn) / Begin ARR | >110% |
**Input Schema:**
```json
{
"revenue": {
"current_arr": 5000000,
"prior_arr": 3800000,
"net_new_arr": 1200000,
"arpa_monthly": 2500,
"revenue_growth_pct": 31.6
},
"costs": {
"sales_marketing_spend": 1800000,
"cac": 18000,
"gross_margin_pct": 78,
"total_operating_expense": 6500000,
"net_burn": 1500000,
"fcf_margin_pct": 8.4
},
"customers": {
"beginning_arr": 3800000,
"expansion_arr": 600000,
"contraction_arr": 100000,
"churned_arr": 300000,
"annual_churn_rate_pct": 8
}
}
```
---
## Revenue Operations Workflows
### Weekly Pipeline Review
Use this workflow for your weekly pipeline inspection cadence.
1. **Verify input data:** Confirm pipeline export is current and all required fields (stage, value, close_date, owner) are populated before proceeding.
2. **Generate pipeline report:**
```bash
python scripts/pipeline_analyzer.py --input current_pipeline.json --format text
```
3. **Cross-check output totals** against your CRM source system to confirm data integrity.
4. **Review key indicators:**
- Pipeline coverage ratio (is it above 3x quota?)
- Deals aging beyond threshold (which deals need intervention?)
- Concentration risk (are we over-reliant on a few large deals?)
- Stage distribution (is there a healthy funnel shape?)
5. **Document using template:** Use `assets/pipeline_review_template.md`
6. **Action items:** Address aging deals, redistribute pipeline concentration, fill coverage gaps
### Forecast Accuracy Review
Use monthly or quarterly to evaluate and improve forecasting discipline.
1. **Verify input data:** Confirm all forecast periods have corresponding actuals and no periods are missing before running.
2. **Generate accuracy report:**
```bash
python scripts/forecast_accuracy_tracker.py forecast_history.json --format text
```
3. **Cross-check actuals** against closed-won records in your CRM before drawing conclusions.
4. **Analyze patterns:**
- Is MAPE trending down (improving)?
- Which reps or segments have the highest error rates?
- Is there systematic over- or under-forecasting?
5. **Document using template:** Use `assets/forecast_report_template.md`
6. **Improvement actions:** Coach high-bias reps, adjust methodology, improve data hygiene
### GTM Efficiency Audit
Use quarterly or during board prep to evaluate go-to-market efficiency.
1. **Verify input data:** Confirm revenue, cost, and customer figures reconcile with finance records before running.
2. **Calculate efficiency metrics:**
```bash
python scripts/gtm_efficiency_calculator.py quarterly_data.json --format text
```
3. **Cross-check computed ARR and spend totals** against your finance system before sharing results.
4. **Benchmark against targets:**
- Magic Number (>0.75)
- LTV:CAC (>3:1)
- CAC Payback (<18 months)
- Rule of 40 (>40%)
5. **Document using template:** Use `assets/gtm_dashboard_template.md`
6. **Strategic decisions:** Adjust spend allocation, optimize channels, improve retention
### Quarterly Business Review
Combine all three tools for a comprehensive QBR analysis.
1. Run pipeline analyzer for forward-looking coverage
2. Run forecast tracker for backward-looking accuracy
3. Run GTM calculator for efficiency benchmarks
4. Cross-reference pipeline health with forecast accuracy
5. Align GTM efficiency metrics with growth targets
---
## Reference Documentation
| Reference | Description |
|-----------|-------------|
| [RevOps Metrics Guide](references/revops-metrics-guide.md) | Complete metrics hierarchy, definitions, formulas, and interpretation |
| [Pipeline Management Framework](references/pipeline-management-framework.md) | Pipeline best practices, stage definitions, conversion benchmarks |
| [GTM Efficiency Benchmarks](references/gtm-efficiency-benchmarks.md) | SaaS benchmarks by stage, industry standards, improvement strategies |
---
## Templates
| Template | Use Case |
|----------|----------|
| [Pipeline Review Template](assets/pipeline_review_template.md) | Weekly/monthly pipeline inspection documentation |
| [Forecast Report Template](assets/forecast_report_template.md) | Forecast accuracy reporting and trend analysis |
| [GTM Dashboard Template](assets/gtm_dashboard_template.md) | GTM efficiency dashboard for leadership review |
| [Sample Pipeline Data](assets/sample_pipeline_data.json) | Example input for pipeline_analyzer.py |
| [Expected Output](assets/expected_output.json) | Reference output from pipeline_analyzer.py |





首页
