Skip to content
Development
Skill

/open-wrap-url

Use when the user wants to open the Power Apps Wrap page for an app ID in the active environment.

From plugin
power-platform-skills
86896 skills19 agents4 MCP
Install
$ npx -y skills add microsoft/power-platform-skills --skill open-wrap-url --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/open-wrap-url

Context preview

The summary Claude sees to decide when to auto-load this skill.

Use when the user wants to open the Power Apps Wrap page for an app ID in the active environment.

SKILL.md

open-wrap-url.SKILL.md
name: open-wrap-url
description: Use when the user wants to open the Power Apps Wrap page for an app ID in the active environment.
user-invocable: true
allowed-tools: Bash
model: haiku

**📋 Shared instructions: [shared-instructions.md](../../shared/shared-instructions.md)** — read first.

Open Wrap URL

Builds and opens the Wrap URL for a code app:

`https://make.powerapps.com/environments/<envID>/wrap?appID=<appID>` for `--env Prod`

`https://make.test.powerapps.com/environments/<envID>/wrap?appID=<appID>` for `--env Test`

This skill delegates URL construction and browser open behavior to `scripts/open-wrap-url.js`.

Workflow

1. Resolve app ID + env ID → 2. Open Wrap URL

---

Step 1 — Resolve app ID + env ID

**Telemetry checkpoint: `resolve_wrap_target`**

Both arguments are required:

  • `--app-id <app-id>`
  • `--env-id <environment-id>`

Optional host selector:

  • `--env <Prod|Test>` (default: `Prod`)

If either value is missing in `$ARGUMENTS`, ask once for the missing value(s). If still missing, STOP.

Step 2 — Open Wrap URL

**Telemetry checkpoint: `open_power_apps_wrap`**

Run from the plugin root (or any app root):

node scripts/open-wrap-url.js --app-id "<app-id>" --env-id "<environment-id>" [--env "Prod|Test"]

Return the generated URL in the response. If the browser auto-open fails, still print the URL and tell the user to open it manually.

Notes

  • This skill is read-only with respect to project source files.
  • Works on macOS (`open`), Linux (`xdg-open`), and Windows (`start`).
Read more
Ships withpower-platform-skills

Official agent skills/plugins for Power Platform development by Microsoft.

Get the whole plugin

Other skills on power-platform-skills.