Flowstudio Power Automate Debug
github/awesome-copilot
Debug failing Power Automate cloud flows using the FlowStudio MCP server.
Debug a failed Power Automate flow run. An agent skill from microsoft/power-platform-skills.
$ npx skills add microsoft/power-platform-skills --skill debug-flow -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install microsoft/power-platform-skills debug-flow --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/microsoft/power-platform-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/power-automate/skills/debug-flow .claude/skills/debug-flow && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "debug-flow" agent skill from https://github.com/microsoft/power-platform-skills/tree/main/plugins/power-automate/skills/debug-flow into .claude/skills/debug-flow/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "debug-flow", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/microsoft/power-platform-skills/tree/main/plugins/power-automate/skills/debug-flowType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add microsoft/power-platform-skills --skill debug-flow -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install microsoft/power-platform-skills debug-flow --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/microsoft/power-platform-skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/plugins/power-automate/skills/debug-flow .agents/skills/debug-flow && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "debug-flow" agent skill from https://github.com/microsoft/power-platform-skills/tree/main/plugins/power-automate/skills/debug-flow into .agents/skills/debug-flow/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "debug-flow", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add microsoft/power-platform-skills --skill debug-flow -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install microsoft/power-platform-skills debug-flow --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/microsoft/power-platform-skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/plugins/power-automate/skills/debug-flow .cursor/skills/debug-flow && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "debug-flow" agent skill from https://github.com/microsoft/power-platform-skills/tree/main/plugins/power-automate/skills/debug-flow into .cursor/skills/debug-flow/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "debug-flow", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/microsoft/power-platform-skills.git --path plugins/power-automate/skills/debug-flow--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add microsoft/power-platform-skills --skill debug-flow -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install microsoft/power-platform-skills debug-flow --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/microsoft/power-platform-skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/plugins/power-automate/skills/debug-flow .gemini/skills/debug-flow && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "debug-flow" agent skill from https://github.com/microsoft/power-platform-skills/tree/main/plugins/power-automate/skills/debug-flow into .gemini/skills/debug-flow/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "debug-flow", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install microsoft/power-platform-skills debug-flowInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add microsoft/power-platform-skills --skill debug-flow -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/microsoft/power-platform-skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/plugins/power-automate/skills/debug-flow .github/skills/debug-flow && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "debug-flow" agent skill from https://github.com/microsoft/power-platform-skills/tree/main/plugins/power-automate/skills/debug-flow into .github/skills/debug-flow/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "debug-flow", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add microsoft/power-platform-skills --skill debug-flow -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install microsoft/power-platform-skills debug-flow --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/microsoft/power-platform-skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/plugins/power-automate/skills/debug-flow .opencode/skills/debug-flow && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "debug-flow" agent skill from https://github.com/microsoft/power-platform-skills/tree/main/plugins/power-automate/skills/debug-flow into .opencode/skills/debug-flow/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "debug-flow", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
debug-flowDebug a failed Power Automate flow run. An agent skill from microsoft/power-platform-skills.
Debug Flow is an agent skill from microsoft/power-platform-skills, published by the product's own GitHub organization. Debug a failed Power Automate flow run. Use when a flow failed, has errors, or the user wants to troubleshoot a run.
Its SKILL.md is about 1.8k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Development. It works with Power Automate. The repository describes itself as: A plugin marketplace for GitHub Copilot and other AI agents that provides Power Platform development plugins, including reusable skills, agents, and commands for building and… The licence is MIT.
6 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 5ef4e4f. It shows what the files ask for, not the result of running them.
Pre-approves these tools, so the agent can use them without asking each time:
BashReadWriteGlobGrepAskUserQuestionmcp__flowagent__list_environmentsmcp__flowagent__set_current_envmcp__flowagent__get_current_envmcp__flowagent__resolve_environment…and 57 more on the same allowed-tools line.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md.
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Debug Flow loads about 1.8k tokens when it runs. Until then it costs about 32 tokens; SKILL.md has 587 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check noted patterns worth knowing about, such as sudo or a known installer.
allowed-tools: Bash, Read, Write, Glob, Grep, AskUserQuestion, mcp__flowagent__list_environments, mcp__flowagent__sAutomated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from microsoft/power-platform-skills at commit 5ef4e4f, republished under its MIT licence (© microsoft). 587 words, ~1,752 tokens.
.claude/skills/debug-flow/SKILL.md (or your agent's skills folder).You are helping the user debug a failed Power Automate flow run.
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_content | Retrieve bounded recorded inputs or outputs for one action |
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 |
Identify the flow and run
$ARGUMENTS for flow ID and optional run ID.list_flows with name param to search. Ask user to pick if ambiguous.get_run_history and find the most recent failed run.Fast triage with diagnose_run
diagnose_run for the run — it returns the failed/timed-out actions already classified with a remediation each. Use this as the starting point.get_run_actions (full trace) and get_flow (definition context). For a failed loop, call get_run_action_repetitions on an action inside the loop to find the failing iteration.{ action, count, truncated, repetitions }; count is the returned count, not the total. If truncated is true, do not infer absence from the returned subset.get_run_actions with includeSizes: true, then get_run_action_content with the action name and which: "inputs" or "outputs". The default download cap is 256000 bytes; an oversized result is reported rather than dumped. Retrieve only what the diagnosis needs and avoid reproducing sensitive payloads in the report.Analyze failures
runAfter dependency chain to separate root cause from cascading failures:Root cause classification
AuthorizationFailed, ConnectionNotFound, InvokerConnectionOverrideFailed): Suggest re-auth or fix connection source to EmbeddedExpressionEvaluationFailed, InvalidTemplate): Show the expression, explain what's wrong, suggest fixWorkflowOperationParametersRuntimeMissingValue): Missing/empty required parameter. Add null guard: @if(empty(...), 'default', ...)ActionTimedOut): Suggest retry policy or splitting the operationInvalidOpenApiConnectionOperationType): Wrong action type. Call get_operation_details to find correct type.Suggest fix
edit_flow (surgical, one action/parameter) — fall back to update_flow only for large rewrites.Re-test
run_flow with wait: true to verify the fix works (or resubmit_run to retry the original run with its trigger inputs).| # | Action | Status | Error Code | Error Message |
|---|
[Step-by-step fix with code]
© microsoft, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in plugins/power-automate/skills/debug-flow of microsoft/power-platform-skills.
Open the folder on GitHubat commit 5ef4e4f
Debug Flow next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Debug Flow this skillmicrosoft/power-platform-skills | 967 | — | ~1.8k | Automated safety check: Notes | MIT | |
| Flowstudio Power Automate Debuggithub/awesome-copilot | 40k | 2 repos | ~5k | Automated safety check: Pass | MIT | |
| Flowstudio Power Automate Governancegithub/awesome-copilot | 40k | 2 repos | ~3.6k | Automated safety check: Pass | MIT | |
| Flowstudio Power Automate Monitoringgithub/awesome-copilot | 40k | 2 repos | ~3.3k | Automated safety check: Pass | MIT | |
| Power Platform Architectgithub/awesome-copilot | 40k | 1 repos | ~3.6k | Automated safety check: Pass | MIT | |
| Power Apps Code App Scaffoldgithub/awesome-copilot | 40k | 1 repos | ~1.8k | Automated safety check: Pass | MIT |
github/awesome-copilot
Debug failing Power Automate cloud flows using the FlowStudio MCP server.
github/awesome-copilot
Govern Power Automate flows and Power Apps at scale using the FlowStudio MCP cached store.
github/awesome-copilot
Pro+ subscription required. An agent skill from github/awesome-copilot.
github/awesome-copilot
A skill your agent uses when the user needs to transform business requirements, use case descriptions, or meeting transcripts into a technical Power Platform solution architecture, including…
github/awesome-copilot
Scaffold a complete Power Apps Code App project with PAC CLI setup, SDK integration, and connector configuration
ericrisco/rsc-harness
A skill your agent uses when operating Microsoft Power Automate cloud flows from code — create, enable, update, list or delete via the Dataverse Web API (workflow table, category 5) with Entra ID…
microsoft/power-platform-skills
Inspects and configures the web application firewall (WAF) in front of a Power Pages production site.
microsoft/power-platform-skills
Inspects and configures the security headers a Power Pages site sends to browsers — Content Security Policy, frame and clickjacking protection, cross-origin sharing, cookie behavior, and related…
microsoft/power-platform-skills
Scans a Power Pages site project for security issues in source code and dependencies.
microsoft/power-platform-skills
Runs a security scan on a deployed Power Pages site, fetches the latest scan report, and produces a plain-language summary.
microsoft/power-platform-skills
Creates Dataverse tables, columns, and relationships for a Power Pages site based on a data model proposal.
microsoft/power-platform-skills
Creates, edits, and manages Power Pages Server Logic files — server-side JavaScript that runs securely on the Power Pages runtime.
Works with
Categories
Debug a failed Power Automate flow run. An agent skill from microsoft/power-platform-skills. Debug Flow is an agent skill from microsoft/power-platform-skills, published by the product's own GitHub organization. Debug a failed Power Automate flow run.
Debug Flow fits situations like: the user wants to troubleshoot a run.
Run `npx skills add microsoft/power-platform-skills --skill debug-flow -a claude-code`. Or copy the skill folder (plugins/power-automate/skills/debug-flow in microsoft/power-platform-skills) into .claude/skills/debug-flow in your project. Claude Code loads it when a task matches its description.
Run `npx skills add microsoft/power-platform-skills --skill debug-flow -a codex`. Or copy the skill folder (plugins/power-automate/skills/debug-flow in microsoft/power-platform-skills) into .agents/skills/debug-flow in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add microsoft/power-platform-skills --skill debug-flow -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/debug-flow, .gemini/skills/debug-flow, .github/skills/debug-flow and .opencode/skills/debug-flow in your project.
SKILL.md names no scripts, command-line tools or credentials: Debug Flow is instructions for the agent only. Its frontmatter pre-approves these tools: Bash, Read, Write, Glob, Grep, AskUserQuestion, mcp__flowagent__list_environments, mcp__flowagent__set_current_env, mcp__flowagent__get_current_env, mcp__flowagent__resolve_environment, mcp__flowagent__list_flows, mcp__flowagent__get_flow, mcp__flowagent__create_flow, mcp__flowagent__update_flow, mcp__flowagent__edit_flow, mcp__flowagent__copy_flow, mcp__flowagent__publish_flow, mcp__flowagent__disable_flow, mcp__flowagent__delete_flow, mcp__flowagent__run_flow, mcp__flowagent__get_run_history, mcp__flowagent__get_run_details, mcp__flowagent__get_run_actions, mcp__flowagent__get_run_action_content, mcp__flowagent__get_run_action_repetitions, mcp__flowagent__cancel_run, mcp__flowagent__cancel_all_runs, mcp__flowagent__resubmit_run, mcp__flowagent__diagnose_run, mcp__flowagent__list_connections, mcp__flowagent__list_connectors, mcp__flowagent__get_connector, mcp__flowagent__search_operations, mcp__flowagent__get_operation_details, mcp__flowagent__pick_or_create_connection, mcp__flowagent__resolve_refs, mcp__flowagent__resolve_params, mcp__flowagent__scaffold_flow, mcp__flowagent__list_templates, mcp__flowagent__validate_flow, mcp__flowagent__preflight_flow, mcp__flowagent__smoke_test, mcp__flowagent__get_expression_help, mcp__flowagent__list_desktop_flows, mcp__flowagent__list_machine_groups, mcp__flowagent__run_desktop_flow, mcp__flowagent__get_flow_context, mcp__flowagent__set_current_flow, mcp__flowagent__clear_current_flow, mcp__flowagent__invoke_operation, mcp__flowagent__get_past_trigger_inputs, mcp__flowagent__test_connection, mcp__flowagent__fix_connection, mcp__flowagent__delete_connection, mcp__flowagent__preview_update, mcp__flowagent__get_backup, mcp__flowagent__list_backups, mcp__flowagent__restore_backup, mcp__flowagent__list_trigger_emulators, mcp__flowagent__resolve_entity, mcp__flowagent__list_datasets, mcp__flowagent__list_tables, mcp__flowagent__whoami, mcp__flowagent__doctor, mcp__flowagent__reconnect, mcp__flowagent__list_accounts, mcp__flowagent__switch_account.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.
Debug Flow is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.8k tokens (SKILL.md is roughly 7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Debug Flow: Flowstudio Power Automate Debug (github/awesome-copilot, 40k stars), Flowstudio Power Automate Governance (github/awesome-copilot, 40k stars), Flowstudio Power Automate Monitoring (github/awesome-copilot, 40k stars) and Power Platform Architect (github/awesome-copilot, 40k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
microsoft (a GitHub organization, an official publisher) maintains it in microsoft/power-platform-skills, which has 967 GitHub stars. The repository holds 87 skills in this directory. The repository was last updated on October 6, 2026.
Source: microsoft/power-platform-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.