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

agent-platform-access-audit

Skill by google

Audits AI agent data access, blast radius, and blocked policy operations in Google Cloud using Cloud Audit Logs queried through BigQuery. Built for teams investigating what an agent accessed or triaging PERMISSION_DENIED errors.

  • Score 88
  • 26k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install agent-platform-access-audit

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/agent-platform-access-audit ~/.claude/skills/agent-platform-access-audit

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

Step-by-step: install agent-platform-access-audit in Claude Code

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

About

agent-platform-access-audit is a skill published by Google for auditing AI agent activity in Google Cloud. It queries Cloud Audit Logs through a linked BigQuery dataset on the _Default log bucket. It covers which resources an agent accessed, the top originating principals it acts as, and blocked requests.

The skill resolves the agent's SPIFFE principal:// identity from its display name using Agent Registry, then runs read-only SELECT queries from its SQL templates. It separates VPC Service Controls violations from IAM permission denials. It is for teams auditing agent access in Google Cloud. It does not configure alerts, modify IAM or VPC-SC policies, or perform write operations.

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

What it can do

  • Data access auditInspects individual data reads, writes and blocked reads, with methods and target resources.
  • Top services accessedRanks the top 5 Google Cloud services by read and write counts.
  • Top originating principalsLists the top 5 callers invoking or delegating to the agent.
  • Access activity over timeBreaks down agent access activity by permission category over time.
  • Blocked request triageSeparates VPC Service Controls violations from IAM permission denials.

What you need

  • Google Cloud CLI with gcloud and bq installed
  • Active credentials via gcloud auth login or application-default login
  • Active billing account on the Google Cloud project
  • Enabled logging, BigQuery and Agent Registry APIs

Try asking

  • Show the top 5 services my financial-advisor agent accessed last 7 days
  • Which principals invoked this agent in the last 24 hours?
  • Triage PERMISSION_DENIED errors for this agent: VPC-SC or IAM?

Good to know

  • Only read-only SELECT queries are run. No writes, DDL or DML.
  • Audit data is typically only available for the last 30 days.
  • The agent must have a principal:// SPIFFE identity. Agents using sa:// identities are not supported.
  • If no time window is given, the default is the last 7 days.

Security check

A

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

Checked automatically: skills/cloud/agent-platform-access-audit/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md12 KB
  • references/attribution.md2 KB
  • references/audit-queries.md18 KB

Alternatives to agent-platform-access-audit

All alternatives →

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

agent-platform-access-audit: common questions

Does it change IAM or VPC Service Controls settings?

No. The source says it does not modify IAM policies or VPC Service Controls perimeters, and it does not perform write operations.

How far back can it audit?

The source notes that data is typically only available for the last 30 days. Without a stated window, it defaults to the last 7 days.

Why does it need a principal:// identity?

Audit logs record the agent's SPIFFE runtime identity, not its display name, because several agents in a project can share one display name.

How do I install agent-platform-access-audit?

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

Is agent-platform-access-audit free?

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

Is agent-platform-access-audit safe to use?

It scores 88 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 agent-platform-access-audit?

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

agent-platform-access-audit Install

Add to stack

Loading.