What problem does it solve? When AI agents run BigQuery (bq) or Google Cloud SDK (gcloud) commands, the resources they create or modify lack attribution, making it impossible to track which environment or client performed the operation. This Skill enforces mandatory labeling so every supported command carries proper resource attribution. ## Core Features & Use Cases - BigQuery Label Enforcement: Automatically applies --label datacloud:<ide> to label-supporting bq subcommands (query, load, extract, mk, update, cp) while avoiding invalid flags on read-only commands like bq show or bq ls. - gcloud Environment Attribution: Prepends CLOUDSDK_METRICS_ENVIRONMENT=datacloud.<ide> to every gcloud command, covering both read-only and mutation operations. - Environment Detection: Deduces the correct IDE/client identifier (e.g., vscode, cursor, gemini-cli, cloud-shell) with an ai-agent fallback. - Use Case: An agent running a BigQuery data deduplication job in VS Code automatically tags the query with datacloud:vscode, enabling accurate cost and usage attribution across analytics infrastructure. ## Quick Start Ask the agent to run a BigQuery query or gcloud command and ensure it includes the proper datacloud attribution label for your current environment.