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.
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-auditRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install agent-platform-access-audit in Claude Code
git clone --depth 1 https://github.com/google/skills /tmp/skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/skills/skills/cloud/agent-platform-access-audit ~/.gemini/antigravity-cli/skills/agent-platform-access-auditAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install agent-platform-access-audit in Antigravity CLI
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
ANo 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 →Retrieves lab biomarker results and clinician notes from Function Health through its FHIR API. It is for people who want an AI assistant to review their own lab history and notes.
Gives an AI assistant a methodology for finding and exploiting privilege escalation weaknesses on Windows systems during authorized penetration tests. It is for security testers and defenders validating escalation paths.
Guides the assistant through designing, debugging and hardening GitHub Actions CI/CD workflows. It is aimed at teams that run production pipelines on GitHub.
Develops evidence-backed structural security hardening proposals from disclosures, findings, source code, or Codex Security scans. It is for teams that need systemic fixes and architectural tradeoffs.
Claude Security scans code for security issues with Claude Code. It covers whole repositories, branch or pull request diffs, single commits, and existing findings from SARIF files or earlier reports.
Turns vulnerability notes, disclosure reports, PoCs, source code, or Codex Security findings into self-contained vulnerability reports. Built for security researchers who need claims the evidence supports.
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.
