microsoft/power-platform-skills is a plugin marketplace containing reusable skills, agents, and commands for developing with Microsoft Power Platform. Developers use it to build and deploy Power Pages sites, model-driven Power Apps, and related solutions through Claude Code or GitHub Copilot. The catalogue entries are the marketplace's included skills, agents, plugins, and other agent components.
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 agentmods add skills/microsoft/power-platform-skills/debug-flownpx skills add microsoft/power-platform-skills --skill debug-flowgit clone --depth 1 https://github.com/microsoft/power-platform-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/power-platform-skills/debug-flow)<a href="https://agentmods.dev/skills/microsoft/power-platform-skills/debug-flow"><img src="https://agentmods.dev/badge/skills/microsoft/power-platform-skills/debug-flow.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 | $0.00030 | $0.01622 |
| Opus 5 | $0.00015 | $0.00811 |
| Sonnet 5 | $0.00006 | $0.00324 |
| Haiku 4.5 | $0.00003 | $0.00162 |
Grade A, and why
debug-flow 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 yesterday.
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 — 87 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Debug a Failed Flow Run
You are helping the user debug a failed Power Automate flow run.
Tools
This skill uses the FlowAgent MCP tools. Clients surface them with a
client-specific prefix — mcp__flowagent__<tool> (Claude Code) or
flowagent-<tool> (Copilot CLI) — so they're referred to by bare name below
(e.g. get_run_actions). Use CLI shell commands (local engine build only) for
CLI-only operations or when no MCP tools are present.
| Tool | Purpose |
|---|---|
list_flows |
Find flows by name (use name param for search) |
get_run_history |
Get recent runs for a flow |
diagnose_run |
One-shot: classify failed actions with remediations |
get_run_details |
Get details for a specific run |
get_run_actions |
Get action-level execution trace |
get_run_action_repetitions |
Iteration-level detail for a loop (which iteration failed — pass an action inside the loop) |
get_flow |
Get flow definition for context |
get_operation_details |
Confirm the correct action type / parameters |
edit_flow |
Apply a surgical fix to one action/parameter |
update_flow |
Replace the whole definition (large rewrites) |
run_flow |
Re-run after fix (use wait: true to see result) |
resubmit_run / cancel_run |
Resubmit a fixed run / cancel a stuck one |
Steps
-
Identify the flow and run
- Parse
$ARGUMENTSfor flow ID and optional run ID. - If no flow ID, call
list_flowswithnameparam to search. Ask user to pick if ambiguous. - If no run ID, call
get_run_historyand find the most recent failed run. - Present recent runs in a table: Run ID | Status | Start Time | Error
- Parse
-
Fast triage with
diagnose_run- Call
diagnose_runfor the run — it returns the failed/timed-out actions already classified with a remediation each. Use this as the starting point. - For deeper analysis, also fetch (in parallel):
get_run_actions(full trace) andget_flow(definition context). For a failed loop, callget_run_action_repetitionson an action inside the loop to find the failing iteration.
- Call
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.
- yesterday First seen · 87 lines · 30 tokens per session scan A 9efd940201df
debug-flow is a skill published in the GitHub repository microsoft/power-platform-skills (825 stars, last pushed today), licensed MIT. It adds 30 tokens to every session and 1,622 once invoked, about $0.0002 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-09-03.
Other skills, from other repositories
canvas-apps-ui-gen
Generates paste-ready Power Apps Canvas App YAML. Invoke when the user wants to replicate a UI mockup, improve an existing Canvas app screen, or build a new screen from a text description. Also invoke when the user asks to "improve", "redesign", or "generate YAML" for a Canvas app screen.
techdebt
Analyze Elixir/Phoenix technical debt — duplicates, refactoring opportunities, credo issues. Use when asked about code quality, cleanup, or what to improve.
cesiumjs-camera
CesiumJS camera control - Camera, flyTo, lookAt, setView, ScreenSpaceCameraController, CameraEventAggregator, flight animation. Use when positioning the camera, creating flyTo animations, constraining user navigation, tracking entities, or converting between screen and world coordinates.
cesiumjs-models-particles
CesiumJS models, glTF, and particle effects - Model, KHRmeshoptcompression, CAD glTF extensions, EdgeDisplayMode, ModelAnimation, ModelNode, ParticleSystem, emitters, GPM extensions. Use when loading compressed or CAD-style glTF/GLB models, controlling edge rendering, playing model animations, positioning particles…
cesiumjs-core-utilities
CesiumJS core utilities and networking - Resource, Color, Event, Request, RequestScheduler, error handling, helper functions, feature detection. Use when fetching remote data, managing HTTP requests, working with colors, handling events, debugging errors, or using utility functions like defined, clone, or…
cesiumjs-materials-shaders
CesiumJS materials and post-processing — Material, Fabric JSON, MaterialAppearance, ImageBasedLighting, PostProcessStage, PostProcessStageLibrary, bloom, depth of field, ambient occlusion, FXAA, tonemapping, BlendingState. Use when defining Fabric materials for entities or primitives, configuring PBR image-based…