deploy-site

deploy-site is a skill for Claude Code from microsoft/power-platform-skills. It costs 91 tokens per session (5,627 once invoked), scanned A, original, MIT.

A deployment tool for an existing Power Pages code site. It uses PAC CLI, Microsoft's command-line tool for Power Platform, to build and upload the site to a chosen environment.

In plain words
What is it for?
It verifies PAC CLI and sign-in status, confirms the destination, builds the site, uploads it, and helps handle deployment blockers.
Why use it?
It catches missing tools, authentication problems, wrong target environments, and build issues before publishing. It also asks before changing environment settings.

Skill for Claude Code ✓ vendor

Written for Claude Code: allowed-tools in frontmatter. Also seen: model in frontmatter; names the AskUserQuestion tool.

Part of the power-pages plugin — 36 skills, 5 agents shipped together

Good fit It verifies PAC CLI and sign-in status, confirms the destination, builds the site, uploads it, and helps handle deployment blockers.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/microsoft/power-platform-skills/deploy-site
About the project

microsoft/power-platform-skills is a plugin marketplace containing reusable skills, agents, and commands for developing with Microsoft Power Platform. Developers use it to build and deploy Power Pages sites, model-driven Power Apps, and related solutions through Claude Code or GitHub Copilot. The catalogue entries are the marketplace's included skills, agents, plugins, and other agent components.

microsoft/power-platform-skills · 1,211 stars · on GitHub · microsoft.github.io

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add microsoft/power-platform-skills --skill deploy-site
Clone the repo
git clone --depth 1 https://github.com/microsoft/power-platform-skills

Made for: Claude Code.

Or install power-pages, the plugin that ships this one along with the rest of its 36 skills, 5 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for deploy-site

README.md
[![agentmods](https://agentmods.dev/badge/skills/microsoft/power-platform-skills/deploy-site/github.svg)](https://agentmods.dev/skills/microsoft/power-platform-skills/deploy-site)
Your own site
<a href="https://agentmods.dev/skills/microsoft/power-platform-skills/deploy-site"><img src="https://agentmods.dev/badge/skills/microsoft/power-platform-skills/deploy-site/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for deploy-site

Your own site · 80×15
<a href="https://agentmods.dev/skills/microsoft/power-platform-skills/deploy-site"><img src="https://agentmods.dev/badge/skills/microsoft/power-platform-skills/deploy-site.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 91 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,627 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 5 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Prompt Injection · line 85
    Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.
    Fix: Audit all comments and invisible characters. Remove any instructions that direct the agent to perform unauthorized actions. Use plain, reviewable content.
  • high Prompt Injection · line 173
    Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.
    Fix: Audit all comments and invisible characters. Remove any instructions that direct the agent to perform unauthorized actions. Use plain, reviewable content.
  • high Prompt Injection · line 284
    Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.
    Fix: Audit all comments and invisible characters. Remove any instructions that direct the agent to perform unauthorized actions. Use plain, reviewable content.
  • medium Excessive Agency · line 9
    Skill selects an external model or provider that may use a different account or billing plan than the operator expects. Undisclosed model switches can cause unexpected cost or quota consumption.
    Fix: Remove the model/provider override or disclose it prominently and require explicit operator approval before invoking an external coding CLI or billed model.
  • medium Excessive Agency · line 22
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00091 $0.05627
Opus 5.5 $0.00036 $0.02251
Sonnet 5.5 $0.00018 $0.01125
Haiku 4.5 $0.00009 $0.00563

Measured 1mo ago against content hash 31429c74ee46, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

deploy-site scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/power-pages/skills/deploy-site/SKILL.md · 535 lines

How it starts

The opening of the file, as written. The whole thing — 535 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Plugin check: Run node "${PLUGIN_ROOT}/scripts/check-version.js" — if it outputs a message, show it to the user before proceeding.

Deploy Power Pages Site

Route to the correct deployment workflow before running SPA build, attachment, or activation logic.

Core Principles

  • Verify before acting: Always confirm PAC CLI availability, authentication status, and the target environment before attempting any deployment.
  • Use TaskCreate/TaskUpdate: Track all progress throughout all phases — create the todo list upfront with all phases before starting any work.
  • Never change environment settings without consent: If deployment requires modifying environment configuration (e.g., unblocking JavaScript attachments), always explain the change and get explicit user permission first.

Initial request: $ARGUMENTS


Site-Type Routing

Classify explicit request signals first:

  • React, Vue, Angular, Astro, SPA, code site, or powerpages.config.json → SPA site
  • non-SPA, classic, traditional, declarative, Enhanced, EDM, Standard data model, .portalconfig, or website.yml → Non-SPA site

When the request is not explicit, search the current workspace for:

  • SPA roots containing powerpages.config.json;
  • non-SPA roots containing both .portalconfig/ and website.yml, including a nested .powerpages-site/.

Exclude dependency, build-output, temporary, generated-output, and version-control directories. Use request paths and the current directory to resolve one project. Never choose the first result arbitrarily.

🚦 Gate (plan · deploy-site:0.project-type): Select the exact project when SPA and non-SPA sites, or multiple valid roots, remain possible.

Trigger: Project type or root is ambiguous after discovery. Why: The two site types require incompatible PAC upload commands. Cancel leaves: Nothing; no build or upload has started.

Read the full file on GitHub · 535 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · +35 lines · +41 tokens per session 31429c74ee46
  2. 1mo ago Changed · +14 lines 1fead7773990
  3. 3mo ago First seen · 486 lines · 50 tokens per session scan A b4ecd2fb27f5

Subscribe to this mod's changes

deploy-site is a skill published in the GitHub repository microsoft/power-platform-skills (1,211 stars, last pushed today), licensed MIT. It adds 91 tokens to every session and 5,627 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

deploy-site compared with skills from other repositories

deploy-site next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
deploy-sitemicrosoft/power-platform-skillsSkill1.2ktodayMITA91Claude Code
canvas-apps-ui-genToluVictor/canvas-apps-toolsSkill1527mo agoMITA71Claude Code
forge-cost-optimizeratlassian/forge-skillsSkill37yesterdayApache-2.0A137Claude Code
deploy-landedavelikiy/great_ctoSkill11718d agoMITA106Claude Code
stack-baselineavelikiy/great_ctoSkill11718d agoMITA126Claude Code
servdmichtio/craftcms-claude-skillsSkill93todayApache-2.0A131Claude Code
craft-cloudmichtio/craftcms-claude-skillsSkill93todayApache-2.0A126Claude Code