orca-overprivileged-identities-rightsizing

orca-overprivileged-identities-rightsizing is a skill for Claude Code from orcasecurity/orca-skills. It costs 99 tokens per session (9,342 once invoked), scanned A, original, MIT.

A cloud security tool that finds identities with more permissions than they use and recommends reducing the excess. An identity can be a user, role, or service account in AWS, Azure, or Google Cloud.

In plain words
What is it for?
Use it to right-size permissions across cloud accounts, business units, or tags, review risky identities, generate proposed changes, and apply approved reductions.
Why use it?
Unused permissions increase the damage possible if an account is compromised. The tool helps compare granted access with observed use and supports reviewing changes before applying them.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions subagents.

Part of the orca-skills plugin — 19 skills shipped together

Good fit Use it to right-size permissions across cloud accounts, business units, or tags, review risky identities, generate proposed changes, and apply approved reductions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/orcasecurity/orca-skills/orca-overprivileged-identities-rightsizing
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 orcasecurity/orca-skills --skill orca-overprivileged-identities-rightsizing
Clone the repo
git clone --depth 1 https://github.com/orcasecurity/orca-skills

Made for: Claude Code.

Or install orca-skills, the plugin that ships this one along with the rest of its 19 skills.

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 orca-overprivileged-identities-rightsizing

README.md
[![agentmods](https://agentmods.dev/badge/skills/orcasecurity/orca-skills/orca-overprivileged-identities-rightsizing/github.svg)](https://agentmods.dev/skills/orcasecurity/orca-skills/orca-overprivileged-identities-rightsizing)
Your own site
<a href="https://agentmods.dev/skills/orcasecurity/orca-skills/orca-overprivileged-identities-rightsizing"><img src="https://agentmods.dev/badge/skills/orcasecurity/orca-skills/orca-overprivileged-identities-rightsizing/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 orca-overprivileged-identities-rightsizing

Your own site · 80×15
<a href="https://agentmods.dev/skills/orcasecurity/orca-skills/orca-overprivileged-identities-rightsizing"><img src="https://agentmods.dev/badge/skills/orcasecurity/orca-skills/orca-overprivileged-identities-rightsizing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 99 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 9,342 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: 2 findings, up to medium

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 →

  • medium Excessive Agency · line 144
    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.
  • medium Excessive Agency · line 218
    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.00099 $0.09342
Opus 5 $0.00049 $0.04671
Sonnet 5 $0.00020 $0.01868
Haiku 4.5 $0.00010 $0.00934

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

Security

Grade A, and why

orca-overprivileged-identities-rightsizing 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 11d ago.

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.

skills/orca-overprivileged-identities-rightsizing/SKILL.md · 249 lines

How it starts

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

Orca Over-Privileged Identity Right-Sizing Skill

Answers the question: "Which of our identities hold far more permission than they use, and how do we safely cut them down?"

Every unused permission is standing attack surface: if the identity is phished or its key leaks, the blast radius is everything it may do, not what it does do. This skill sweeps an account or business unit for identities whose granted permissions exceed their observed usage, ranks them by identity risk score, and walks the user through right-sizing with a non-destructive path (stage: generate the change, apply nothing) and a destructive path (apply) that is always gated behind an evidence-based safety check plus explicit confirmation.

The core signal: Orca's recommendation engine pre-computes a PoLP verdict per identity/grant from ~90 days of observed usage, stored as RecommendationType with exactly three values: "Reduce Permissions" (over-privileged — this skill's target), "Inactive" (dead weight — hand off to /orca-inactive-identities-cleanup), and "PoLP Aligned" (nothing to do). Where the verdict lives differs per provider:

  • AWS (identity-level): an AwsEffectivePermissionsPolicy per user/role carries the verdict plus a generated least-privilege policy (Recommendation.recommended_policy), UsedServices vs EntityAuthorizedServices, and the identity's PermissionUsage ratio (share of authorized services actually used). Exposed directly via get_aws_effective_permissions_policy_on_asset. The engine skips IAM groups.
  • Azure (grant-level): each AzureIamRoleAssignment carries both the normalized RecommendationType verdict and an inline Recommendation payload: a typed action (detach_role, read_only, just_in_time, scope_reduction, no_action_needed), an action_needed boolean, and read/write action usage with LastUsageTime. The typed actions roll up to the three verdicts (detach_role → "Inactive"; read_only / just_in_time / scope_reduction → "Reduce Permissions"; no_action_needed → "PoLP Aligned"). Computed only where cloud logs are enabled for the subscription.
  • GCP (grant-level): a GcpIamPolicyBindingRecommendation per policy binding, same normalized-verdict-plus-typed-payload shape, linked to the user or service account. Feature-flag gated in some tenants.

Provider coverage is a product fact: Alibaba Cloud, OCI, and Tencent Cloud have no PoLP recommendation layer in Orca. This is a three-cloud skill (AWS, Azure, GCP); say so instead of improvising verdicts for other providers.

Read the full file on GitHub · 249 lines

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. 11d ago First seen · 249 lines · 99 tokens per session scan A 636a3f7db985

Subscribe to this mod's changes

orca-overprivileged-identities-rightsizing is a skill published in the GitHub repository orcasecurity/orca-skills (50 stars, last pushed 5d ago), licensed MIT. It adds 99 tokens to every session and 9,342 once invoked, about $0.0005 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

happiness-skill

A Chinese-language guide to happiness based on reducing unmet wants, focusing on the present, and treating happiness as a trainable skill.

kangarooking/cangjie-skill · 136 tokens

docx-comment-reply

Reply to comments (批注) in Word .docx/.doc files: extract comment context, draft replies, write threaded replies back, and validate OOXML.

foryourhealth111-pixel/Vibe-Skills · 39 tokens

asc-subscription-localization

Bulk-localize subscription, subscription-group, and in-app purchase display names across App Store locales using asc, including API 4.4.1 version-scoped v2 resources. Use when filling or updating subscription/IAP names and descriptions without App Store Connect UI work.

rorkai/app-store-connect-cli-skills · 60 tokens

pcbway

PCBWay PCB fabrication and assembly — turnkey/consigned assembly, design rules, ordering workflow. Alternative to JLCPCB for manufacturing. Use with KiCad. Use this skill when the user mentions PCBWay, needs turnkey assembly (PCBWay sources parts by MPN), has parts not available on LCSC, needs assembled boards with…

aklofas/kicad-happy · 119 tokens

explaining-machine-learning-models

Explain trained machine learning models through feature attribution, local explanations, and behavior summaries. Use as an explicit/manual helper once a model already exists, not for training ownership, leakage auditing, or general ML strategy selection.

foryourhealth111-pixel/Vibe-Skills · 49 tokens

influence-psychology

Apply the seven principles of ethical persuasion (reciprocity, commitment, social proof, authority, liking, scarcity, unity) to product design, copy, and sales. Use when the user mentions "social proof", "persuasive copy", "why users dont convert", "ethical persuasion", "reciprocity", "scarcity tactics", "commitment…

wondelai/skills · 156 tokens