Customer Success Manager skill for Claude

Use when reviewing customer accounts for health, churn risk or expansion. Scores health with health_score_calculator.py, churn with churn_risk_analyzer.py and upsell with expansion_opportunity_scorer.py.

Customer Success Manager SKILL.md

The full skill file from alirezarezvani/claude-skills (MIT).

Customer Success Manager

Production-grade customer success analytics with multi-dimensional health scoring, churn risk prediction, and expansion opportunity identification. Three Python CLI tools provide deterministic, repeatable analysis using standard library only -- no external dependencies, no API calls, no ML models.


Table of Contents


Input Requirements

All scripts accept a JSON file as positional input argument. See assets/sample_customer_data.json for complete schema examples and sample data.

Health Score Calculator

Required fields per customer object: customer_id, name, segment, arr, and nested objects usage (login_frequency, feature_adoption, dau_mau_ratio), engagement (support_ticket_volume, meeting_attendance, nps_score, csat_score), support (open_tickets, escalation_rate, avg_resolution_hours), relationship (executive_sponsor_engagement, multi_threading_depth, renewal_sentiment), and previous_period scores for trend analysis.

Churn Risk Analyzer

Required fields per customer object: customer_id, name, segment, arr, contract_end_date, and nested objects usage_decline, engagement_drop, support_issues, relationship_signals, and commercial_factors.

Expansion Opportunity Scorer

Required fields per customer object: customer_id, name, segment, arr, and nested objects contract (licensed_seats, active_seats, plan_tier, available_tiers), product_usage (per-module adoption flags and usage percentages), and departments (current and potential).


Output Formats

All scripts support two output formats via the --format flag:

  • text (default): Human-readable formatted output for terminal viewing
  • json: Machine-readable JSON output for integrations and pipelines

How to Use

Quick Start

# Health scoring
python scripts/health_score_calculator.py assets/sample_customer_data.json
python scripts/health_score_calculator.py assets/sample_customer_data.json --format json

# Churn risk analysis
python scripts/churn_risk_analyzer.py assets/sample_customer_data.json
python scripts/churn_risk_analyzer.py assets/sample_customer_data.json --format json

# Expansion opportunity scoring
python scripts/expansion_opportunity_scorer.py assets/sample_customer_data.json
python scripts/expansion_opportunity_scorer.py assets/sample_customer_data.json --format json

Workflow Integration

# 1. Score customer health across portfolio
python scripts/health_score_calculator.py customer_portfolio.json --format json > health_results.json
# Verify: confirm health_results.json contains the expected number of customer records before continuing

# 2. Identify at-risk accounts
python scripts/churn_risk_analyzer.py customer_portfolio.json --format json > risk_results.json
# Verify: confirm risk_results.json is non-empty and risk tiers are present for each customer

# 3. Find expansion opportunities in healthy accounts
python scripts/expansion_opportunity_scorer.py customer_portfolio.json --format json > expansion_results.json
# Verify: confirm expansion_results.json lists opportunities ranked by priority

# 4. Prepare QBR using templates
# Reference: assets/qbr_template.md

Error handling: If a script exits with an error, check that:

  • The input JSON matches the required schema for that script (see Input Requirements above)
  • All required fields are present and correctly typed
  • Python 3.7+ is being used (python --version)
  • Output files from prior steps are non-empty before piping into subsequent steps

Scripts

1. health_score_calculator.py

Purpose: Multi-dimensional customer health scoring with trend analysis and segment-aware benchmarking.

Dimensions and Weights:

DimensionWeightMetrics
Usage30%Login frequency, feature adoption, DAU/MAU ratio
Engagement25%Support ticket volume, meeting attendance, NPS/CSAT
Support20%Open tickets, escalation rate, avg resolution time
Relationship25%Executive sponsor engagement, multi-threading depth, renewal sentiment

Classification:

  • Green (75-100): Healthy -- customer achieving value
  • Yellow (50-74): Needs attention -- monitor closely
  • Red (0-49): At risk -- immediate intervention required

Usage:

python scripts/health_score_calculator.py customer_data.json
python scripts/health_score_calculator.py customer_data.json --format json

2. churn_risk_analyzer.py

Purpose: Identify at-risk accounts with behavioral signal detection and tier-based intervention recommendations.

Risk Signal Weights:

Signal CategoryWeightIndicators
Usage Decline30%Login trend, feature adoption change, DAU/MAU change
Engagement Drop25%Meeting cancellations, response time, NPS change
Support Issues20%Open escalations, unresolved critical, satisfaction trend
Relationship Signals15%Champion left, sponsor change, competitor mentions
Commercial Factors10%Contract type, pricing complaints, budget cuts

Risk Tiers:

  • Critical (80-100): Immediate executive escalation
  • High (60-79): Urgent CSM intervention
  • Medium (40-59): Proactive outreach
  • Low (0-39): Standard monitoring

Usage:

python scripts/churn_risk_analyzer.py customer_data.json
python scripts/churn_risk_analyzer.py customer_data.json --format json

3. expansion_opportunity_scorer.py

Purpose: Identify upsell, cross-sell, and expansion opportunities with revenue estimation and priority ranking.

Expansion Types:

  • Upsell: Upgrade to higher tier or more of existing product
  • Cross-sell: Add new product modules
  • Expansion: Additional seats or departments

Usage:

python scripts/expansion_opportunity_scorer.py customer_data.json
python scripts/expansion_opportunity_scorer.py customer_data.json --format json

Reference Guides

ReferenceDescription
references/health-scoring-framework.mdComplete health scoring methodology, dimension definitions, weighting rationale, threshold calibration
references/cs-playbooks.mdIntervention playbooks for each risk tier, onboarding, renewal, expansion, and escalation procedures
references/cs-metrics-benchmarks.mdIndustry benchmarks for NRR, GRR, churn rates, health scores, expansion rates by segment and industry

Templates

TemplatePurpose
assets/qbr_template.mdQuarterly Business Review presentation structure
assets/success_plan_template.mdCustomer success plan with goals, milestones, and metrics
assets/onboarding_checklist_template.md90-day onboarding checklist with phase gates
assets/executive_business_review_template.mdExecutive stakeholder review for strategic accounts

Best Practices

  1. Combine signals: Use all three scripts together for a complete customer picture
  2. Act on trends, not snapshots: A declining Green is more urgent than a stable Yellow
  3. Calibrate thresholds: Adjust segment benchmarks based on your product and industry per references/health-scoring-framework.md
  4. Prepare with data: Run scripts before every QBR and executive meeting; reference references/cs-playbooks.md for intervention guidance

Limitations

  • No real-time data: Scripts analyze point-in-time snapshots from JSON input files
  • No CRM integration: Data must be exported manually from your CRM/CS platform
  • Deterministic only: No predictive ML -- scoring is algorithmic based on weighted signals
  • Threshold tuning: Default thresholds are industry-standard but may need calibration for your business
  • Revenue estimates: Expansion revenue estimates are approximations based on usage patterns

Last Updated: February 2026 Tools: 3 Python CLI tools Dependencies: Python 3.7+ standard library only

How to install Customer Success Manager

Claude Code

Copy the skill into your personal skills folder (or into .claude/skills/ inside a project):

npx degit alirezarezvani/claude-skills/business-growth/skills/customer-success-manager#main ~/.claude/skills/customer-success-manager

Codex

npx degit alirezarezvani/claude-skills/business-growth/skills/customer-success-manager#main ~/.codex/skills/customer-success-manager

Claude.ai and Claude Desktop

Download the skill folder from GitHub, zip it, and upload it under Settings → Capabilities → Skills.

Frequently asked questions

+What does the Customer Success Manager skill do?

Use when reviewing customer accounts for health, churn risk or expansion. Scores health with health_score_calculator.py, churn with churn_risk_analyzer.py and upsell with expansion_opportunity_scorer.py.

+How do I install Customer Success Manager in Claude Code?

Copy the skill folder into ~/.claude/skills/customer-success-manager, for example with "npx degit alirezarezvani/claude-skills/business-growth/skills/customer-success-manager#main ~/.claude/skills/customer-success-manager". Claude Code loads it automatically and uses it when a task matches.

+Does Customer Success Manager work with ChatGPT or Codex?

Yes. Customer Success Manager uses the open SKILL.md format. In Codex, put the folder in ~/.codex/skills/customer-success-manager. In Claude.ai, zip the folder and upload it under Settings → Capabilities → Skills.

+Is Customer Success Manager free?

Customer Success Manager is published on GitHub by alirezarezvani under the MIT license, which allows free use.

Related marketing skills

  1. Marketing Skills

    Use when looking for which of the 44 marketing skills fits a task. Lists them by pod and routes to one; does no marketing work itself.

    alirezarezvani/claude-skills★ 30k
  2. Image

    When the user wants to create, generate, edit, or optimize marketing images, or asks which approach to take (generate, design, or…

    coreyhaines31/marketingskills★ 61k
  3. Agent Reach

    只读读取各平台内容:搜索、读帖、看评论、取字幕、查行情和职位。 Use when 用户提到或贴出链接:小红书/xiaohongshu、B站/bilibili、Twitter/X、Reddit、…

    Panniantong/Agent-Reach★ 113k
  4. Email Sequence

    Use for any drip, nurture, onboarding, welcome or re-engagement email sequence to opted-in users, before writing emails.

    alirezarezvani/claude-skills★ 30k
  5. Form Cro

    Use when a lead, contact, demo or checkout form is underperforming or being designed, before changing fields.

    alirezarezvani/claude-skills★ 30k
  6. Grade Iterate

    Use when a launched managed agent needs grading against a rubric and improving ('grade my agent', 'is it good enough').

    alirezarezvani/claude-skills★ 30k
  7. Landing Page Generator

    Use when asked for a landing, marketing or campaign page as a Next.js TSX component with Tailwind.

    alirezarezvani/claude-skills★ 30k
  8. Launch Strategy

    Plan a product or feature launch: readiness score and a phased plan by channel.

    alirezarezvani/claude-skills★ 30k
  9. Linkedin Analytics

    Use when someone asks why their LinkedIn reach dropped, which posts worked, whether a pattern is real or how to test one.

    alirezarezvani/claude-skills★ 30k

See all marketing skills →

More skills from alirezarezvani

  1. Data Quality Auditor

    Use before analysis or model training on any dataset, or when asked to profile data or hunt missing values and outliers.

    alirezarezvani/claude-skills★ 30k
  2. Database Designer

    Design a database schema: tables, relationships, indexes, normalization, SQL vs NoSQL, migration plans.

    alirezarezvani/claude-skills★ 30k
  3. Database Schema Designer

    Use when asked for an ERD, table relationships, normalization or a schema migration plan.

    alirezarezvani/claude-skills★ 30k

All skills by alirezarezvani →

Give your whole team an AI agent with skills

Cody runs managed AI agents your team can message in Slack, Teams, WhatsApp and the web, with 50+ business integrations, scheduled tasks and memory. No terminal required.