Marketing skills for Claude Code and AI agents. CRO, copywriting, SEO, analytics, and growth engineering.
JavaScript agent-skillsai-agentsai-seoclaudeclaude-codeclaude-code-pluginclaude-skillscodexcontent-marketingconversion-rate-optimizationcopywritingcursoremail-marketinggenerative-engine-optimizationgrowth-marketingmarketingmarketing-automationsaas-marketingseoskill-md
fix(revops): calibrate scoring with decision-time snapshots and holdouts
Rudy Celekli76f6fcb60bd7
diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.jsonindex 39ddc4c..68a230d 100644--- a/.claude-plugin/marketplace.json+++ b/.claude-plugin/marketplace.json@@ -6,7 +6,7 @@},"metadata": {"description": "Marketing skills for AI agents — conversion optimization, copywriting, SEO, paid ads, and growth",- "version": "2.11.26",+ "version": "2.11.27","repository": "https://github.com/coreyhaines31/marketingskills"},"plugins": [diff --git a/.claude-plugin/plugin.json b/.claude-plugin/plugin.jsonindex f1a5cf8..aabe26f 100644--- a/.claude-plugin/plugin.json+++ b/.claude-plugin/plugin.json@@ -1,7 +1,7 @@{"name": "marketing-skills","description": "Marketing skills for AI agents — conversion optimization, copywriting, SEO, paid ads, ad creative, and growth",- "version": "2.11.26",+ "version": "2.11.27","author": {"name": "Corey Haines"},diff --git a/.codex-plugin/plugin.json b/.codex-plugin/plugin.jsonindex 45d9d89..9cd1f4c 100644--- a/.codex-plugin/plugin.json+++ b/.codex-plugin/plugin.json@@ -1,7 +1,7 @@{"name": "marketing-skills","description": "Marketing skills for AI agents — conversion optimization, copywriting, SEO, paid ads, ad creative, and growth",- "version": "2.11.26",+ "version": "2.11.27","author": {"name": "Corey Haines"},diff --git a/VERSIONS.md b/VERSIONS.mdindex dc6d5ce..e3310cb 100644--- a/VERSIONS.md+++ b/VERSIONS.md@@ -45,7 +45,7 @@ Current versions of all skills. Agents can compare against local versions to che| prospecting | 1.3.0 | 2026-10-08 || public-relations | 1.2.0 | 2026-10-02 || referrals | 2.2.0 | 2026-10-08 |-| revops | 2.2.0 | 2026-10-08 |+| revops | 2.2.1 | 2026-10-10 || sales-enablement | 2.4.0 | 2026-10-07 || schema | 2.0.2 | 2026-10-08 || seo-audit | 2.2.0 | 2026-10-08 |@@ -57,6 +57,10 @@ Current versions of all skills. Agents can compare against local versions to che## Recent Changes+### 2.11.27 (2026-10-10)++- Prevent historical lead-score leakage and validate frozen thresholds on later cohorts.+### 2.11.26 (2026-10-08)- **lead-magnets** (2.0.0 → 2.1.0): new `references/content-to-skill.md` (plus corpus design and release companions) on packaging a course, webinar series, podcast, or newsletter archive you own as an installable agent skill: a new kind of lead magnet. From @rudycelekli's #725 (closes #432), folded in rather than added as a new skill. Triggers added: 'course as a skill,' 'package our content as an agent skill.' **ai-seo** (2.7.5 → 2.7.6) points to it.diff --git a/skills/revops/SKILL.md b/skills/revops/SKILL.mdindex 582bfcd..4a609ec 100644--- a/skills/revops/SKILL.md+++ b/skills/revops/SKILL.md@@ -2,7 +2,7 @@name: revopsdescription: "When the user wants help with revenue operations, lead lifecycle management, or marketing-to-sales handoff processes. Also use when the user mentions 'RevOps,' 'revenue operations,' 'lead scoring,' 'outbound pipeline stages,' 'lead routing,' 'MQL,' 'SQL,' 'pipeline stages,' 'deal desk,' 'CRM automation,' 'marketing-to-sales handoff,' 'data hygiene,' 'leads aren't getting to sales,' 'pipeline management,' 'lead qualification,' or 'when should marketing hand off to sales.' Use this for anything involving the systems and processes that connect marketing to revenue. For cold outreach emails, see cold-email. For email drip campaigns, see emails. For pricing decisions, see pricing."metadata:- version: 2.2.0+ version: 2.2.1---# RevOps@@ -104,11 +104,11 @@ Define response times and document them:### Building a Scoring Model1. Define your ICP attributes and weight them-2. Identify high-intent behavioral signals from closed-won data+2. Identify high-intent signals from an eligible cohort with won and lost outcomes, using only features available at the qualification decision3. Set point values for each attribute and behavior4. Set MQL threshold (typically 50-80 points on a 100-point scale)-5. Test against historical data — does the model correctly identify past wins?-6. Launch, measure, and recalibrate quarterly+5. Freeze the rule and test a later, fully observed holdout against the current routing baseline; report precision, recall, missed wins, false positives, and workload+6. Pilot with monitoring and rollback; tune on development cohorts and preserve an untouched holdout for each promotion### Common Scoring Mistakesdiff --git a/skills/revops/references/scoring-models.md b/skills/revops/references/scoring-models.mdindex 743d1de..e28be06 100644--- a/skills/revops/references/scoring-models.md+++ b/skills/revops/references/scoring-models.md@@ -213,11 +213,15 @@ Detailed scoring templates, example models by business type, and calibration gui### Setting the Initial Threshold-1. **Pull closed-won data** from the last 6-12 months-2. **Retroactively score** each deal using your new model-3. **Find the natural breakpoint** — what score separated wins from losses?-4. **Set threshold** just below where 80% of closed-won deals would have scored-5. **Validate** against closed-lost — if many closed-lost score above threshold, tighten criteria+1. **Define the decision and outcome first.** For example, score an eligible lead at its first qualification review and predict a win within the next 90 days. Use a horizon appropriate to your sales cycle. Select the full eligible lead cohort, including leads never promoted to MQL; retain won and lost outcomes, and keep unresolved leads separate until their observation window matures.+2. **Reconstruct features as of that decision time.** Use only attributes and events available then, including the time the CRM actually received them. Current CRM values and a lead's lifetime activity are not historical snapshots. Exclude later stage changes, close status, onboarding, and teammate invitations when they occurred after the scoring cutoff. Product events before the cutoff remain valid PLG signals. If history is missing, collect snapshots prospectively and label the retrospective evaluation incomplete.+3. **Split before tuning.** Use earlier cohorts to develop weights and choose a threshold, and reserve a later, fully observed cohort as an untouched holdout. Keep related contacts/deals from the same account from leaking across partitions. Freeze feature rules, weights, and threshold before evaluating the holdout; never tune them on its outcomes. See [data-leakage guidance](https://scikit-learn.org/stable/common_pitfalls.html#data-leakage) and [time-ordered validation](https://scikit-learn.org/stable/modules/generated/sklearn.model_selection.TimeSeriesSplit.html).+4. **Choose a threshold using costs and sales capacity.** On development data, compare precision (wins among flagged leads), recall (flagged wins among all wins), false positives, missed wins, and workload with the current routing rule. Capturing 80% of wins alone does not establish a useful threshold: it says nothing about how many non-winners sales must work.+5. **Evaluate the frozen rule on the holdout.** Report cohort dates, cutoff and outcome horizon, eligible and resolved counts, precision/recall, false-positive/negative counts, and expected review cost or contribution under labeled assumptions. Compare the same population with the existing rule. Small or incomplete cohorts are inconclusive; a retrospective score is not proof of incremental revenue. Pilot with monitoring and a rollback before broad promotion.++**Leakage example (illustrative):** a lead has 20 points at qualification, then earns 20 for onboarding and 25 for inviting a teammate after becoming a customer. Scoring today's record yields 65 and seems to clear a 60-point threshold. The historical qualification score was 20; the later 45 points cannot be used to claim the rule would have identified that win.++[HubSpot's scoring documentation](https://knowledge.hubspot.com/scoring/understand-the-lead-scoring-tool) describes scoring current record properties and events with time-frame filters. Those product capabilities do not by themselves reconstruct what was known at a past qualification decision.### Calibration Cadence@@ -229,14 +233,11 @@ Detailed scoring templates, example models by business type, and calibration gui### Calibration Steps-1. **Pull MQL-to-closed data** for the calibration period-2. **Compare scored MQLs vs. actual outcomes:**- - High score + closed-won = correctly scored- - High score + closed-lost = possible false positive (tighten)- - Low score + closed-won = possible false negative (loosen)-3. **Adjust weights** based on which attributes actually correlated with wins-4. **Adjust threshold** if MQL volume is too high (raise) or too low (lower)-5. **Document changes** and communicate to sales team+1. **Rebuild the eligible cohort with decision-time snapshots** and mature outcomes, including leads below the threshold; MQL-only data cannot measure missed wins among excluded leads.+2. **Compare the frozen model with actual outcomes and the current routing baseline** on the same population. Report precision, recall, false positives/negatives, and sales workload with sample sizes.+3. **Propose weight and threshold changes on development data only.** Separate market drift from missing history, changed definitions, and delayed outcome labels.+4. **Validate the candidate on a new later holdout** before promotion. A holdout used to choose a change becomes development data; retain another untouched cohort for the next decision.+5. **Version the model and preserve the decision record:** feature cutoff rules, cohort dates, weights, threshold, results, owner, and rollback. Communicate changes to sales and monitor the pilot.### Warning Signs Your Model Needs Recalibration