open-wrap-url
Agent skill frommicrosoft/power-platform-skills
Use when the user wants to open the Power Apps Wrap page for an app ID in the active environment.
How to install open-wrap-url
install open-wrap-url
# install the power-platform-skills pack with the skills CLI
npx skills add microsoft/power-platform-skills# or add only this skill to Claude Code: copy the folder
plugins/mobile-apps/skills/open-wrap-url/
# into
~/.claude/skills/open-wrap-url/ (all projects)
.claude/skills/open-wrap-url/ (one project)
1> **Plugin check**: Run `node "${PLUGIN_ROOT}/scripts/check-version.js"` - if it outputs a message, show it to the user before proceeding.23**📋 Shared instructions: [shared-instructions.md](../../shared/shared-instructions.md)** — read first.45# Open Wrap URL67Builds and opens the Wrap URL for a code app:89`https://make.powerapps.com/environments/<envID>/wrap?appID=<appID>` for `--env Prod`1011`https://make.test.powerapps.com/environments/<envID>/wrap?appID=<appID>` for `--env Test`1213This skill delegates URL construction and browser open behavior to `scripts/open-wrap-url.js`.1415## Workflow16171. Resolve app ID + env ID → 2. Open Wrap URL1819---2021### Step 1 — Resolve app ID + env ID2223**Telemetry checkpoint: `resolve_wrap_target`**2425Both arguments are required:2627- `--app-id <app-id>`28- `--env-id <environment-id>`2930Optional host selector:3132- `--env <Prod|Test>` (default: `Prod`)3334If either value is missing in `$ARGUMENTS`, ask once for the missing value(s). If still missing, STOP.3536### Step 2 — Open Wrap URL3738**Telemetry checkpoint: `open_power_apps_wrap`**3940Run from the plugin root (or any app root):4142```bash43node scripts/open-wrap-url.js --app-id "<app-id>" --env-id "<environment-id>" [--env "Prod|Test"]44```4546Return the generated URL in the response. If the browser auto-open fails, still print the URL and tell the user to open it manually.4748## Notes4950- This skill is read-only with respect to project source files.51- Works on macOS (`open`), Linux (`xdg-open`), and Windows (`start`).
Excerpt shown under the repository's MIT license.
