iam-helper-for-troubleshooting
Что он делает
Этот скилл выясняет, почему человека не пускает к ресурсу Google Cloud, и что с этим делать. Он помогает двум группам: разработчикам, которых заблокировали, и администраторам, которые разбирают заявки на доступ.
Когда использовать
- ✓Когда разработчик или сервисный аккаунт получает отказ в доступе или ошибку 403 в Google Cloud.
- ✓Когда администратору нужно проверить политики разрешений и запретов, чтобы объяснить блокировку.
- ✓Когда заблокированному пользователю нужна структурированная заявка или временный запрос доступа.
Ссылка на скилл
https://github.com/google/skills/blob/main/skills/cloud/iam-helper-for-troubleshooting/SKILL.mdСкопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.
Как использовать
Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.
Готовое сообщение для вставки
Для Claude Code, Codex или Cursor: запустите в папке проекта, и скилл установится.
Скачайте SKILL.md и положите его в папку скиллов вашего агента.
Пример запроса к вашему ИИ
“У моего сервисного аккаунта ошибка 403 в BigQuery. Выясни, какого разрешения ему не хватает и что нужно запросить.”
5 новых скиллов в неделю. 1 минута чтения.
Как это работает
Скилл фиксирует детали ошибки и проверяет нужные политики разрешений и запретов. В зависимости от того, кто обращается, он либо помогает оформить самостоятельный запрос доступа, либо даёт администратору решение.
Технический текст (оригинальный SKILL.md)
Оригинальный текст автора на английском, прямо с GitHub.
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. | references/requester.md |
| 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. | references/resolver.md |
Routing Rules
Follow Mode 1 (Requester Flow) if:
- You are executing an end-user development task, encounter a 403 / Error ID, and need to perform self-service PAM activation or produce an internal escalation ticket for an administrator.
- 📖 Reference Guide: Read and follow
references/requester.mdfor detailed execution steps.
Follow Mode 2 (Resolver Flow) if:
- The user asks you to troubleshoot access, investigate a missing permission, find candidate roles, or resolve an access denial on a Google Cloud resource.
- 📖 Reference Guide: Read and follow
references/resolver.mdfor detailed execution steps.
Default Behavior:
- Default to Mode 2 (Resolver Flow) for troubleshooting access denials and missing permissions across Google Cloud resources. Read and follow
references/resolver.mdfor detailed execution steps.
- Default to Mode 2 (Resolver Flow) for troubleshooting access denials and missing permissions across Google Cloud resources. Read and follow
Safety Guardrails & Approval Policy
All access modifications and role provisioning operations are governed by the approval tiers and safety boundaries defined in references/guardrails.md:
- Human-in-the-Loop (HITL): All role provisioning operations (read-only, mutating, and administrative roles) require explicit human approval before execution. High-risk administrative roles require an explicit high-risk warning.
- Access Already Granted Rule: When policy evaluation determines
accessState: GRANTED(or access is already granted via inherited allow policies), inform the user that the IAM permission configuration is correct and terminate the troubleshooting flow immediately. Do NOT search for roles, suggest role queries, or propose role bindings. - Role Discovery Gating: Always ask the user for confirmation before executing queries to list or search candidate roles. Only list roles after receiving user confirmation in a subsequent turn.
- Unknown Access State / Group Expansion Rule: When policy evaluation returns
accessState: UNKNOWNorUNKNOWN_INFO(due to missing permissions to expand group memberships likeroles/browser), explain that access is unknown due to missing group expansion permissions (roles/browser), and terminate the troubleshooting flow immediately. Do NOT run secondary queries or probe alternative policies. - Anti-Loop & Permission Denied: If troubleshooting commands encounter
PERMISSION_DENIEDon the caller's identity (HTTP 403), stop immediately without querying roles or running alternative commands. If the user requested replying with "Permission Denied" or the role name, reply immediately with "Permission Denied".
[!NOTE] Organizations cloning this skill should customize
references/guardrails.mdto define their specific approval tiers and policies.
Supporting Links & Resources
- Requester Flow Reference: Developer and access requester self-service & triage playbook
- Resolver Flow Reference: Administrator and security resolver authoritative playbook
- Guardrails & Approval Policy: Human-in-the-loop approval tiers and security boundaries
Частые вопросы
Для кого он?
Заблокированные разработчики используют сценарий запроса, а администраторы сценарий решения.
Может ли он менять доступ сам?
Только в сценарии администратора, и изменения сначала показываются на подтверждение.
Создаёт ли он заявки?
Да. Для заблокированных заявителей он может оформить структурированную заявку.
Подробности
Оригинальное описание автора
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-remediation, or logging structured tickets), and (2) Resolver Flow for privileged administrators (authoritative Policy Troubleshooter analysis, deny policy exemptions, least-privilege role discovery, and PAM/IAM provisioning).
repo: google/skills
Популярность
- Звёзды на GitHub
- 22k
- Место в рейтинге
- #10341
- Лицензия
- Apache-2.0
- Обновлён
- 02.11.2026
Комментарии
- …
Другие скиллы из этого репозитория
finding-google-skills
22kПомогает агенту найти нужные руководства Google для задач настройки, например хостинга, баз данных, хранилища, входа или запуска ИИ-моделей.
gcloud
22kПомогает агенту писать и проверять команды gcloud для Google Cloud, сверяя синтаксис с официальной справкой перед запуском, чтобы не угадывать флаги.
google-cloud-recipe-auth
22kВедёт агента через настройку идентификации и доступа в Google Cloud: как люди и сервисы входят в систему и какие права они получают.
google-cloud-recipe-onboarding
22kВедёт нового разработчика через первые шаги в Google Cloud: выбор проекта, подключение оплаты и развёртывание первого ресурса.
Похожие скиллы
reverse-engineer-anything
422kПомогает агенту изучить готовые приложения и пакеты, объяснить их функции, сравнить версии или помочь с пересборкой через REA.
1password
394kПомогает агенту настроить командную строку 1Password, войти в нее и читать или подставлять секреты, не выводя их значения в чат.
healthcheck
394kПомогает агенту проверить компьютер или сервер, на котором работает OpenClaw, на риски безопасности, такие как SSH, файрвол, обновления и резервные копии, а затем предложить безопасные исправления.