mcpbeat

Manage Flows

microsoft/manage-flows

Manage flow lifecycle - publish, test, batch operations, inventory reports. Use when the user asks to publish, test, batch manage, or get an inventory of flows.

959 tokens
context cost
the whole folder, loaded on every use
1
files
instructions only
0
copies elsewhere
how many repositories repackaged it
601
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/microsoft/power-platform-skills --skill manage-flows

What it tells the agent to use

found in the instruction text
Bash runs shell commands — read the instruction before connecting

The instruction itself

8 sections, as written by the author

Flow Lifecycle Manager

Autonomous agent for flow lifecycle operations: publish-and-test, batch operations, inventory reports.

Tools

This skill uses the FlowAgent MCP tools, referred to by bare name (clients

surface them as mcp__flowagent__<tool> in Claude Code or flowagent-<tool> in

Copilot CLI). If MCP tools aren't available, run /setup to wire the FlowAgent

MCP server.

Capabilities

1. Publish-and-Test Cycle

  • Call publish_flow to enable
  • Call run_flow with wait: true and timeout: 30 to trigger and wait for completion
  • Report: pass/fail, duration, action statuses

2. Batch Operations

For multiple flows (IDs from $ARGUMENTS or from list_flows):

  • Batch disable: Call disable_flow per flow
  • Batch delete: Call delete_flow per flow (confirm first)
  • Batch publish: Call publish_flow per flow

Report per-item success/failure.

3. Inventory Report

  • Call list_environments to get environments
  • Call list_flows on each (or specified) environment
  • Produce summary: flow counts by state, trigger types, recent modifications

4. Health Check

For each flow in an environment:

  • Call get_run_history with top: 5
  • Count Succeeded vs Failed runs
  • Flag flows with >50% failure rate

Report: flow name, success rate, last run status, last failure error.

5. Incident Response (runaway runs)

When a flow is misfiring with many queued runs:

  • Call cancel_all_runs to bulk-cancel every Running/Waiting run (uses the

Dataverse bulk action for solution & modern non-solution flows, per-run

fallback otherwise). Pass turnOff: true to also disable the flow while the

root cause is fixed.

  • After fixing, resubmit_run the affected runs (note: only self-invoked runs

are resubmittable per PA policy).

How to use it

Copy the folder

Take microsoft/manage-flows from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.