Skip to content
Back to skills

Sales Operations

ASecurity

Sales operations toolkit: check forecast accuracy and bias from quarterly history, track quota attainment and pacing per rep, and assign accounts to balanced territories, plus frameworks for CRM hygiene, quota models and comp plans. Use when you have a forecast history, rep bookings or an account list as CSV/JSON and need flagged problems with concrete fixes, or when designing quotas, territories or comp plans.

  • 1,271 stars
  • 0 votes
  • 1 copy
  • 8 views
  • Added May 29, 2026
ai-agentspythongobashsqlapiperformance

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 4 files and shows the line behind each finding

Scanned December 4, 2026

npx -y skills add borghei/Claude-Skills --skill sales-operations --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Sales Operations?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Sales Operations
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/borghei-sales-operations/badge)](https://www.skillsdirectory.com/skills/borghei-sales-operations)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: sales-operations
description: >
  Sales operations toolkit: check forecast accuracy and bias from quarterly history,
  track quota attainment and pacing per rep, and assign accounts to balanced
  territories, plus frameworks for CRM hygiene, quota models and comp plans.
  Use when you have a forecast history, rep bookings or an account list as CSV/JSON
  and need flagged problems with concrete fixes, or when designing quotas,
  territories or comp plans.
license: MIT + Commons Clause
metadata:
  version: 1.0.0
  author: borghei
  category: sales-success
  domain: sales-operations
  updated: 2026-03-31
  tags: [sales-ops, crm, analytics, territory, compensation]
---
# Sales Operations

The agent operates as an expert sales operations professional, delivering revenue infrastructure through analytics, territory design, quota modeling, compensation architecture, and process optimization.

## Clarify First

Before generating, settle the inputs below. When one is missing or vague and would change the result, ask about it; when it wouldn't, use a sensible default and say which one you used.

- **Which deliverable:** pipeline report, territory design, quota model, comp plan, or forecast (selects the script and the input data).
- **Revenue target + rep capacity:** the company number and ramped headcount (drives top-down quota and coverage math).
- **Selling motion + company stage:** new-business vs. expansion mix, segment, and growth rate (shapes comp splits, accelerators, and territory balance).
- **Historical actuals:** prior win rates, stage conversion, and cycle times (calibrate forecast weights and quota risk-adjustment).

Ask about the two or three inputs that matter most for this request, not the whole list. If the user wants a result straight away, produce it and state your assumptions at the top.

## Workflow

1. **Assess current state** -- Audit CRM data quality, pipeline coverage, and rep performance baselines. Validate that required fields are populated and stage dates are current.
2. **Analyze pipeline health** -- Calculate coverage ratios, stage conversion rates, velocity metrics, and deal aging. Flag bottlenecks where conversion drops below historical norms.
3. **Design or refine territories** -- Balance territories by opportunity potential, workload, and geographic/industry alignment. Score accounts to inform assignment.
4. **Model quotas** -- Run top-down (revenue target / capacity) and bottom-up (account potential analysis) models. Reconcile and risk-adjust.
5. **Architect compensation** -- Structure OTE splits, commission tiers, accelerators, and SPIFs aligned to company stage and selling motion.
6. **Build forecast** -- Categorize deals by confidence tier, apply probability weights, and surface the gap-to-quota with required win rates.
7. **Validate and iterate** -- Cross-check outputs against historical actuals. Confirm territory balance, quota fairness, and forecast accuracy before publishing.

## Sales Metrics Framework

Targets in the tables below are rules of thumb to calibrate against your own history, not published benchmarks.

**Activity Metrics:**

| Metric | Formula | Target |
|--------|---------|--------|
| Calls/Day | Total calls / Days | 50+ |
| Meetings/Week | Total meetings / Weeks | 15+ |
| Proposals/Month | Total proposals / Months | 8+ |

**Pipeline Metrics:**

| Metric | Formula | Target |
|--------|---------|--------|
| Pipeline Coverage | Pipeline / Quota | 3x+ |
| Pipeline Velocity | Won Deals / Avg Cycle Time | -- |
| Stage Conversion | Stage N+1 / Stage N | Varies |

**Outcome Metrics:**

| Metric | Formula | Target |
|--------|---------|--------|
| Win Rate | Won / (Won + Lost) | 25%+ |
| Average Deal Size | Revenue / Deals | Context-dependent |
| Sales Cycle | Avg days to close | <60 |
| Quota Attainment | Actual / Quota | 100%+ |

## Account Scoring

`scripts/territory_planner.py` computes a heuristic 0-100 priority score per account from the
columns present in your file (employees 30, potential 25, industry fit 25, engagement 20),
normalised to the components available, then tiers it (70+ Tier 1, 40-69 Tier 2, below 40
Tier 3). The weights are an internal heuristic, not a benchmark; tune `INDUSTRY_POINTS` and
the thresholds in the script to your ICP. The score is for prioritising accounts; balance is
always computed on `potential`.

## Territory Design

The agent balances territories across three dimensions:

- **Balance** -- Similar opportunity potential, comparable workload, fair distribution across reps.
- **Coverage** -- Geographic proximity, industry alignment, existing account relationships.
- **Growth** -- Room for expansion, career progression paths, untapped market potential.

### Example: Territory Allocation Table

| Territory | Rep | Accounts | ARR Potential | Quota | Coverage |
|-----------|-----|----------|---------------|-------|----------|
| West Enterprise | Rep A | 45 | $3.0M | $2.7M | 111% |
| East Mid-Market | Rep B | 62 | $2.8M | $2.4M | 117% |
| Central (Ramping) | Rep C | 38 | $2.5M | $1.2M | 208% |

## Quota Setting

### Top-Down Model

```
Company Revenue Target: $50M
  Growth Rate: 30%
  Team Capacity: 20 reps
  Average Quota: $2.5M
  Adjustments: +/-20% based on territory potential
```

### Bottom-Up Model

```
Account Potential Analysis:
  Existing accounts: $30M
  Pipeline value: $15M
  New logo potential: $10M
  Total: $55M
  Risk adjustment: -10%
  Final: $49.5M
```

The agent reconciles both models and flags divergence exceeding 10%.

## Compensation Architecture

```
TOTAL ON-TARGET EARNINGS (OTE)
  Base Salary: 50-60%
  Variable: 40-50%
    Commission: 80% of variable
      New Business: 60%
      Expansion: 40%
    Bonus: 20% of variable
      Quarterly accelerators
      SPIFs

COMMISSION RATE TIERS (illustrative; set your own)
  0-50% quota:   0.5x rate
  50-100% quota:  1.0x rate
  100-150% quota: 1.5x rate
  150%+ quota:    2.0x rate
```

## Forecasting

### Forecast Categories

Weights are illustrative defaults; calibrate them with `forecast_analyzer.py` on your own history.

| Category | Definition | Weighting |
|----------|------------|-----------|
| Closed | Signed contract | 100% |
| Commit | Verbal commit, high confidence | 90% |
| Best Case | Strong opportunity, likely to close | 50% |
| Pipeline | Active opportunity | 20% |
| Upside | Early stage | 5% |

### Example: Weighted Forecast Output

```
Q4 Forecast - Week 8
  Quota: $10M

  Category       Deals    Amount     Weighted
  Closed         12       $2.4M      $2.4M
  Commit         8        $1.8M      $1.6M
  Best Case      15       $3.2M      $1.6M
  Pipeline       22       $4.5M      $0.9M

  Forecast (Closed + Commit): $4.0M
  Upside (with Best Case): $5.6M
  Gap to Quota: $6.0M
  Required Win Rate on Pipeline: 35%
```

## CRM Data Quality Checklist

The agent validates these fields during every pipeline review:

- [ ] Required fields populated on all open opportunities
- [ ] Stage dates updated within the last 7 days
- [ ] Close dates set to realistic future dates (no past-due)
- [ ] Deal amounts reflect current pricing discussions
- [ ] Contact roles assigned with at least one economic buyer
- [ ] Next steps documented with specific actions and dates

## Process Optimization

### Sales Process Audit Framework

```
STAGE ANALYSIS
  Average time in stage -> identify stalls
  Conversion rate per stage -> find drop-off points
  Drop-off reasons -> categorize and address

ACTIVITY ANALYSIS
  Activities per stage -> benchmark against top performers
  Activity-to-outcome ratio -> measure efficiency
  Time allocation -> optimize selling vs. admin time

TOOL UTILIZATION
  CRM adoption rate -> target 95%+ daily login
  Feature usage -> identify underused capabilities
  Data quality score -> track completeness over time
  Automation opportunities -> reduce manual entry
```

## Scripts

All three read CSV or JSON, use only the standard library and never invent data: a missing
column stops the run, and unreadable rows are listed and left out of every figure.

```bash
python3 scripts/forecast_analyzer.py assets/flawed_forecast_history.csv --quarters 4
python3 scripts/quota_calculator.py assets/flawed_team.csv --weeks-elapsed 8 --total-weeks 13
python3 scripts/territory_planner.py assets/flawed_accounts.csv --reps assets/sample_reps.csv --strategy geographic
```

| Tool | Input columns | Key flags |
|------|---------------|-----------|
| `forecast_analyzer.py` | `quarter`, `forecast`, `actual`; optional `rep`, `category` | `--quarters N`, `--threshold 15` |
| `quota_calculator.py` | `rep`, `quota`, `closed`; optional `commit`, `best_case`, `pipeline`, `ramping` | `--weeks-elapsed`, `--total-weeks` (both or neither), `--target 100`, `--min-coverage 3` |
| `territory_planner.py` | `name`, `potential`; optional `region`, `industry`, `employees`, `engagement_score` | `--reps` (a count or a roster file with `name`, `region`, `capacity`), `--strategy balanced or geographic`, `--tolerance 15` |

Every tool takes `--format text|json` (`--json` is an alias). Thresholds marked "heuristic"
(15% forecast error, 20% rep bias, 3x pipeline coverage, 15% territory deviation) are internal
rules of thumb, not published benchmarks; change them with the flags.

### Exit codes

| Code | Meaning |
|------|---------|
| 0 | No findings (`PASS`) |
| 1 | Findings to act on (`FIX n issue(s)`) |
| 2 | Unusable input: missing file, wrong type, empty, required column absent (`BLOCKED: <reason>` on stderr) |

### Example: real output

```
$ python3 scripts/quota_calculator.py assets/flawed_team.csv --weeks-elapsed 8 --total-weeks 13
Read 4 rows: 3 reps used, 1 skipped. Pacing: computed.
Team: $540,000 of $1,400,000 (38.6%), gap $860,000, 0 rep(s) at 100%+. Projected 62.7%.
...
1. [projected-miss] Ben: closed $120,000 of $500,000 after 8/13 weeks; run rate $15,000/wk projects 39.0%
   Rule: projected attainment < 100% of quota
   Fix: Close $380,000 more: that is $76,000/wk for 5 weeks versus $15,000/wk so far.
2. [pipeline-below-gap] Ben: gap $380,000 but open pipeline only $180,000
   Fix: Add at least $200,000 of qualified pipeline, or re-forecast to $300,000 at a 100% win rate.
...
FIX 5 issue(s)
```

The territory planner also prints a paste-ready assignment table (account, rep, potential, tier).
Samples: `assets/sample_*` exit 0, `assets/flawed_*` exit 1, `assets/malformed_*` exit 2.

## Troubleshooting

| Problem | Root Cause | Resolution |
|---------|-----------|------------|
| Forecast accuracy below 70% | Inconsistent stage definitions; reps over-committing; lack of weighted methodology | Enforce strict stage entry/exit criteria. Apply probability weights by category (Commit 90%, Best Case 50%, Pipeline 20%). Review commit deals individually in weekly forecast calls. Compare rolling 4-quarter actuals to calibrate weights. |
| Territory imbalance causing rep attrition | Uneven account distribution; potential-to-quota mismatch exceeding 20% | Re-score accounts quarterly using the scoring model. Target less than 15% variance in potential-to-quota ratio across territories. Review territory balance monthly in high-growth periods. |
| CRM data quality below 80% completeness | Insufficient enforcement; no automated validation; rep adoption gaps | Implement required field validation at stage transitions. Run weekly data quality reports. Tie CRM hygiene to variable compensation (5-10% of bonus). Target 95%+ daily login rate. |
| Quota attainment below 60% team-wide | Quotas set too aggressively; insufficient pipeline; ramp time underestimated | Reconcile top-down and bottom-up models. Flag divergence exceeding 10%. Risk-adjust for ramp (ramping reps at 50-75% quota). Ensure 3-4x pipeline coverage at quarter start. |
| Comp plan driving wrong behaviors | Misaligned incentives; rewarding volume over quality; no accelerators | Audit comp plans against strategic objectives. Ensure accelerators kick in at 100% attainment. Weight new business vs. expansion per GTM strategy. Add SPIFs for strategic priorities. |
| Pipeline coverage drops mid-quarter | Insufficient lead flow; deals pushed or lost faster than replaced | Alert AEs when individual coverage drops below 2.5x. Coordinate with Marketing on lead generation campaigns. Implement minimum weekly prospecting activity requirements. |
| Stage conversion rates declining | Process bottleneck; missing enablement; competitive pressure | Identify the specific stage with the highest drop-off. Compare top performer conversion rates to team average. Deploy targeted training on the bottleneck stage. Review competitive win/loss data for that stage. |

## Success Criteria

| Metric | Target | Measurement Method |
|--------|--------|--------------------|
| Forecast accuracy | Within 10% of actual quarterly | Abs(Weighted Forecast - Actual) / Actual |
| Pipeline coverage ratio | 3-4x quota at quarter start | Total pipeline value / Team quota |
| CRM data completeness | 95%+ required fields populated | Weekly automated data quality audit |
| Territory balance | Less than 15% variance in potential-to-quota | Standard deviation of potential-to-quota ratio across territories |
| Quota attainment distribution | 60%+ of reps at or above quota | Reps at 100%+ / Total ramped reps |
| Stage conversion rates | Improving or stable QoQ | Stage N+1 entries / Stage N entries per period |
| Sales cycle length | Trending downward or stable | Average days from opportunity creation to close |
| Ramp time to productivity | Under 6 months for new hires | Months until new rep reaches 75% of quota run rate |
| Process adoption | 90%+ compliance with defined process | Audit score from monthly process compliance review |

## Scope & Limitations

**In Scope:**
- CRM administration, data quality management, and process enforcement
- Pipeline analytics: coverage ratios, stage conversion, velocity metrics, deal aging
- Territory design, account scoring, and balanced assignment optimization
- Quota modeling: top-down, bottom-up, and reconciliation approaches
- Compensation architecture: OTE splits, commission tiers, accelerators, SPIFs
- Forecast methodology: weighted pipeline, category-based, rolling forecasts
- Sales process audit: stage analysis, activity benchmarking, tool utilization
- Reporting infrastructure and dashboard design

**Out of Scope:**
- Individual deal strategy, qualification, and closing (see account-executive)
- Technical demos, RFP responses, and POC management (see sales-engineer)
- Post-sale customer management and retention (see customer-success-manager)
- Enterprise solution architecture and integration design (see solutions-architect)
- Marketing attribution modeling and campaign ROI (see marketing/campaign-analytics)
- Financial modeling beyond sales compensation (see finance)

**Limitations:**
- Territory optimization uses heuristic scoring, not mathematical optimization solvers; results are directional, not globally optimal
- Quota models require accurate historical data; garbage in, garbage out
- Forecast accuracy benchmarks assume consistent CRM hygiene; accuracy degrades with poor data quality
- Scripts process CSV/JSON exports only; no direct CRM API connectivity
- Compensation modeling does not account for tax implications or local labor law constraints

## Integration Points

| Integration | Direction | Purpose | Handoff Artifact |
|-------------|-----------|---------|-----------------|
| **Account Executive** | Ops -> AE | Territory assignments, quota targets, pipeline reports, forecast templates | Territory map, quota letter, pipeline dashboard, forecast submission form |
| **Sales Engineer** | Ops -> SE | Activity tracking, demo conversion metrics, technical win/loss data | SE activity reports, technical evaluation pipeline |
| **Customer Success Manager** | Ops -> CSM | Renewal pipeline tracking, expansion revenue attribution, churn reporting | Renewal forecast rollup, NRR reports, churn analysis |
| **Marketing** | Bidirectional | Lead attribution, MQL-to-SQL conversion, campaign ROI, pipeline sourcing | Attribution reports, lead routing rules, campaign pipeline reports |
| **Finance** | Ops -> Finance | Revenue forecasting, commission calculations, quota-to-capacity planning | Forecast submissions, commission statements, headcount models |
| **Revenue Operations** | Bidirectional | Cross-functional GTM metrics, funnel analytics, ARR reporting | Unified revenue dashboard, GTM efficiency metrics |
| **HR** | Ops -> HR | Headcount planning, ramp modeling, performance data for reviews | Ramp timelines, quota attainment reports, territory capacity models |

**Workflow Handoff Protocol:**
1. Sales Ops publishes territory assignments and quota letters at least 2 weeks before quarter start
2. Sales Ops delivers weekly pipeline report to sales leadership every Monday by 10 AM
3. Sales Ops collects forecast submissions from AEs every Friday and publishes rolled-up forecast by Monday
4. Sales Ops runs monthly territory health review and flags imbalances exceeding 15% variance

Files in this skill

  • SKILL.md13.9 KB
  • scripts/forecast_analyzer.py10.6 KB
  • scripts/quota_calculator.py11.1 KB
  • scripts/territory_planner.py14.1 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.