What problem does it solve? AI agents running BigQuery and Google Cloud CLI commands often create or modify cloud resources without any attribution, making it impossible to track which environment or client initiated the operations. This Skill ensures every applicable command carries the correct attribution label. ## Core Features & Use Cases - BigQuery Label Enforcement: Applies the mandatory --label datacloud:<ide> flag to label-supporting bq subcommands (query, load, extract, mk, update, cp) while explicitly avoiding invalid flags on read-only commands like bq show, bq ls, and bq rm. - gcloud Metrics Attribution: Prepends CLOUDSDK_METRICS_ENVIRONMENT=datacloud.<ide> to every gcloud command, covering both read-only and mutation operations. - Environment Deduction: Provides rules for detecting the current IDE or client (vscode, cursor, cloud-shell, gemini-cli, etc.) with an ai-agent fallback when the environment cannot be determined. - Use Case: When an agent runs a BigQuery query as part of a Data Agent Kit workflow, it automatically emits bq query --use_legacy_sql=false --label datacloud:vscode "SELECT 1" so the job is properly attributed. ## Quick Start Ask the agent to run a BigQuery query or any gcloud command and it will automatically attach the correct attribution label or environment variable for your current IDE.