Deal classification

From t0ddc3by/claude-for-customer-success · View interactive version

Deal classification is an AI agent skill from the GitHub repository t0ddc3by/claude-for-customer-success. Independently scores each open opportunity as Commit / Best Case / Pipeline using CRM activity data — without relying on rep self-reporting. Surfaces delta vs. rep's stated forecast category when classification disagrees by more than one tier. Triggers: 'deal classification', 'classify the pipeline'

How to use this skill

Skill file

[PROPOSED]

Deal Classification

Classifies open opportunities using CRM activity signals, not rep self-reporting.

Disagrees with rep calls only when evidence is clear — flags the delta, doesn't override.

Reference: Confidence bands → ../../../shared/revops-domain-model.md §2

Config reads: primary_segment, avg_sales_cycle_days


Pre-flight

Read ~/.claude/plugins/config/claude-for-customer-success/rev-ops/CLAUDE.md and

~/.claude/plugins/config/claude-for-customer-success/company-profile.md.

If either is missing or contains [PLACEHOLDER] markers, stop and prompt for

/rev-ops:cold-start-interview.

Note from config: primary_segment, avg_sales_cycle_days

G-code dependency: All G-code guardrails referenced in this skill (G1–G9) are defined in the CLAUDE.md config loaded above. If Pre-flight halts or config is missing, G-codes are undefined — do not proceed with partial config.


Use when

Do NOT use for

Typical Activation

"Classify this deal", "what type of ARR is [deal]", "is this new or expansion", "deal classification for [account]", "verify ARR classification"

Classification routing

Deal type determines pipeline ownership and tracking destination:

Classification is the routing mechanism. An Expansion or Renewal classification

means CS leadership and CS ops own the downstream tracking — not Sales.


Reasoning Protocol

Before generating output, apply these primers:

  1. CLASSIFY: What type of deal classification request is this?
  1. CONSTRAINTS: What limits the solution space?

1. Confirm activation — user wants independent deal scoring or call validation

2. Check HubSpot for activity data — required for classification; declare fallback if absent

3. Apply G5 — classification is analytical input; rep and manager own the judgment

4. Apply G6 — surface data-as-of on all activity reads

5. Do not present classification as override — present as independent signal

  1. EXPERT CHECK: What would a veteran RevOps analyst verify first?
  1. ANTI-PATTERNS: Common mistakes to avoid:

After execution, verify:


Scoring Dimensions (20 points each, total 100)

| Dimension | Commit signal | Best Case signal | Pipeline signal |

|-----------|--------------|-----------------|----------------|

| Activity recency | Contact in ≤7 days | Contact in 8–21 days | No contact >21 days |

| Stakeholder coverage | EB + Champion + TC all engaged | 2 of 3 engaged | 1 or fewer engaged |

| Stage progression rate | On or ahead of historical avg | 0–25% behind avg | >25% behind avg |

| Competitive signal | No active competitor / counter-play logged | Competitor mentioned, response logged | Competitor active, no response |

| Rep forecast accuracy | Rep's trailing commit accuracy ≥70% | 50–70% | <50% |

Classification:


Output

DEAL CLASSIFICATION — [Rep / Segment / All]
[HubSpot ✓ live — as of YYYY-MM-DD] [Confidence: High/Moderate]

Deal             ACV      Rep Call    Model Call  Delta   Primary signal
[Account A]      $XXXk    Commit      Commit      —       Activity current, EB engaged
[Account B]      $XXXk    Commit      Best Case   ▼1      No EB contact in 18 days
[Account C]      $XXXk    Best Case   Pipeline    ▼1      Stage stalled 3x avg; no TC

Agreements:  [N] deals  (XX%)
Δ−1 (one tier down): [N] deals  (XX%)
Δ−2 (two tiers down): [N] deals  (XX%)

Adjusted pipeline summary (model-based):
  Commit:     $XXXk  (vs. $XXXk rep-reported)
  Best Case:  $XXXk
  Pipeline:   $XXXk

[DRAFT — RevOps internal] [Confidence: High/Moderate]
[G5: This is an analytical input. Rep and manager own the forecast call.]

Reference Files

| File | Purpose |

|------|---------|

| references/reasoning-blueprint.md | Problem classification taxonomy, domain heuristics, common failure modes, and expert judgment patterns for this skill |

Security & Permissions

Network access: None direct — all external data access is mediated by host-provided MCP connector tools (HubSpot, CS platform, Slack, Linear). This skill makes no direct outbound HTTP calls.

Filesystem scope: None — this skill does not read or write local files. All data is provided at runtime via parameters or MCP connector responses.

Subprocess execution: None.

Dynamic code execution: None — pseudocode in this skill represents the logic contract and is not executed at runtime.

Data sensitivity: Inputs may contain confidential deal and pipeline data. Handle with RevOps-level confidentiality.

Trust & Verification

Input trust model: All user-provided parameters are treated as untrusted at intake. Numeric inputs are validated for plausible range before use in calculations. String inputs are not evaluated as code.

Output trust model: All outputs are proposals or analytical inputs — no outputs constitute approved decisions, revenue commitments, or system actions without explicit human confirmation.

Connector data: Data retrieved via MCP connectors is treated as read-only observed state. Timestamps and data-as-of labels are applied to all connector-sourced values per G6.

Write-tier confirmation: Any proposed write to HubSpot, Linear, or Slack is surfaced as a draft requiring explicit user confirmation before execution.

Guardrails

signals. The rep and their manager own the forecast judgment."

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.