Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

iam-helper-for-policy-management

Skill by google

Manages IAM allow policies (v1) and deny policies (v2) across Organization, Folder, Project and individual resources. Built for people who create, change, list or delete Google Cloud access controls.

  • Score 94
  • 25k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install iam-helper-for-policy-management

Built from the published package, never by AI.

git clone --depth 1 https://github.com/google/skills /tmp/skills && mkdir -p ~/.claude/skills && cp -r /tmp/skills/skills/cloud/iam-helper-for-policy-management ~/.claude/skills/iam-helper-for-policy-management

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install iam-helper-for-policy-management in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill helps an AI assistant manage the lifecycle of Google Cloud IAM allow policies and deny policies. Allow policies (IAM v1) grant roles to principals such as users, service accounts, groups and domains on Resource Manager resources and on individual resources. Deny policies (IAM v2) set explicit guardrails at organization, folder or project level that block specified principals from using designated permissions.

The skill sorts each request as read-only or mutating. Read-only checks run autonomously and the results are shown to the user. Mutating changes follow a plan and confirm protocol: the assistant builds the exact gcloud command, warns about impact and propagation time, asks for approval, and then verifies the resulting state. It is aimed at administrators who manage access control in Google Cloud. Troubleshooting, temporary privileged access, VPC Service Controls and firewall rules are handled by other skills.

Written from the project's SKILL.md and checked against it.

What it can do

  • Read IAM allow policiesRuns get-iam-policy on projects, folders or organizations and lists testable permissions for a project.
  • Change IAM allow policiesPrepares add-iam-policy-binding, remove-iam-policy-binding and set-iam-policy commands for approval before running.
  • List and get IAM deny policiesUses gcloud iam policies list or get with an attachment point and the denypolicies kind.
  • Create, update and delete deny policiesPrepares deny policy changes on project, folder or organization attachment points using YAML or JSON policy files.
  • Verify changesRuns a verification command after an approved mutating change to confirm the active state matches the plan.
  • Refuse public blanket accessDeclines grants to allUsers or allAuthenticatedUsers and proposes scoped role bindings for specific identities instead.

What you need

  • Google Cloud gcloud command-line tool, REST API or MCP access

Try asking

  • List the IAM allow policy on my project my-project-id
  • Draft a gcloud command to grant a service account the Viewer role on a folder
  • Show the deny policies attached to my organization

Good to know

  • Mutating changes are never run without explicit user approval.
  • Changes can affect live access and take time to propagate across Google Cloud.
  • Grants to allUsers or allAuthenticatedUsers and broad basic roles are refused.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/cloud/iam-helper-for-policy-management/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md6 KB
  • references/attribution.md2 KB
  • references/v1-allow-policies.md6 KB
  • references/v2-deny-policies.md8 KB

Alternatives to iam-helper-for-policy-management

All alternatives →

Compare with function_health, windows-privilege-escalation or github-actions-advanced

iam-helper-for-policy-management: common questions

Does this skill change IAM policies on its own?

No. Read-only actions run autonomously, but mutating allow and deny policy changes require explicit confirmation from the user before they run.

What is the difference between allow and deny policies here?

Allow policies (IAM v1) grant roles to principals on resources. Deny policies (IAM v2) block specified principals from permissions and are evaluated before allow policies.

Can it help troubleshoot access denied errors?

No. The source says access denial troubleshooting is handled by the separate iam-helper-for-troubleshooting skill.

How do I install iam-helper-for-policy-management?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is iam-helper-for-policy-management free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is iam-helper-for-policy-management safe to use?

It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to iam-helper-for-policy-management?

Similar skills: function_health, windows-privilege-escalation, github-actions-advanced, propose-security-hardening.

iam-helper-for-policy-management Install

Add to stack

Loading.