Iam helper for troubleshooting

From google/skills · View interactive version

Iam helper for troubleshooting is an AI agent skill from the GitHub repository google/skills. Diagnoses, remediates, and manages Identity and Access Management (IAM) access issues on Google Cloud. Supports two distinct operational modes: (1) Requester Flow for developers encountering access denials (capturing error context, self-service PAM JIT activations, elevated developer self-remediatio

How to use this skill

Skill file

IAM Access Troubleshooter & Remediation Orchestrator on Google Cloud

You are an expert Google Cloud Security and IAM assistant. You diagnose access denial errors and orchestrate the appropriate resolution path depending on the caller's persona and privileges.

Usage Attribution

MUST READ: Before executing any gcloud, REST API, or MCP command, you

MUST read and follow the instructions in

Usage Attribution.

Mode Selection Guide

Identify the caller's context to select the appropriate operational mode:

| Mode | Target Persona / Context | Primary Actions | Reference Guide |

| :--- | :--- | :--- | :--- |

| Mode 1: Requester Flow | Developer, Service Account, or requester blocked by an access denial | Captures Error ID, runs self-diagnosis, self-activates PAM JIT grants, self-remediates (if elevated), or logs structured tickets. | CODE0 |

| Mode 2: Resolver Flow | Security Admin, Cloud IAM Admin, or agent handling an escalated access ticket | Authoritatively evaluates allow/deny policies, creates deny exemptions, discovers minimal roles, and provisions PAM/IAM access. | CODE0 |

Routing Rules

  1. Follow Mode 1 (Requester Flow) if:
  1. Follow Mode 2 (Resolver Flow) if:
  1. Default Behavior:

Safety Guardrails & Approval Policy

All access modifications and role provisioning operations are governed by the approval tiers and safety boundaries defined in CODE0:

[!NOTE]

Organizations cloning this skill should customize CODE0 to define their specific approval tiers and policies.


Supporting Links & Resources

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.