microsoft/dataverse-business-skills/pipeline-health-analyzer
Claude Code and agent skill by microsoft/dataverse-business-skills
- vendor
Checking that the SKILL.md file is still in the repository.
Reviews opportunities in the sales pipeline to identify stuck deals, missing next steps, weak qualification, and unbalanced stages. Use when user asks "how is my pipeline looking", "analyze pipeline health", "which deals are stuck", "pipeline review", "find at-risk deals", "identify stalled opportunities", or "audit my open deals".
Install
npx vskill@latest install microsoft/dataverse-business-skills/pipeline-health-analyzerSKILL.md
Pipeline Health Analyzer
Sales teams often review pipelines weekly to identify at-risk deals manually. This skill automates that process by analyzing opportunity records against configurable health criteria, flagging issues, and providing prioritized recommendations to improve deal progression.
Instructions
Step 1: Determine Analysis Scope
Identify the pipeline scope to analyze:
Option A - Full Pipeline:
- All open opportunities (statecode = 0)
Option B - Filtered View:
- By owner (specific sales rep or team)
- By time period (opportunities created/modified in range)
- By value threshold (deals above $X)
- By sales stage
Query Example for Full Pipeline:
Step 2: Analyze Individual Opportunity Health
For each opportunity, evaluate against these health dimensions:
2.1 Stuck Deal Detection Query activity history for each opportunity:
Stuck Deal Criteria:
| Stage | Days Without Activity = Warning | Days Without Activity = Critical | |
|---|---|---|---|
| Qualify | 7 days | 14 days | |
| Develop | 10 days | 21 days | |
| Propose | 5 days | 10 days | |
| Close | 3 days | 7 days |
Flag as Stuck if:
- No activities in threshold period
- Only automated activities (emails) but no calls/meetings
- Last activity was over 2 weeks ago regardless of stage
2.2 Missing Next Steps Analysis Check for scheduled future activities:
Note: Filter results where scheduledstart > current date. Activity statecodes:
- 0 = Open (scheduled activities)
- 1 = Completed
- 2 = Canceled
- 3 = Scheduled (specific to appointments)
Flag if:
- No scheduled future tasks or appointments
- Next scheduled activity is more than 2 weeks away
- Scheduled activity is past due (scheduledend < today, still open)
2.3 Qualification Weakness Assessment Evaluate BANT (Budget, Authority, Need, Timeline) signals:
| Signal | Field | Weak | Moderate | Strong | |
|---|---|---|---|---|---|
| Budget | budgetstatus | 0 (No Budget) | 1 (May Buy) | 2-3 (Can/Will Buy) | |
| Authority | decisionmaker | NULL/false | - | true | |
| Need | need | 3 (No need) | 2 (Good to have) | 0-1 (Must/Should have) | |
| Timeline | purchasetimeframe | 4 (Unknown) | 2-3 (This/Next Year) | 0-1 (Immediate/This Qtr) | |
| Process | purchaseprocess | 2 (Unknown) | 1 (Committee) | 0 (Individual) |
Qualification Score Calculation:
- Strong signal = 2 points
- Moderate signal = 1 point
- Weak signal = 0 points
- Total: 0-10 points (10 = fully qualified)
Flag as Under-qualified if:
- Score < 5 for deals in Propose/Close stage
- Budget is unknown for deals > $50K
- No decision maker identified for deals in Committee process
2.4 Stage Age Analysis Calculate time in current stage:
- Use stage transition tracking or estimate from modifiedon
- Compare against expected stage duration benchmarks
Typical Stage Duration Benchmarks:
| Stage | Small Deal (<$25K) | Medium Deal ($25K-$100K) | Enterprise (>$100K) | |
|---|---|---|---|---|
| Qualify | 7 days | 14 days | 21 days | |
| Develop | 14 days | 30 days | 60 days | |
| Propose | 7 days | 14 days | 30 days | |
| Close | 14 days | 30 days | 45 days |
Flag if: Time in stage > 1.5x benchmark
2.5 Close Date Validity Check estimated close date reasonableness:
Flag if:
estimatedclosedateis in the pastestimatedclosedatehas been pushed out 3+ times (if tracking available)- Close date is within 7 days but stage is Qualify/Develop
- Close date is > 6 months out but forecast category is "Committed"
2.6 Competitive Risk Assessment Analyze competitive signals from opportunity fields:
- Check
description,currentsituationfor competitor mentions - Evaluate against known competitor patterns
Flag if:
- Competitor explicitly mentioned
- "Evaluating alternatives" or similar language detected
- Multiple vendors mentioned
Step 3: Pipeline Balance Analysis
3.1 Stage Distribution
Healthy Pipeline Ratios:
| Stage | Ideal Count % | Ideal Value % | |
|---|---|---|---|
| Qualify | 40-50% | 30-40% | |
| Develop | 25-35% | 25-35% | |
| Propose | 15-20% | 20-25% | |
| Close | 5-15% | 10-20% |
Flag Imbalances:
- Top-Heavy: Too many deals in early stages (lead gen working, conversion not)
- Bottom-Heavy: Too few deals in early stages (future quarter risk)
- Propose Jam: Deals stuck in proposal phase (pricing or competitive issues)
3.2 Close Date Clustering Analyze deals by expected close timing:
Flag if:
- >50% of pipeline value closing in last week of quarter ("hockey stick")
- Current month has more committed deals than capacity
- Next quarter has insufficient pipeline coverage
3.3 Value Distribution Analyze deal size distribution using separate queries (CASE not supported in Dataverse SQL):
Small Deals (<$25K):
Medium Deals ($25K-$100K):
Enterprise Deals (>$100K):
Flag Concentration Risk:
- Single deal > 30% of pipeline value
- Top 3 deals > 50% of pipeline value
- Over-reliance on one deal size category
Step 4: Generate Health Scores and Insights
Individual Opportunity Health Score (0-100):
| Component | Weight | Max Points | |
|---|---|---|---|
| Activity Recency | 25% | 25 | |
| Next Steps Defined | 20% | 20 | |
| Qualification Strength | 25% | 25 | |
| Stage Velocity | 15% | 15 | |
| Close Date Validity | 15% | 15 |
Score Interpretation:
- 80-100: Healthy - On track
- 60-79: At Risk - Needs attention
- 40-59: Critical - Immediate action required
- 0-39: Stalled - May need to be disqualified
Step 5: Output Pipeline Health Report
Executive Summary:
Priority Action List:
Pipeline Risks:
Step 6: Drill-Down Recommendations
For Stuck Deals:
- Suggest specific re-engagement messages
- Recommend alternative contacts to try
- Propose disqualification if multiple attempts failed
For Under-Qualified Deals:
- Generate discovery questions to fill BANT gaps
- Suggest qualification call agenda
- Recommend resources (case studies, ROI calculators)
For Pipeline Imbalance:
- If top-heavy: Focus on conversion activities
- If bottom-heavy: Increase prospecting
- If propose jam: Review pricing strategy, competitive positioning
Dataverse Tables Used
| Table | Purpose | |
|---|---|---|
opportunity | Primary entity for pipeline analysis | |
activitypointer | Activity history for engagement analysis | |
task | Scheduled tasks for next steps | |
appointment | Scheduled meetings | |
account | Customer context | |
contact | Stakeholder information | |
systemuser | Owner/rep information |
Key Fields Reference
opportunity:
salesstage(CHOICE) - Qualify(0), Develop(1), Propose(2), Close(3)stepname(NVARCHAR) - Current business process stepestimatedvalue(MONEY) - Deal valueestimatedclosedate(DATE) - Expected closecloseprobability(INT) - Win probability % (0-100)budgetstatus(CHOICE) - No Committed Budget(0), May Buy(1), Can Buy(2), Will Buy(3)need(CHOICE) - Must have(0), Should have(1), Good to have(2), No need(3)purchasetimeframe(CHOICE) - Immediate(0), This Quarter(1), Next Quarter(2), This Year(3), Unknown(4)purchaseprocess(CHOICE) - Individual(0), Committee(1), Unknown(2)decisionmaker(BIT) - Decision maker confirmed (true/false)msdyn_opportunityscore(INT) - AI predictive score (0-100)msdyn_opportunitygrade(CHOICE) - Grade A(0), B(1), C(2), D(3)msdyn_opportunityscoretrend(CHOICE) - Improving(0), Steady(1), Declining(2), Not enough info(3)msdyn_forecastcategory(CHOICE) - Pipeline(100000001), Best case(100000002), Committed(100000003), Omitted(100000004), Won(100000005), Lost(100000006)statecode(STATE) - Open(0), Won(1), Lost(2)statuscode(STATUS) - In Progress(1), On Hold(2) [Open]; Won(3) [Won]; Canceled(4), Out-Sold(5) [Lost]
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files. Certified 29 Sep 2026.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/pipeline-health-analyzer/SKILL.md
Popularity
- Repository stars
- 1
- 7-day trend score
- 3
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 19 Mar 2026, 8 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/microsoft/dataverse-business-skills/pipeline-health-analyzer)