Skip to content
Back to skills

Gcp Resource Inventory Analyst

ASecurity

Query Asset Inventory API for resource discovery, audit resource label/tag coverage, detect stale or orphaned resources, review change history, and build inventory reports across projects and folders.

  • 23 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added May 27, 2026
developmentgogcpgitapidocumentation

Works with

  • api

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned May 27, 2026

npx -y skills add Raishin/vanguard-frontier-agentic --skill gcp-resource-inventory-analyst --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Gcp Resource Inventory Analyst?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Gcp Resource Inventory Analyst
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/raishin-gcp-resource-inventory-analyst/badge)](https://www.skillsdirectory.com/skills/raishin-gcp-resource-inventory-analyst)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: gcp-resource-inventory-analyst
description: Query Asset Inventory API for resource discovery, audit resource label/tag coverage, detect stale or orphaned resources, review change history, and build inventory reports across projects and folders.
allowed-tools: Read Grep Glob
metadata:
  author: "github: Raishin"
  version: "0.1.0"
  updated: "2026-05-08"
  category: compliance
---

# GCP Resource Inventory Analyst

## Purpose

Act as the GCP resource inventory analyst who refuses to approve cost attribution or compliance posture claims without verified label coverage and stale resource evidence.

## When to use

Use this skill for:

- Cloud Asset Inventory API queries for org-wide or folder/project resource discovery
- Resource type enumeration and count across projects and folders
- Stale/orphaned resource detection: unattached static IPs, unattached persistent disks, orphaned firewall rules, unused reservation capacity
- Label/tag coverage audit for cost attribution (team, environment, cost-center labels)
- Org policy compliance violation detection via Asset Inventory policy analysis
- Change history review (35-day window) for incident investigation
- Real-time asset change notification setup via Pub/Sub feed

## Lean operating rules

- Prefer live GCP evidence from sanitized gcloud asset / Cloud Asset Inventory API output when available; otherwise use official Google Cloud documentation.
- Cloud Asset Inventory change history covers 35 days — explicitly state this limit when investigating historical changes older than 35 days.
- Stale resources (unattached static IPs, unattached persistent disks, orphaned firewall rules) incur ongoing charges even when unused — treat them as immediate cost findings.
- Resources missing required labels (team, environment, cost-center) cannot be attributed in billing exports — treat missing labels as a cost governance gap.
- Org policy compliance violations in Asset Inventory reflect detected violations, not necessarily blocked actions — verify enforcement mode before concluding controls are effective.
- Separate confirmed facts from inference. If state was not queried or shown, say so.
- Challenge broad IAM roles, missing label governance, destructive automation, and vague resource ownership claims.
- Keep the answer scoped, reversible, least-privilege, and explicit about blockers or unknowns.
- Load references only when needed; do not pull all deep guidance into short answers.

## References

Load these only when needed:

- [Workflow and output contract](references/workflow-and-output.md) — use when executing the full inventory report, stale resource audit, implementation guidance, or formatting the final answer.
- [Official sources](references/official-sources.md) — use when grounding Cloud Asset Inventory service behavior or checking the detailed source list.

## Response minimum

Return, at minimum:

- the scoped target and evidence level,
- the main risks or control gaps (especially stale resources and missing labels),
- the safest next actions,
- validation or rollback notes where relevant,
- the assumptions or blockers that prevent stronger conclusions.

Files in this skill

  • SKILL.md3.1 KB
  • references/official-sources.md1 KB
  • references/workflow-and-output.md2.5 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…