open-wrap-url — скилл для Claude Code: открывает Wrap в Power Apps
Скилл open-wrap-url открывает страницу Power Apps Wrap для заданного приложения в браузере. Собирает URL по ID приложения и окружения, передаёт команду операционной системе.
MIT ★ 1 167 обновлён 2026-10-29
/plugin marketplace add microsoft/power-platform-skills
/plugin install mobile-app@power-platform-skillsЧто делает open-wrap-url
Скилл строит адрес страницы Wrap в Power Apps — https://make.powerapps.com/environments/<envID>/wrap?appID=<appID> для продакшена или https://make.test.powerapps.com/... для тестового окружения — и открывает его в браузере. Работает через делегированный скрипт scripts/open-wrap-url.js, который вызывает системную команду (open на macOS, xdg-open на Linux, start на Windows). Требует два аргумента: --app-id и --env-id; если их нет, запросит один раз.
Чтобы выбрать тестовое окружение, передай --env Test; по умолчанию открывается продакшен. Если браузер не запустился, скрипт всё равно выведет URL — скопируешь вручную. Скилл ничего не меняет в проекте, только читает аргументы и вызывает Node.js.
Какие задачи решает
- открыть страницу Wrap для мобильного приложения в Power Apps
- построить URL окружения и приложения по ID
- делегировать запуск браузера системной команде
Примеры запросов агенту
- Открой Wrap для приложения
abc123в окруженииenv-xyz - Покажи Wrap-страницу приложения
app-id-456в тесте - Построй ссылку на Wrap с
--app-id def789 --env-id prod-001
Как установить open-wrap-url
1Через маркетплейс плагинов
/plugin marketplace add microsoft/power-platform-skills/plugin install mobile-app@power-platform-skillsКоманда ставит плагин mobile-app целиком, со всеми его скиллами
2Через Skills CLI (Vercel)
npx skills add microsoft/power-platform-skills --skill open-wrap-url -a claude-code3Вручную: положить файлы
~/.claude/skills/open-wrap-url/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/open-wrap-url/
1Через Skills CLI (Vercel)
npx skills add microsoft/power-platform-skills --skill open-wrap-url -a codex2Вручную: положить файлы
.agents/skills/open-wrap-url/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add microsoft/power-platform-skills --skill open-wrap-url -a cursor2Вручную: положить файлы
.cursor/skills/open-wrap-url/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install microsoft/power-platform-skills plugins/mobile-apps/skills/open-wrap-url2Вручную: положить файлы
.github/skills/open-wrap-url/SKILL.md1Через Skills CLI (Vercel)
npx skills add microsoft/power-platform-skills --skill open-wrap-url -a gemini-cli2Командой платформы
gemini skills install https://github.com/microsoft/power-platform-skills --path plugins/mobile-apps/skills/open-wrap-urlВручную: положить файлы
.devin/skills/open-wrap-url/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Claude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы об open-wrap-url
Как установить open-wrap-url в Claude Code?
Сначала /plugin marketplace add microsoft/power-platform-skills, затем /plugin install mobile-app@power-platform-skills, после чего npx skills add microsoft/power-platform-skills --skill open-wrap-url -a claude-code. Инструкция окажется в ~/.claude/skills/open-wrap-url/SKILL.md.
Что делает open-wrap-url?
Собирает URL страницы Power Apps Wrap по ID приложения и окружения, открывает его в браузере. Если автозапуск не сработал, выводит ссылку для копирования.
Какие аргументы нужны open-wrap-url?
Обязательны --app-id и --env-id. Можно добавить --env Test для тестового окружения; без него откроется продакшен.
Исходный текст
SKILL.md · MIT
---
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: Read, Bash
model: haiku
---
> **Plugin check**: Run `node "${PLUGIN_ROOT}/scripts/check-version.js"` - if it outputs a message, show it to the user before proceeding.
**📋 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):
```bash
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`).
© Microsoft · MIT · microsoft/power-platform-skills