A plugin marketplace for GitHub Copilot and other AI agents that provides Power Platform development plugins, including reusable skills, agents, and commands for building and deploying solutions.
Skill Usage Tracking
This document describes how to record skill usage in Power Pages SPA sites. Each skill invocation creates or updates site setting YAML files that track which AI skills were used, how many times, and which authoring tool invoked them.
Tracking only runs when .powerpages-site/site-settings/ exists (site has been deployed at least once). The tracking settings get uploaded to Power Pages on the next deploy.
How to Record Skill Usage
Run the Tracking Script
Run the shared tracking script:
node "${PLUGIN_ROOT}/scripts/update-skill-tracking.js" --projectRoot "<PROJECT_ROOT>" --skillName "<PascalCaseName>" --authoringTool "<YourAgentName>"
--projectRoot: The project root directory (containingpowerpages.config.json)--skillName: The PascalCase skill name from the table below--authoringTool: Your agent name (e.g.,ClaudeCode,GitHubCopilot). The script normalizes this value — any name containing "claude" becomesClaudeCode, any name containing "github" or "copilot" becomesGitHubCopilot.
The script exits silently if .powerpages-site/site-settings/ does not exist, so it is safe to call unconditionally.
For non-SPA site styling through edit-site, never create .powerpages-site, invent non-SPA tracking records, or broaden telemetry just to record usage. Run entry-point tracking only after verified local completion or an explicitly requested instructions-only handoff, not on canceled drafts or blocked work. Where the supported tracking directory exists, disclose and summarize any tracking diff separately from the approved styling patch; otherwise accept the no-op. Tracking does not authorize an upload.
The styling inspector excludes only the known site-settings/Site-AI-Skills-*.sitesetting.yml and site-settings/Site-AI-Tools-*.sitesetting.yml files from styling input hashes/inventory. This keeps final usage recording from invalidating a successfully verified proposal/receipt; other site settings and styling inputs remain subject to drift checks. It does not change tracking behavior or grant authority to edit unrelated files.
For classic authoring through edit-site, record
EditSite once after successful completion. Reference workflows are not
skill invocations; do not record reference reads as skill runs.
author-webpage-content records its own successful usage.
Preserve existing tracking records, including StyleSite; styling reference execution does not
increment that counter or emit a separate skill invocation.
Do not create a tracking directory or invent classic tracking records.
If the tracking script creates or updates site setting YAML files, include those tracking changes in the next git commit for the current phase or final summary commit.
Skill Name Mapping
compare-site-configurations is read-only and does not update usage settings in either input site or its downloaded snapshots.
Its invocation is still detected by the normal plugin hook.
Changing an input to count the comparison would alter the evidence being compared.
| Skill | PascalCase (--skillName) |
Setting Name |
|---|---|---|
| create-site | CreateSite | Site/AI/Skills/CreateSite |
| edit-site | EditSite | Site/AI/Skills/EditSite |
| compare-site-configurations | N/A (read-only comparison) | No site-setting writes |
| deploy-site | DeploySite | Site/AI/Skills/DeploySite |
| setup-datamodel | SetupDatamodel | Site/AI/Skills/SetupDatamodel |
| add-sample-data | AddSampleData | Site/AI/Skills/AddSampleData |
| activate-site | ActivateSite | Site/AI/Skills/ActivateSite |
| add-seo | AddSeo | Site/AI/Skills/AddSeo |
| add-localization | AddLocalization | Site/AI/Skills/AddLocalization |
| create-webroles | CreateWebroles | Site/AI/Skills/CreateWebroles |
| integrate-webapi | IntegrateWebApi | Site/AI/Skills/IntegrateWebApi |
| setup-auth | SetupAuth | Site/AI/Skills/SetupAuth |
| test-site | TestSite | Site/AI/Skills/TestSite |
| audit-permissions | AuditPermissions | Site/AI/Skills/AuditPermissions |
| plan-alm | PlanAlm | Site/AI/Skills/PlanAlm |
| add-server-logic | AddServerLogic | Site/AI/Skills/AddServerLogic |
| add-cloud-flow | AddCloudFlow | Site/AI/Skills/AddCloudFlow |
| add-ai-webapi | AddAiWebapi | Site/AI/Skills/AddAiWebapi |
| integrate-backend | IntegrateBackend | Site/AI/Skills/IntegrateBackend |
| migrate-datamodel | MigrateDatamodel | Site/AI/Skills/MigrateDatamodel |
| scan-site | ScanSite | Site/AI/Skills/ScanSite |
| analyze-performance | AnalyzePerformance | Site/AI/Skills/AnalyzePerformance |
| manage-headers | ManageHeaders | Site/AI/Skills/ManageHeaders |
| manage-firewall | ManageFirewall | Site/AI/Skills/ManageFirewall |
| security-review | SecurityReview | Site/AI/Skills/SecurityReview |
| scan-code | ScanCode | Site/AI/Skills/ScanCode |
| setup-solution | SetupSolution | Site/AI/Skills/SetupSolution |
| export-solution | ExportSolution | Site/AI/Skills/ExportSolution |
| import-solution | ImportSolution | Site/AI/Skills/ImportSolution |
| diagnose-deployment | DiagnoseDeployment | Site/AI/Skills/DiagnoseDeployment |
| configure-env-variables | ConfigureEnvVariables | Site/AI/Skills/ConfigureEnvVariables |
| setup-pipeline | SetupPipeline | Site/AI/Skills/SetupPipeline |
| deploy-pipeline | DeployPipeline | Site/AI/Skills/DeployPipeline |
| ensure-pipelines-host | EnsurePipelinesHost | Site/AI/Skills/EnsurePipelinesHost |
| force-link-environment | ForceLinkEnvironment | Site/AI/Skills/ForceLinkEnvironment |
| migrate-bootstrap | MigrateBootstrap | Site/AI/Skills/MigrateBootstrap |
| migrate-webapi-selectall | MigrateWebapiSelectall | Site/AI/Skills/MigrateWebapiSelectall |
| author-webpage-content | AuthorWebpageContent | Site/AI/Skills/AuthorWebpageContent |
| manage-governance (temporarily disabled) | ManageGovernance | Site/AI/Skills/ManageGovernance |
YAML Format
The tracking script produces site setting files in SPA site git format (alphabetically sorted, unquoted values):
description: Tracks usage count of the CreateSite skill
id: 778fa3d0-a2ef-4d2b-98b8-e6c7d8ce1444
name: Site/AI/Skills/CreateSite
value: 1
- Skill counter (
Site-AI-Skills-<SkillName>.sitesetting.yml): Incremented each time the skill runs. Theidis preserved across increments. - Authoring tool (
Site-AI-Tools-AuthoringTool.sitesetting.yml): Created once on first skill invocation. Subsequent runs preserve the original value.