Skip to main content
skill CX Codex

analytics · microsoft — Claude Code skill: Process Mining routing and overview

analytics is a Claude Code skill that routes Process Mining queries, shows process and event/variant metrics, and loads a specialist skill for deeper analysis.

MIT ★ 1,167 updated 2026-10-29

Install into Claude Code · Plugin marketplace All methods and platforms ↓
/plugin marketplace add microsoft/power-platform-skills
/plugin install process-intelligence@power-platform-skills
Open on GitHub

What analytics does

Skill reads the process list, picks one and fetches base metrics: event count, case count, variants, mean duration and waiting time. When the user asks for path concentration, the skill returns the five most frequent variants. After the base summary, the skill analyses the question and routes to a specialist: investigate-process for hypotheses, analyze-performance for bottlenecks, analyze-variants for repeated work, analyze-drivers for attributes, compare-cohorts for A/B cohorts.

Skill requires a working Power Platform Process Intelligence installation and does not create visualizations: it reads data and hands off control. An empty process list stops analysis.

What it helps with

  • Launch a Process Mining overview from the IDE
  • Select a process and fetch event, case and variant metrics
  • Show the five most frequent execution variants
  • Hand off to a specialist skill for performance or attribute analysis
  • Read metrics without creating visualizations or dashboards

Example prompts for the agent

  • Show an overview of the OrderFulfillment process from Process Mining
  • What are the case and event metrics for the IncidentResolution process?
  • List the five most common variants for CustomerOnboarding

How to install analytics

1Plugin marketplace

/plugin marketplace add microsoft/power-platform-skills
/plugin install process-intelligence@power-platform-skills

This installs the whole process-intelligence plugin with all its skills

2Skills CLI (Vercel)

npx skills add microsoft/power-platform-skills --skill analytics -a claude-code

3Manually: put the files in place

~/.claude/skills/analytics/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/analytics/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about analytics

How to install analytics in Claude Code?

Run /plugin marketplace add microsoft/power-platform-skills, then /plugin install process-intelligence@power-platform-skills. Via CLI: npx skills add microsoft/power-platform-skills --skill analytics -a claude-code. The skill appears in ~/.claude/skills/analytics/SKILL.md.

What does the analytics skill do?

Skill fetches base process metrics from Process Mining: event count, case count, variants, mean duration. After the overview, it routes to a specialist skill for performance, variant, attribute or A/B cohort analysis.

What does analytics require to work?

Skill requires an installed Power Platform Process Intelligence and access to processes via its API. Without processes in the system, analysis will not start.

Source text

SKILL.md · MIT
---
name: analytics
description: Use when a Process Mining overview, initial process selection, or an analytical follow-up needs routing.
allowed-tools: Read, AskUserQuestion
---

# Process overview and routing

Use the [shared contract](../../references/analysis-contract.md) once per fresh analysis context.
Recipes name native functions, not provider-prefixed host tools; bind them to discovered schemas.

## Shortest trace

1. Reuse the selected process and fresh metadata. Otherwise `get_processes {}` ->
   resolve the returned `P` (ask on duplicates) -> `get_process_details_v2 {processId:P}`
   when metadata is missing. An empty process list stops analysis.
2. `get_process_overall_metrics_v2 {S,filterOptions:F}`. Omit absent filters.
   Report returned case/event/variant counts and mean `CaseDuration`/`CaseWaitingTime`;
   preserve native units. Missing metrics are not zero.
   For utilization with zero active time or start-only data, check the zero-duration convention
   in [filters and units](../../references/filters-and-units.md); do not infer productive time.
3. Only for requested path concentration:
   `get_variants_with_metrics_v2 {S,filterOptions:F,itemsPerPage:5,itemsToSkip:0,metricToSortBy:"CaseCount",sortOrder:"Descending"}`.

Reuse completed evidence; continue necessary pages or checks without fixed analytical-call
or total-row quotas. Stop at an answer, not an arbitrary count; do not sweep or repeat unchanged queries.
Do not force an overview or investigation loop before a specialist's exact query.
Broad business questions or competing explanations use investigate-process: establish only
missing outcome definitions that change interpretation, then test the relevant claim.

| Follow-up | Load only this skill |
|---|---|
| Broad business question, observed pattern, competing explanations | investigate-process |
| Slow activities, waiting, handoffs, cumulative workload | analyze-performance |
| Common/slow variants, repeated work, a specific case | analyze-variants |
| Explanatory attributes, association hypotheses | analyze-drivers |
| Before/after or A/B cohorts | compare-cohorts |
| Missing metric, saved metric reuse, ephemeral formula | derive-metric |
| Interacting objects or leading-object executions | analyze-objects |

Stop when answered. Return a brief finding, at most five headline rows, scope/version,
metric aggregation/units and coverage; retain compact context for the next question.
Views, visualizations and saved metrics cannot be created through these tools.

© Microsoft · MIT · microsoft/power-platform-skills

Similar skills

All skills for Data and databases →

analytics by other authors comes first.

analytics coreyhaines31 analytics — a skill for Claude Code that structures tracking plans and audits metric calculations. Standardizes event naming across GA4, GTM, Mixpanel, and PostHog. CX Codex +1 97,200installs analytics apolloio analytics — a skill for Claude Code and other AI editors turns sales questions into Apollo tables. Ask about emails, calls, meetings or deals and get real numbers back instead of raw API output. CX Codex +1 636installs analytics OrchestKit analytics queries local Claude Code logs to report agent usage, hook latency, and token expenses. Runs whenever you inspect session costs or runtime bottlenecks. CX Codex +1 210installs cargo-analytics getcargo The cargo-analytics Claude Code skill measures Cargo run results and exports data as CSV or JSON. Use it to count errors or retrieve a run’s output. CX Codex +1 11,600installs openrouter-analytics-query OpenRouterTeam openrouter-analytics-query — a skill for building and running queries against the OpenRouter analytics API. Use it to pull metrics on model usage, group results by dimensions, and filter by time, model, or other parameters. CX Codex +1 355installs lean-analytics wondelai A skill for Claude Code and Codex designed to audit dashboards and pick startup KPIs via the Lean Analytics framework. Identifies actionable ratios and flags misleading vanity totals. CX Codex +1 3,500installs analytics-and-reporting social-media-skills analytics-and-reporting turns raw social network metrics into decisions via the METER framework, cutting vanity numbers to focus on true engagement signals. CX Codex +1 1,500installs tiktok-shop-analytics nexscope-ai tiktok-shop-analytics — a skill that breaks down TikTok Shop metrics: sales, video performance, live sessions, affiliate partners. Useful when you need to see what actually drives revenue. CX Codex +1 1,100installs configuring-experiment-analytics PostHog The configuring-experiment-analytics Claude Code skill configures analytics for PostHog experiments. It sets exposure criteria and metrics, then helps interpret experiment results. CX Codex +1 425installs

From the same set157

The whole set →
list-connections list-connections — a Claude Code skill that retrieves all Power Platform connections in your current environment. Pull the connection ID before adding a data source connector to your app. CX Codex +1 ★ 1,167repo stars telemetry Sets whether the Power Apps Mobile Extension skills send usage telemetry: on, off or status. Useful when you want out of collection or a quick look at the current setting. CX Codex +1 ★ 1,167repo stars deploy Builds and pushes Power Apps code apps directly to Power Platform. Useful when shipping updates or redeploying an existing project from Claude Code. CX Codex +1 ★ 1,167repo stars add-teams The add-teams skill connects Microsoft Teams to a Power Apps code app and helps configure chat messages or channel posts. CX Codex +1 ★ 1,167repo stars canvas-create-screens canvas-create-screens organizes approved functional requirements into task-focused screens, states, and navigation paths for Canvas apps before UI control selection. CX Codex ★ 1,167repo stars telemetry telemetry is a Claude Code skill that toggles power-automate telemetry or reports its setting. It responds to requests to change the setting or inspect it. CX Codex +1 ★ 1,167repo stars add-onedrive add-onedrive adds OneDrive for Business connector to a Power Apps code app and configures file operations. CX Codex +1 ★ 1,167repo stars browse-flows browse-flows explores Power Automate environments and flows inside Claude Code. Useful when you need to inspect existing cloud flows, view triggers, or pick a flow for debugging. CX Codex +1 ★ 1,167repo stars

Project sponsors

Companies that keep this analytics open