Tooluck logoTooluck
SKILL.md

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)

plugins/mobile-apps/skills/open-wrap-url/SKILL.md

MITFull file
1> **Plugin check**: Run `node "${PLUGIN_ROOT}/scripts/check-version.js"` - if it outputs a message, show it to the user before proceeding.
2
3**📋 Shared instructions: [shared-instructions.md](../../shared/shared-instructions.md)** — read first.
4
5# Open Wrap URL
6
7Builds and opens the Wrap URL for a code app:
8
9`https://make.powerapps.com/environments/<envID>/wrap?appID=<appID>` for `--env Prod`
10
11`https://make.test.powerapps.com/environments/<envID>/wrap?appID=<appID>` for `--env Test`
12
13This skill delegates URL construction and browser open behavior to `scripts/open-wrap-url.js`.
14
15## Workflow
16
171. Resolve app ID + env ID → 2. Open Wrap URL
18
19---
20
21### Step 1 — Resolve app ID + env ID
22
23**Telemetry checkpoint: `resolve_wrap_target`**
24
25Both arguments are required:
26
27- `--app-id <app-id>`
28- `--env-id <environment-id>`
29
30Optional host selector:
31
32- `--env <Prod|Test>` (default: `Prod`)
33
34If either value is missing in `$ARGUMENTS`, ask once for the missing value(s). If still missing, STOP.
35
36### Step 2 — Open Wrap URL
37
38**Telemetry checkpoint: `open_power_apps_wrap`**
39
40Run from the plugin root (or any app root):
41
42```bash
43node scripts/open-wrap-url.js --app-id "<app-id>" --env-id "<environment-id>" [--env "Prod|Test"]
44```
45
46Return the generated URL in the response. If the browser auto-open fails, still print the URL and tell the user to open it manually.
47
48## Notes
49
50- 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.

More skills in power-platform-skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates