mcpbeat Sign in

Setup Skill for Claude

Set up Power Automate CLI prerequisites. Use when the user is new, something isn't working, or they need help getting started.

2k 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 setup

What it tells the agent to use

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

The instruction itself

7 sections, as written by the author

First-Time Setup Guide

You are helping a non-technical user get the Power Automate plugin working for the first time. Be friendly, use plain language, and never assume they know terminal commands. Walk them through each step one at a time.

Step 1: Check Node.js

Run silently:

node --version 2>&1
  • If it works (prints something like v18.x.x or higher): Tell them "Node.js is installed" and move on.
  • If it fails or version is below 18: Tell them they need Node.js 18 or newer. Ask what operating system they're on, then give them the simplest install instructions:
  • Windows: "Go to https://nodejs.org, download the LTS version, and run the installer. Click Next through everything."
  • Mac: "Open Terminal and run: brew install node" (or direct them to nodejs.org)
  • After they've installed it, re-check with node --version.

Step 2: Check Azure CLI

Run silently:

az --version 2>&1
  • If it works: Tell them "Azure CLI is installed" and move on.
  • If it fails: Tell them they need the Azure CLI. Ask their OS:
  • Windows: "Open PowerShell as administrator and run: winget install Microsoft.AzureCLI" or direct them to https://aka.ms/installazurecliwindows
  • Mac: "brew install azure-cli"
  • After install, re-check with az --version.

Step 3: Azure Login

Check if they're already logged in:

az account show --output json 2>&1
  • If it works (shows account info): Tell them who they're logged in as (show the user.name field) and ask if that's the right account.
  • If it fails: Tell them "Let's sign you into Azure." Then run:
  az login

This will open their browser. Tell them: "A browser window should open. Sign in with your work account — the one you use for Power Automate."

After login completes, confirm it worked by running az account show again.

Verify token access — this catches permission issues early:

az account get-access-token --resource https://service.flow.microsoft.com --output json 2>&1
  • If it works: Move on.
  • If it fails with "AADSTS": The user's account may not have Power Automate access. Tell them: "Your Azure account doesn't seem to have access to Power Automate. Check with your IT admin that you have a Power Automate license."
  • If it fails with other errors: Show the error and suggest they contact IT support.

Step 4: Check the FlowAgent tools are wired

The plugin talks to Power Automate through the FlowAgent MCP server, which is

launched automatically from the plugin's .mcp.json via a small Node

bootstrap that resolves PLUGIN_ROOT / CLAUDE_PLUGIN_ROOT and imports

server/mcp.mjs.

  • If flowagent-* / mcp__flowagent__* tools appear in your tool list: tell

them "The Power Automate tools are connected" and move on.

  • If they're missing: the MCP server isn't registered. Ask the user for

confirmation before fixing:

Tell them: "The FlowAgent MCP server isn't wired up yet. I can fix this

by adding it to your ~/.copilot/mcp-config.json. Shall I go ahead?"

If they confirm, fix it:

  • Locate the installed plugin's MCP bundle. Run:
     node -e "const fs=require('fs'),p=require('path'),d=p.join(process.env.HOME||process.env.USERPROFILE,'.copilot','installed-plugins');try{const find=(dir)=>{for(const e of fs.readdirSync(dir,{withFileTypes:true})){const f=p.join(dir,e.name);if(e.isDirectory())try{const r=find(f);if(r)return r}catch{}if(e.name==='mcp.mjs'&&dir.split(p.sep).includes('power-automate'))return dir}return null};const r=find(d);if(r)console.log(JSON.stringify({found:true,serverDir:r,mcpMjs:p.join(r,'mcp.mjs')}));else console.log(JSON.stringify({found:false}))}catch(e){console.log(JSON.stringify({found:false,error:e.message}))}"
  • If found, read ~/.copilot/mcp-config.json, add the flowagent MCP

entry, and write it back:

     node -e "const fs=require('fs'),p=require('path');const cfgPath=p.join(process.env.HOME||process.env.USERPROFILE,'.copilot','mcp-config.json');let cfg;try{cfg=JSON.parse(fs.readFileSync(cfgPath,'utf8'))}catch{cfg={mcpServers:{}}};if(!cfg.mcpServers)cfg.mcpServers={};if(cfg.mcpServers.flowagent){console.log('already registered');process.exit(0)}const pluginDir=p.join(process.env.HOME||process.env.USERPROFILE,'.copilot','installed-plugins');const find=(dir)=>{for(const e of fs.readdirSync(dir,{withFileTypes:true})){const f=p.join(dir,e.name);if(e.isDirectory())try{const r=find(f);if(r)return r}catch{}if(e.name==='mcp.mjs'&&dir.split(p.sep).includes('power-automate'))return dir}return null};const srvDir=find(pluginDir);if(!srvDir){console.log('mcp.mjs not found');process.exit(1)}const mcpPath=p.join(srvDir,'mcp.mjs');cfg.mcpServers.flowagent={command:'node',args:[mcpPath]};fs.writeFileSync(cfgPath,JSON.stringify(cfg,null,2)+'\n');console.log('registered flowagent MCP at '+mcpPath)"
  • Tell the user to restart the agent (Copilot CLI: /restart, Claude Code:

restart the process). After restart, flowagent-* tools should appear.

  • If not found (plugin not installed at all): tell them to install the

plugin first:

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

Then run /setup again.

Step 5: Smoke Test

Verify everything works end-to-end by listing the user's environments:

  • Preferred: call the list_environments tool.
  • If MCP tools aren't available: run node <path-to-plugin>/server/mcp.mjs

to confirm the bundled MCP server starts cleanly, then fix the plugin install

or .mcp.json wiring before retrying.

  • If it returns environments: Success! Tell them:
  • "Everything is working! Here are your Power Automate environments:"
  • Show the environments in a simple table (name, location).
  • If there are multiple, ask which one they mainly use and suggest setting it

as the default (the set_current_env tool, or ask "set my default

environment to <name>").

  • Tell them about the available skills:
  • /browse-flows — Browse your flows
  • /create-flow — Create a new flow
  • /debug-flow — Fix a broken flow
  • If it fails: Check the error. Common issues:
  • Auth error → go back to Step 3
  • Tools not found → go back to Step 4
  • Network error → ask if they're behind a corporate proxy/VPN

Tone Guidelines

  • Use "we" language: "Let's check if Node.js is installed"
  • Celebrate small wins: "Great, Node.js is ready!"
  • Don't dump all steps at once — do one at a time and confirm before moving on
  • If something fails, don't panic — explain what went wrong in plain English and what to do
  • Never show raw JSON errors to the user without explaining what they mean

Other skills for the same job

different authors, same section of the catalogue
Protocolsio Integration
by christophacham
×4

Integration with protocols.io API for managing scientific protocols. This skill should be used when working with protocols.io to search, create, update, or publish protocols; manage protocol steps and materials; handle discussions and comments; organize workspaces; upload and manage files; or integrate protocols.io functionality into workflows. Applicable for protocol discovery, collaborative protocol development, experiment tracking, lab protocol management, and scientific documentation.

16k tokens
Tailored Resume Generator
by frostant
×4

Analyzes job descriptions and generates tailored resumes that highlight relevant experience, skills, and achievements to maximize interview chances

3k tokens
Excalidraw Diagram Generator
by github
vendor ×3

Generate Excalidraw diagrams from natural language descriptions. Use when asked to "create a diagram", "make a flowchart", "visualize a process", "draw a system architecture", "create a mind map", or "generate an Excalidraw file". Supports flowcharts, relationship diagrams, mind maps, and system architecture diagrams. Outputs .excalidraw JSON files that can be opened directly in Excalidraw.

36k tokens scripts
Expo Dev Client
by openai
vendor ×3

Build and distribute Expo development clients locally or via TestFlight

961 tokens
Executing Plans
by ZhanlinCui
×3

Use when you have a written implementation plan to execute in a separate session with review checkpoints

542 tokens
Anndata
by christophacham
×3

Data structure for annotated matrices in single-cell analysis. Use when working with .h5ad files or integrating with the scverse ecosystem. This is the data format skill—for analysis workflows use scanpy; for probabilistic models use scvi-tools; for population-scale queries use cellxgene-census.

16k tokens
Benchling Integration
by christophacham
×3

Benchling R&D platform integration. Access registry (DNA, proteins), inventory, ELN entries, workflows via API, build Benchling Apps, query Data Warehouse, for lab data management automation.

14k tokens
Biopython
by christophacham
×3

Comprehensive molecular biology toolkit. Use for sequence manipulation, file parsing (FASTA/GenBank/PDB), phylogenetics, and programmatic NCBI/PubMed access (Bio.Entrez). Best for batch processing, custom bioinformatics pipelines, BLAST automation. For quick lookups use gget; for multi-service integration use bioservices.

24k tokens

How to use it

Copy the folder

Take microsoft/setup 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.

Install what it needs

The instructions reference brew. Without those the skill loads but fails at the first command.