Dataverse Business Skills is a collection of natural-language instructions that teach AI agents how to follow business processes, policies, and domain knowledge for Microsoft Dataverse. Organizations use the skills with Dataverse environments connected to products such as Power Apps, Dynamics 365, or Power Platform. The catalogue entries are skills from this collection.
Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add microsoft/dataverse-business-skills --skill win-loss-pattern-analyzergit clone --depth 1 https://github.com/microsoft/dataverse-business-skillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/microsoft/dataverse-business-skills/win-loss-pattern-analyzer)<a href="https://agentmods.dev/skills/microsoft/dataverse-business-skills/win-loss-pattern-analyzer"><img src="https://agentmods.dev/badge/skills/microsoft/dataverse-business-skills/win-loss-pattern-analyzer.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00085 | $0.06044 |
| Opus 5 | $0.00043 | $0.03022 |
| Sonnet 5 | $0.00017 | $0.01209 |
| Haiku 4.5 | $0.00009 | $0.00604 |
Grade A, and why
win-loss-pattern-analyzer scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 697 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Win/Loss Pattern Analyzer
Sales teams need to understand why they win and lose deals. This skill analyzes historical closed opportunities to identify patterns, highlight what winners do differently, recognize common loss signals, and provide data-driven playbook recommendations.
Instructions
Step 1: Define Analysis Scope
When user asks "Why are we losing enterprise deals in manufacturing vertical?":
1.1 Parse Analysis Criteria: Extract filters from user query:
- Deal size segment (enterprise, mid-market, SMB)
- Industry/vertical (manufacturing, financial services, etc.)
- Time period (last 6 months, last year, etc.)
- Sales stage of loss (if applicable)
- Competitor (if mentioned)
- Owner/team (if specified)
1.2 Build Analysis Query:
Important: Dataverse SQL Limitations Dataverse SQL does NOT support: DATEADD(), GETUTCDATE(), subqueries, HAVING, DISTINCT, UNION, CASE, DATEDIFF. Calculate date filters and durations programmatically (e.g., use '2025-03-01' for last year).
SELECT opportunityid, name, accountid, customerid, estimatedvalue, actualvalue,
createdon, actualclosedate, statecode, statuscode,
salesstage, closeprobability, budgetstatus, need,
purchasetimeframe, purchaseprocess, decisionmaker,
description, qualificationcomments, msdyn_forecastcategory,
ownerid
FROM opportunity
WHERE actualclosedate > '2025-03-01'
Then filter programmatically for statecode = 1 (Won) or statecode = 2 (Lost).
Add Segment Filters:
-- Enterprise deals (example threshold)
SELECT opportunityid, name, accountid, estimatedvalue, actualvalue,
createdon, actualclosedate, statecode, statuscode
FROM opportunity
WHERE actualclosedate > '2025-03-01'
AND estimatedvalue >= 100000
-- Industry filter (via account join)
SELECT o.opportunityid, o.name, o.estimatedvalue, a.industrycode
FROM opportunity o
JOIN account a ON o.accountid = a.accountid
WHERE o.actualclosedate > '2025-03-01'
AND a.industrycode = 12
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 8d ago First seen · 697 lines · 85 tokens per session scan A a24e2fd91d1d
win-loss-pattern-analyzer is a skill published in the GitHub repository microsoft/dataverse-business-skills (49 stars, last pushed 6mo ago), licensed MIT. It adds 85 tokens to every session and 6,044 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.
local-ai-agents
Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…
next-cache-components-adoption
Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…
next-partial-prefetching-adoption
Turn on Partial Prefetching in a Next.js app and work through the insights it surfaces. Use when the user wants to enable or adopt Partial Prefetching, flip the partialPrefetching flag, opt routes in with export const prefetch = 'partial', audit Link prefetch={true} behavior, preserve existing prefetched UI with…
chronicle
Analyze Copilot session history for standup reports, usage tips, session search, and session reindexing. Use when the user asks for a standup, daily summary, usage tips, workflow recommendations, wants to search or find past sessions by keyword/file/PR, wants to reindex their session store, or asks about deleting…
babysit-pr
Babysit a GitHub pull request after creation by continuously polling review comments, CI checks/workflow runs, and mergeability state until the PR is merged/closed or user help is required. Diagnose failures, retry likely flaky failures up to 3 times, auto-fix/push branch-related issues when appropriate, and keep…