agent-bom discover gcp
Discover GCP AI assets and generate a standardized inventory
Install & Use
Copy this prompt and send it to your AI assistant (Claude / Cursor / TRAE / Codex / WorkBuddy etc.) to auto-install:
Help me install this AI Skill: agent-bom discover gcp. It is used for: Discover GCP AI assets and generate a standardized inventory Full Skill content: https://321skill.com/skills/agent-bom-discover-gcp-x-9/raw/index.md Read that page and install it.
The prompt includes a link to the full Skill content. You can also view the full content.
This Skill addresses the challenge of uniformly inventorying AI Agent and MCP-related assets in GCP environments. In practice, teams often need to manually log into the GCP Console, query resources service by service (Vertex AI, Cloud Run, Cloud Functions, GKE), and then manually compile a list—a tedious process prone to omissions. By calling GCP's read-only APIs, this Skill automatically discovers all AI-related assets and outputs a standardized JSON inventory compliant with the agent-bom specification, significantly improving asset inventory efficiency.
Usage is straightforward: simply ensure Python 3.11+ and the agent-bom library are installed locally, and that GCP Application Default Credentials (ADC) or Workload Identity are properly configured. Then, instruct your AI assistant with "Inventory the AI Agent and MCP assets in the current GCP project." It will automatically execute the discovery process and write the results to your specified JSON file. The entire process requires no manual input of GCP credentials, as they remain securely in your local environment.
It is ideal for teams and individuals who need to regularly audit GCP AI assets, perform security and compliance checks, or plan migrations. Users already leveraging the agent-bom ecosystem for asset inventory management can directly import the generated JSON into subsequent scanning or analysis workflows. Operations engineers, agent developers, and cloud architects can all benefit.
It is recommended to configure ADC via gcloud auth application-default login before first use and ensure the current project has sufficient read-only permissions. Note that this Skill only performs discovery operations and will not modify any GCP resources. Sensitive information (such as service account keys) is automatically redacted in the generated inventory. For projects with a large number of assets, it is advised to execute the Skill per project to avoid API rate limiting.
Key Features
Unlike manually using gcloud commands or querying services one by one in the GCP Console, this Skill can discover various AI-related assets—such as Vertex AI, Cloud Run, Cloud Functions, and GKE—in one go, automatically generating a standardized JSON inventory compliant with the agent-bom specification, all while ensuring credentials never leave the local environment for enhanced security.
Limitations
Requires Python 3.11+ and the agent-bom library; only supports GCP read-only credentials (ADC/Workload Identity/short-lived service accounts); does not support modifying resources; and depends on GCP API availability.
FAQ
How do I install the agent-bom library?
Simply run `pip install agent-bom`. This Skill is provided as part of the agent-bom package.
Do I need to create a GCP service account?
No. You can directly use your local Application Default Credentials (configured via `gcloud auth application-default login`) or Workload Identity. No manual input of JSON keys is required.
Installation guide for AI assistants
If your AI coding assistant (Claude Code, Cursor, TRAE etc.) can see this page, send it this message to auto-install:
Visit https://321skill.com/skills/agent-bom-discover-gcp-x-9/raw/index.md to read the original Skill definition (Markdown format) for agent-bom discover gcp, and install it according to the instructions.
Raw Markdown URL for AI: /skills/agent-bom-discover-gcp-x-9/raw/index.md