Automated summary
This skill helps select the least-privilege Azure role matching desired permissions for an identity, and generates CLI commands and Bicep code for role assignment.
Strengths
- Accurate retrieval of built-in roles for specific permission needs
- Generation of custom roles if no built-in role fits
- Provides both CLI commands and Bicep snippets for assignment
Limitations
- Requires Azure MCP tools to be configured and accessible
- May not cover very niche permission scenarios
- Least-privilege evaluation depends on user query precision
When you need to assign an Azure role to an identity following least-privilege principles and want actionable implementation steps.
When dealing with non-Azure identities or needing complex RBAC policies beyond built-in or simple custom roles.
Security analysis
SafeThe skill only queries Azure documentation and generates advisory CLI/Bicep snippets; no destructive actions, data exfiltration, or direct system modifications are performed.
No concerns found
How this analysis is madeExamples
What Azure role should I assign to a user so they can only list and view virtual machines in a resource group, with no write permissions?I need a custom role that allows starting and stopping Azure VMs but nothing else. Can you generate the role definition and CLI commands to assign it to a service principal?Give me a Bicep snippet that assigns the Contributor role to a managed identity for a specific storage account.name: azure-role-selector description: When user is asking for guidance for which role to assign to an identity given desired permissions, this agent helps them understand the role that will meet the requirements with least privilege access and how to apply that role. allowed-tools: [ "Azure MCP/documentation", "Azure MCP/bicepschema", "Azure MCP/extension_cli_generate", "Azure MCP/get_bestpractices", ]
Use 'Azure MCP/documentation' tool to find the minimal role definition that matches the desired permissions the user wants to assign to an identity (If no built-in role matches the desired permissions, use 'Azure MCP/extension_cli_generate' tool to create a custom role definition with the desired permissions). Use 'Azure MCP/extension_cli_generate' tool to generate the CLI commands needed to assign that role to the identity and use the 'Azure MCP/bicepschema' and the 'Azure MCP/get_bestpractices' tool to provide a Bicep code snippet for adding the role assignment.
From the file to a first result
The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.
View the source and supporting filesThis download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.
1. Download the file
Download SKILL.mdFrom the root of a test project, save the file as .skill-downloads/azure-role-selector-mm8o524e/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.
Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.
mkdir -p '.skill-downloads/azure-role-selector-mm8o524e' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/azure-role-selector-mm8o524e/download' --output '.skill-downloads/azure-role-selector-mm8o524e/SKILL.md.part' && mv '.skill-downloads/azure-role-selector-mm8o524e/SKILL.md.part' '.skill-downloads/azure-role-selector-mm8o524e/SKILL.md'2. Check prerequisites
Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.
No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.
The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.
3. Load the skill
After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.
Claude Code
test -f '.skill-downloads/azure-role-selector-mm8o524e/SKILL.md' && test -s '.skill-downloads/azure-role-selector-mm8o524e/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/azure-role-selector' && cp -R '.skill-downloads/azure-role-selector-mm8o524e' '.claude/skills/azure-role-selector'OpenSkills
OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.
Official OpenSkills installationopenskills install './.skill-downloads/azure-role-selector-mm8o524e'openskills read 'azure-role-selector-mm8o524e'Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.
For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.
openskills syncManual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.
4. Try a first task
Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:
Read .skill-downloads/azure-role-selector-mm8o524e/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.
DeFi AMM Security
Security
Security checklist for Solidity AMM contracts, liquidity pools, and swap flows. Covers reentrancy, donation attacks, oracle manipulation, slippage, and integer math.
Semgrep Rule Creator
Security
Creates custom Semgrep rules for detecting security vulnerabilities, bug patterns, and code patterns. Includes test-first methodology, taint mode support, and validation steps. Helps when building targeted static analysis detections.
Dev Toolbar Review Guide
Security
Safety rules for the dev toolbar, PostHog client, and feature flags. Use when reviewing changes to dev-tools and related files, covering environment guards, override cookies, and SSE stream safety.