microsoft/route-environments
Manage environment resolution — check which environment you create flows in by default, list available environments, and set your working environment. Use when the user asks about environments, their default environment, where to create flows, or switching environments.
npx skills add https://github.com/microsoft/power-platform-skills --skill route-environments
You are helping the user understand and manage which Power Automate environment
they work in — where their flows are created, where they should build new ones,
and how to switch between environments.
> Uses the FlowAgent MCP tools (resolve_environment, list_environments,
> set_current_env, get_current_env).
get_current_env or resolve_environmentlist_environmentsset_current_envCall list_environments and present a clear summary:
| Environment | Type | Location | Notes |
|-------------|------|----------|-------|
| ... | Default / Developer / Sandbox / Production | ... | ... |
Help the user identify:
If the user wants to create flows in a specific environment, call
set_current_env with that environment ID. This pins all subsequent
FlowAgent operations to that environment (no need to pass --env each time).
Recommendation for new users: If they have a Developer environment, suggest
using that. If not, suggest they ask their admin to provision one, or use the
default environment for simple personal automations.
resolve_environment shows how the environment resolves (routing → poll → fallback)set_current_env changes the session default — it does NOT change tenant-level routingconfigured at the admin level in admin.powerplatform.microsoft.com — direct
admins there if they ask about changing org-wide routing
environment determines where new flows are created"
User asks about environments?
├── "Which environment am I in?" → get_current_env / resolve_environment
├── "What environments exist?" → list_environments with summary table
├── "Where should I build?" → Recommend Developer env; set_current_env
├── "Switch to X environment" → set_current_env
├── "How do I create a new environment?" → Direct to PPAC admin center
└── "What is environment routing?" → Explain: determines default for new makers
Take microsoft/route-environments from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
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.