About azure-role-selector
azure-role-selector is a skill for selecting Azure role definitions and preparing assignment guidance. It uses Azure MCP tools to check built-in roles or generate a custom role, CLI commands, and a Bicep snippet.
Key features
- 01Find a minimal matching role
- 02Generate a custom role when needed
- 03Prepare role-assignment CLI commands
- 04Provide a Bicep role-assignment snippet
Use cases
- 01Choosing permissions for an identity
- 02Creating an assignment for a custom role
MCP support
Uses Azure MCP documentation, extension_cli_generate, bicepschema, and get_bestpractices tools to find roles and produce CLI and Bicep guidance.
Install
Copy the command and run it in a terminal.
npx skills add https:/ / github.com/ github/ awesome-copilot --skill azure-role-selectorAfter installing, type/azure-role-selectorin Claude Code to confirm it loaded.
Bundled filesLICENSE.txt
Details
From the project READMEUse '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.