Skip to main content
skill CX Codex

manage-desktop-flows — Claude Code skill: setup and usage

manage-desktop-flows manages Power Automate Desktop RPA flows and machine groups in Claude Code. Triggers attended or unattended tasks directly from chat.

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 power-automate@power-platform-skills
Open on GitHub

What manage-desktop-flows does

This skill hooks Claude Code into Power Automate RPA infrastructure using FlowAgent MCP tools. It searches for desktop flows, examines machine group status, and starts automated execution runs with custom payload data passed to body.

The workflow queries list_desktop_flows, inspects machine infrastructure via list_machine_groups, and triggers runs using run_desktop_flow. Claude tracks session updates through states like Waiting, InProgress, Succeeded, Failed, or Cancelled.

All actions rely strictly on FlowAgent MCP tools: if they are missing from your client setup, execution fails immediately until you configure the environment with the setup skill.

What it helps with

  • trigger Power Automate Desktop RPA runs with custom timeouts
  • inspect machine group infrastructure and individual machine statuses
  • filter and find desktop flows by name within target environments
  • send input payload parameters to automated workstation workflows

Example prompts for the agent

  • List all desktop flows in my current environment filtered by name Invoice
  • Run desktop flow SyncData on machine group Accounting-Cluster with 300s timeout
  • Show all configured machine groups and their connection statuses

How to install manage-desktop-flows

1Plugin marketplace

/plugin marketplace add microsoft/power-platform-skills
/plugin install power-automate@power-platform-skills

This installs the whole power-automate plugin with all its skills

2Skills CLI (Vercel)

npx skills add microsoft/power-platform-skills --skill manage-desktop-flows -a claude-code

3Manually: put the files in place

~/.claude/skills/manage-desktop-flows/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/manage-desktop-flows/

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

Questions about manage-desktop-flows

How to install manage-desktop-flows in Claude Code?

Add the repository and install the plugin with /plugin marketplace add microsoft/power-platform-skills followed by /plugin install power-automate@power-platform-skills.

What does manage-desktop-flows do?

It lets Claude Code list Power Automate Desktop RPA flows, monitor machine groups, and trigger flow runs with specific inputs.

What prerequisite tools are required?

It requires the FlowAgent MCP tools connected to your Power Platform tenant. If tools are absent, run the setup skill first.

Source text

SKILL.md · MIT
---
name: manage-desktop-flows
description: Manage and run Power Automate Desktop (RPA) flows and machine groups. Use when the user asks about desktop flows, RPA, or machine groups.
user-invocable: true
argument-hint: "[environment-id]"
allowed-tools: Bash, Read, 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_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__whoami, mcp__flowagent__doctor, mcp__flowagent__reconnect, mcp__flowagent__list_accounts, mcp__flowagent__switch_account
model: opus
---

# Desktop Flow Manager

Manage Power Automate Desktop (RPA) flows, machine groups, and run sessions.

## 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 no MCP tools are present, the plugin is not wired up — run the `setup` skill.

| Tool | Purpose |
|------|---------|
| `list_desktop_flows` | Browse RPA flows (filter by `name`) |
| `run_desktop_flow` | Trigger with optional `machineGroup`, `body`, `timeout` |
| `list_machine_groups` | Browse machine infrastructure |

## Operations

### List Desktop Flows
Call `list_desktop_flows`. Present in table: Name | Status | Created | Modified

### Run Desktop Flow
1. Call `list_desktop_flows` to find the flow (if name given, use `name` filter)
2. Optionally call `list_machine_groups` to target a specific group
3. Call `run_desktop_flow` with optional `machineGroup`, `body` (input data), `timeout`
4. Report: session status (Waiting/InProgress/Failed/Cancelled/Succeeded), outputs

### Machine Infrastructure
Call `list_machine_groups`. Present: Name | Type | Status | Machines

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

Similar skills

All skills for Automation and no-code: n8n, Zapier, Make →

From the same set157

The whole set →
route-environments route-environments is a Claude Code skill that checks Power Platform environment routing and shows where new makers land when they open the platform. CX Codex +1 ★ 1,167repo stars add-excel add-excel attaches the Excel Online (Business) connector to Power Apps code apps to read and write workbook tables in OneDrive or SharePoint. CX Codex +1 ★ 1,167repo stars canvas-create-builder canvas-create-builder is a Claude Code subagent that writes a single Power Apps screen YAML file from approved designs. The coordinator agent runs it after layout and data bindings are verified. CX Codex ★ 1,167repo stars add-datasource add-datasource — a router skill that asks what your Power Apps code app should do, then hands the job to the right connector skill. Useful when you need data but aren't sure which connector fits. CX Codex +1 ★ 1,167repo stars investigate-process investigate-process investigates broad Process Mining questions through hypotheses, comparisons, and specialist analysis. Use it when one metric cannot explain the finding. CX Codex +1 ★ 1,167repo stars analyze-variants analyze-variants — a skill for investigating business process execution variants: common and slow paths, rework cases, specific instances. CX Codex +1 ★ 1,167repo stars analyze-performance analyze-performance guides analysis of slow process activities, handoff delays, waiting times, and total workload without distorting statistical metrics. CX Codex +1 ★ 1,167repo stars analyze-drivers analyze-drivers — a skill to identify what drives differences in process duration, wait times, resource utilization, and rework. Frames testable hypotheses and distinguishes competing explanations through attribute correlation. CX Codex +1 ★ 1,167repo stars

Project sponsors

Companies that keep this analytics open