access-control-review

access-control-review is a skill for Claude Code, Codex from Robotti-io/copilot-security-instructions. It costs 27 tokens per session (4,452 once invoked), scanned A, original, Apache-2.0.

A repository-based review workflow for checking how users, services, roles, and permissions are allowed to access software. It produces a Markdown report with Mermaid diagrams, which are text-defined diagrams, checked by local scripts.

In plain words
What is it for?
Use it to review identity and access control in a repository or code change, connect endpoints to their permission checks, and document roles, groups, claims, scopes, and policies.
Why use it?
It replaces scattered code reading with an evidence-based view of where access rules are defined and enforced. This helps reveal missing, inconsistent, or unclear authorization paths.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to review identity and access control in a repository or code change, connect endpoints to their permission checks, and document roles, groups, claims, scopes, and policies.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/robotti-io/copilot-security-instructions/access-control-review
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 Robotti-io/copilot-security-instructions --skill access-control-review
Clone the repo
git clone --depth 1 https://github.com/Robotti-io/copilot-security-instructions

Made for: Claude Code, Codex.

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 access-control-review

README.md
[![agentmods](https://agentmods.dev/badge/skills/robotti-io/copilot-security-instructions/access-control-review/github.svg)](https://agentmods.dev/skills/robotti-io/copilot-security-instructions/access-control-review)
Your own site
<a href="https://agentmods.dev/skills/robotti-io/copilot-security-instructions/access-control-review"><img src="https://agentmods.dev/badge/skills/robotti-io/copilot-security-instructions/access-control-review/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 access-control-review

Your own site · 80×15
<a href="https://agentmods.dev/skills/robotti-io/copilot-security-instructions/access-control-review"><img src="https://agentmods.dev/badge/skills/robotti-io/copilot-security-instructions/access-control-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 27 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,452 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.
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.00027 $0.04452
Opus 5 $0.00014 $0.02226
Sonnet 5 $0.00005 $0.00890
Haiku 4.5 $0.00003 $0.00445

Measured 9d ago against content hash 050e2562aa00, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

access-control-review 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 9d ago.

The scan reads SKILL.md. This mod also ships 3 executable files (scripts/mermaid-docs.mjs, scripts/mermaid-support.mjs, scripts/validate-mermaid.mjs), 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/copilot-security/skills/access-control-review/SKILL.md · 616 lines

How it starts

The opening of the file, as written. The whole thing — 616 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Access Control Review

Purpose

Provide a repeatable, repository-grounded workflow for reviewing identity, access control, and authorization architecture, then producing durable Markdown output with validated Mermaid diagrams using local Node.js helper scripts instead of VS Code extension-based Mermaid tools.

When to use

Use this skill when you need to:

  • analyze how identity, access control, and authorization are implemented across a repository or PR diff
  • map roles, groups, permissions, claims, scopes, and policies to concrete enforcement points
  • build an endpoint-to-access-control view grounded in repository evidence
  • produce a Markdown review plus Mermaid diagrams that can be validated from a CLI-friendly workflow

Inputs to collect

  • repository or PR diff in scope
  • authentication source and identity provider details, if known
  • principal types that matter for the review, such as end users, administrators, support users, service identities, and background jobs
  • known sources of truth for groups, roles, permissions, claims, scopes, or policy assignments
  • environment or tenant-specific variance, if any
  • repository evidence from code, config, IaC, manifests, docs, route declarations, tests, and policy definitions

How to use

  1. Review the current repository and PR diff, if available, before relying on operator answers.
  2. Persist the output as a root-level Markdown file named Access Control Architecture Review - YYYY-MM-DD.md when the environment supports writing files.
  3. Use evidence first and cite file paths and, when possible, line ranges.
  4. Mark anything that cannot be confirmed from repository evidence as ASSUMPTION or UNKNOWN.
  5. Perform the mandatory intake before finalizing the report, choosing only the questions that materially change the interpretation of identity source, authorization model, source of truth, enforcement location, or environment behavior.
  6. Use the local Mermaid helper scripts in this skill instead of VS Code extension-based Mermaid tools.
  7. Validate every Mermaid diagram before finalizing the report.
  8. Do not generate code changes unless explicitly requested.

Read the full file on GitHub · 616 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. 9d ago First seen · 616 lines · 27 tokens per session scan A 050e2562aa00

Subscribe to this mod's changes

access-control-review is a skill published in the GitHub repository Robotti-io/copilot-security-instructions (42 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 27 tokens to every session and 4,452 once invoked, about $0.0001 per session on Opus 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-08-30.

Related

Other skills, from other repositories

rework-rate

Measure and interpret PR rework rate — the emerging 5th DORA metric.

bradygaster/squad · 20 tokens

code-review-csharp

Perform structured code reviews of C# source code covering naming conventions, performance, security, readability, and .NET best practices. Trigger phrases include "review this C# code", "check my C# for best practices", "analyze this C# class", "find issues in my C# code".

pnp/copilot-prompts · 66 tokens

self-awareness-review

Reviews a given week of your OWN Teams meetings, chats, and sent emails to surface moments where you may have misread social signals or come across as passive-aggressive, curt, sarcastic, or dismissive — returning the exact quote, how it likely landed, and a kinder rewrite. Private self-reflection coaching for the…

pnp/copilot-prompts · 202 tokens

clean-architecture-dotnet

Use when domain logic leaks into API/Infrastructure, project references violate layer boundaries, or you need to decide between CQS (always), CQRS bus (complex domains), and DDD patterns (invariants and events).

SebastienDegodez/copilot-instructions · 50 tokens

vendor-prompting

ANALYSIS SKILL — Audit-grade reference for Anthropic Claude and OpenAI GPT-5.6 prompting best practices. WHEN: "claude prompting", "gpt-5.6 prompting", "audit agent", "review prompt", "vendor best practices", "anthropic best practices", "openai prompting". DO NOT USE FOR: routine prompt edits where rules are already…

jonathan-vella/apex-accelerator · 94 tokens

azure-artifacts

UTILITY SKILL — Artifact template structures, H2 compliance rules, and documentation styling for agent outputs (Steps 1-7). WHEN: "generate artifact", "check H2 structure", "artifact template", "step 7 as-built". USE FOR: generating any agent artifact, checking H2 structure compliance. DO NOT USE FOR: Azure resource…

jonathan-vella/apex-accelerator · 103 tokens