Skills azure-role-selector
๐Ÿ“ฆ

azure-role-selector

Content revision r1 Safe

Select Least-Privilege Azure Roles

Azure role decisions can grant too much access when requirements are unclear. This skill maps desired permissions to minimal roles and assignment guidance.

Supports: Claude Codex Code(CC)
๐Ÿฅ‰ 79 Bronze

Install with my Agent

Copy this request to your Agent. It includes the canonical Skill page and manifest.

Agent request
Review the Skillstore skill "azure-role-selector" from https://skillstore.io/skills/7spade-azure-role-selector.md and its manifest at https://skillstore.io/api/skills/7spade-azure-role-selector/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.

Your Agent should still show its plan and request any confirmation required by the security policy.

Agent-readable resources

Use these links when an AI agent, crawler, or script needs clean context instead of reading the full page.

Test it

Using "azure-role-selector". A managed identity needs read-only access to blobs in one storage account.

Expected outcome:

The response names the closest least-privilege built-in role, explains the match, and describes the narrow assignment scope.

Using "azure-role-selector". A deployment pipeline needs permission to assign one role at a resource group scope.

Expected outcome:

The response compares relevant role options, highlights excess permissions, and recommends the smallest practical assignment.

Using "azure-role-selector". No built-in role matches a short list of required actions.

Expected outcome:

The response outlines a custom role approach, provides assignment guidance, and notes required administrator review.

Security Audit

Safe
v7 โ€ข 7/6/2026 Open versioned report

Static analysis reported no suspicious patterns in the single prompt-only SKILL.md file. Manual review found no prompt injection or malicious intent. The skill uses Azure MCP tools to identify least-privilege RBAC roles and produce assignment guidance.

1
Files scanned
6
Lines analyzed
0
Review items
0
False positives ignored
No confirmed security findings were detected by the latest completed static and semantic audit. This does not prove the skill has no side effects.
Audited by: codex View Audit History โ†’
Share & cite this report

Share the versioned assessment report, neutral badge, embed card, and citations. Skillstore reports evidence without deciding whether this Skill is safe.

Open versioned report
Security Assessment

Copy report link

https://skillstore.io/skills/7spade-azure-role-selector/audits/7?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_report

Markdown badge

[![Skillstore security assessment](https://skillstore.io/badges/skills/7spade-azure-role-selector/security.svg)](https://skillstore.io/skills/7spade-azure-role-selector?utm_source=security_passport_badge)

HTML badge

<a href="https://skillstore.io/skills/7spade-azure-role-selector?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/7spade-azure-role-selector/security.svg" alt="Skillstore security assessment" loading="lazy"></a>

Embed card

<iframe src="https://skillstore.io/embed/skills/7spade-azure-role-selector.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>
Academic citations (APA ยท BibTeX ยท CFF)

APA citation

7Spade. (2026). azure-role-selector security audit report (audit version 7) [Author version unspecified]. Skillstore. https://skillstore.io/skills/7spade-azure-role-selector/audits/7

BibTeX citation

@techreport{7spade-7spade-azure-role-selector-2026, author = {7Spade}, title = {azure-role-selector security audit report (audit version 7)}, institution = {Skillstore}, year = {2026}, number = {7}, url = {https://skillstore.io/skills/7spade-azure-role-selector/audits/7}, note = {Author version unspecified} }

CITATION.cff

cff-version: 1.2.0 message: "If you use this Skill, cite its author and this versioned security audit report." title: "azure-role-selector security audit report (audit version 7)" version: "unspecified" type: report authors: - name: "7Spade" date-released: "2026-07-06" url: "https://skillstore.io/skills/7spade-azure-role-selector/audits/7" identifiers: - type: other value: "skillstore:7spade-azure-role-selector:audit:7" description: "Skillstore immutable audit report identifier"

Skillstore Score

Why this score Evidence Confidence: High
55
Architecture
85
Maintainability
87
Content
70
Community
91
Spec Compliance

What You Can Build

Choose Managed Identity Access

Select the least-privilege Azure role for an application identity that needs specific resource permissions.

Review Access Requests

Compare requested permissions with built-in roles before approving an Azure RBAC change.

Prepare Infrastructure Changes

Generate role assignment guidance and Bicep snippets for repeatable deployment workflows.

Try These Prompts

Find a Built-In Role
I need to let [identity] perform [actions] on [scope]. Use azure-role-selector to recommend the least-privilege Azure role.
Compare Role Options
Compare built-in Azure roles for [actions] on [resource type]. Explain the least-privilege choice and note permissions that exceed the need.
Generate Assignment Guidance
For [identity type and name], [scope], and required permissions [list], recommend the minimal role and generate Azure CLI assignment guidance.
Design a Custom Role
No built-in role appears to match [permissions]. Draft a custom role definition, assignment guidance, and Bicep snippet for [scope].

Best Practices

  • Provide the exact Azure resource scope, identity type, and required actions.
  • Ask for built-in role comparison before considering a custom role.
  • Review generated CLI and Bicep guidance with an Azure administrator before applying changes.

Avoid

  • Requesting broad Owner or Contributor access without listing needed permissions.
  • Applying role assignments at subscription scope when resource scope is sufficient.
  • Treating generated commands as approved production change records.

Frequently Asked Questions

Does this skill assign roles in Azure?
No. It generates guidance and commands, but a user or administrator must apply them.
Can it recommend custom roles?
Yes. It can suggest a custom role when no built-in role matches the required permissions.
What details should I provide?
Provide the identity, resource scope, required actions, and any compliance limits.
Does it support Bicep?
Yes. The skill requests Bicep schema and best practice guidance through Azure MCP tools.
Is it limited to least privilege?
The prompt directs the assistant to prefer the minimal role that satisfies the requested permissions.
Can it verify my tenant permissions?
No. It cannot inspect your tenant unless the connected Azure tools provide that context.

Developer Details

Author

7Spade

License

MIT

Skillstore revision

r1

Version notice

The author did not declare a version.

Ref

c1fdca50ff516318f65fed0d7f9e82797c5171dc

Maintenance freshness

7/18/2026

Usage

8 downloads ยท 186 views

File structure

๐Ÿ“„ SKILL.md

More from 7Spade

View all
View all