create-webroles

create-webroles is a skill for Claude Code from microsoft/power-platform-skills. It costs 71 tokens per session (3,435 once invoked), scanned A, original, MIT.

A tool for creating web roles in a Power Pages site. Web roles define what different groups of site users, such as anonymous or signed-in visitors, can access.

In plain words
What is it for?
It creates and configures roles for anonymous and authenticated users, while preserving the rules that only one role can represent each of those groups.
Why use it?
It avoids configuring access roles manually and checks existing roles before assigning special anonymous or authenticated-user 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 creates and configures roles for anonymous and authenticated users, while preserving the rules that only one role can represent each of those groups.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/microsoft/power-platform-skills/create-webroles
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,210 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 create-webroles
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 create-webroles

README.md
[![agentmods](https://agentmods.dev/badge/skills/microsoft/power-platform-skills/create-webroles/github.svg)](https://agentmods.dev/skills/microsoft/power-platform-skills/create-webroles)
Your own site
<a href="https://agentmods.dev/skills/microsoft/power-platform-skills/create-webroles"><img src="https://agentmods.dev/badge/skills/microsoft/power-platform-skills/create-webroles/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 create-webroles

Your own site · 80×15
<a href="https://agentmods.dev/skills/microsoft/power-platform-skills/create-webroles"><img src="https://agentmods.dev/badge/skills/microsoft/power-platform-skills/create-webroles.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 71 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,435 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: 3 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 68
    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 38
    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.00071 $0.03435
Opus 5.5 $0.00028 $0.01374
Sonnet 5.5 $0.00014 $0.00687
Haiku 4.5 $0.00007 $0.00344

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

Security

Grade A, and why

create-webroles 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.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/create-web-role.js, scripts/validate-webroles.js), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/create-webroles/SKILL.md · 326 lines

How it starts

The opening of the file, as written. The whole thing — 326 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.

Create Web Roles

Create web roles for a Power Pages SPA site. Web roles define the permissions and access levels for different types of site users.

Non-SPA sites use the same role schema and uniqueness constraints, but their metadata root can be either <projectRoot>/.powerpages-site or a directly opened PAC export.

Site Type Routing

Before reading or executing the workflow below, perform the existing SPA project lookup first:

  • Look for powerpages.config.json in the current directory or immediate subdirectories using the existing file-search patterns.

  • If found, continue with the existing SPA workflow below. Do not change its phases, prompts, gates, file naming, caller-suppress contract, or deployment behavior.

  • Only when that existing SPA lookup finds no powerpages.config.json, run:

    node "${PLUGIN_ROOT}/scripts/lib/detect-project-context.js"
    
  • If it returns siteType: "non-spa", read and follow ${PLUGIN_ROOT}/skills/create-webroles/references/non-spa-site-workflow.md. Do not execute any of the SPA workflow below.

  • Otherwise, continue to Phase 1 and preserve its existing not-found handling.


Core Principles

  • Use TaskCreate/TaskUpdate: Track all progress throughout all phases — create the todo list upfront with all phases before starting any work.
  • Always use the UUID script: Never generate UUIDs manually — always use ${PLUGIN_ROOT}/scripts/generate-uuid.js to produce valid UUID v4 values for each web role.
  • Preserve uniqueness constraints: Only one role can have anonymoususersrole: true and only one can have authenticatedusersrole: true. Always check existing roles before setting these flags.
  • Caller-suppress mode is opt-in: When invoked by another skill (e.g. /add-ai-webapi) with the [CALLED-BY-PARENT-SKILL] sentinel in $ARGUMENTS, suppress this skill's deploy prompts (Phase 1's missing-deploy ask, Phase 6's deploy ask (step 3), and the closing reminder) and return as soon as roles are created. The caller batches the deploy at end-of-orchestration. Human invocations never trigger this mode. See Phase 0 below for parsing.

Read the full file on GitHub · 326 lines

Files

What ships with it

3 files 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 · +25 lines · +17 tokens per session 32a76f7f6aed
  2. 3mo ago First seen · 301 lines · 54 tokens per session scan A 6811719b2709

Subscribe to this mod's changes

create-webroles is a skill published in the GitHub repository microsoft/power-platform-skills (1,210 stars, last pushed today), licensed MIT. It adds 71 tokens to every session and 3,435 once invoked, about $0.0003 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

create-webroles compared with skills from other repositories

create-webroles next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
create-webrolesmicrosoft/power-platform-skillsSkill1.2ktodayMITA71Claude Code
canvas-apps-ui-genToluVictor/canvas-apps-toolsSkill1527mo agoMITA71Claude Code
ux-heuristicswondelai/skillsSkill2.9k3d agoMITA122Claude Code, Codex
blue-ocean-strategywondelai/skillsSkill2.9k3d agoMITA152Claude Code
clean-codewondelai/skillsSkill2.9k3d agoMITA126Claude Code
session-scanoliver-kriska/claude-elixir-phoenixSkill5803d agoMITB36Claude Code
prices-and-plansfirecrawl/firecrawl-claude-pluginSkill276yesterdayMITA118Claude Code