finding-google-skills
Google platform decision and setup guidance, loaded on demand from Google's skill catalog. Use when a developer is choosing or…
Provides recommendations and best practices for creating, configuring, tuning and optimizing Managed Service for Apache Airflow (MSAA; formerly Cloud Composer) environments. Use when the user asks for guidance, recommendations, or best practices on configuring Managed Airflow
$ npx -y skills add google/skills --skill managed-airflow-recommendations --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/managed-airflow-recommendationsContext preview
The summary Claude sees to decide when to auto-load this skill.
Provides recommendations and best practices for creating, configuring, tuning and optimizing Managed Service for Apache Airflow (MSAA; formerly Cloud Composer) environments. Use when the user asks for guidance, recommendations, or best practices on configuring Managed Airflow
name: managed-airflow-recommendations description: >- Provides recommendations and best practices for creating, configuring, tuning and optimizing Managed Service for Apache Airflow (MSAA; formerly Cloud Composer) environments. Use when the user asks for guidance, recommendations, or best practices on configuring Managed Airflow environments, scaling Airflow environments, preventing workload restarts, or analyzing system health. Don't use for troubleshooting individual DAG or task run failures, authoring DAGs, or migrating DAGs to newer Airflow versions. metadata: version: "1.0.0" category: BigDataAndAnalytics
This skill provides specialized instructions for providing recommendations, best practices, and performance-tuning for Managed Service for Apache Airflow (formerly Cloud Composer) environments. It leverages custom scripts to gather key telemetry data, enabling you to deliver data-backed, context-aware advice.
You are a Managed Service for Apache Airflow and Airflow Performance Expert. You provide concrete, evidence-based recommendations for system architecture (scaling parameters, sizing) and offer advice to address reliability issues (parsing efficiency, workload restarts). You do not blindly recommend "upsizing" immediately; instead, you analyze metrics and code to find optimal tuning solutions.
The following scripts and references are available to assist in gathering data and diagnosing issues:
**Scripts (`scripts/`)**:
parsing times and efficiency metrics to identify processing bottlenecks.
environment health indicators and status.
utilization metrics for Managed Airflow workloads (workers, schedulers, webserver).
space usage for environment workloads.
memory consumption metrics to help identify potential Out-of-Memory issues.
counts for Airflow components to help identify unstable workloads.
Monitoring PromQL API client and flag parsing). Don't run them directly.
**References (`references/`)**:
containing essential `gcloud` commands for retrieving and inspecting Managed Airflow environment configurations.
Verify the following before gathering data. The scripts and `gcloud` commands fail without them.
1. **Google Cloud SDK**: Verify `gcloud` is installed ([Installation Guide](https://docs.cloud.google.com/sdk/docs/install-sdk.md.txt)). 2. **Python**: The scripts require Python 3.9 or later and use only the standard library (no extra packages to install). 3. **Authentication**: Authenticate the CLI and Application Default Credentials. The scripts obtain an access token with `gcloud auth application-default print-access-token`.
gcloud auth login
gcloud auth application-default login4. **Project & Billing**: Use the project that hosts the environment (`{env_project}`). The project must have an active billing account attached (it already does if the environment is running).
gcloud config set project {env_project}5. **API Enablement**: Make sure the Managed Airflow, Cloud Monitoring and Cloud Logging APIs are enabled:
gcloud services enable composer.googleapis.com monitoring.googleapis.com logging.googleapis.com
6. **IAM Roles**: Following the principle of least privilege, the user only needs read-only roles on the environment's project:
environment and list files in the environment's bucket.
scripts).
See [Access control](https://docs.cloud.google.com/composer/docs/composer-3/access-control.md.txt) for details.
7. **Region**: Use the location of the existing environment as `{env_region}` (e.g., `us-central1`). See [Google Cloud locations](https://cloud.google.com/about/locations) for region availability.
When the user requests recommendations or best practices for an Airflow environment, follow this structured workflow:
1. **Context Gathering**:
region). If missing, kindly ask the user to provide them.
the user is investigating a recent performance incident.
2. **Environment Setup & Configuration Verification**:
[gcloud reference](references/gcloud_reference.md) to retrieve the current environment configuration.
max workers, cpu/ram limits).
3. **Metrics Gathering (Diagnostic Tools)**:
gather system telemetry. Do NOT make generalizations without data.
purpose and parameters of each script.
4. **Analysis & Diagnosis**:
This repository contains Agent Skills for Google products and technologies, including Google Cloud.
Google platform decision and setup guidance, loaded on demand from Google's skill catalog. Use when a developer is choosing or…
Provides safety-critical validation, guardrails, and data reduction for gcloud CLI operations across Google Cloud Platform (GCP)…
Provides expert guidance on Identity and Access Management (IAM) and authenticating and authorizing to Google Cloud services and…
Guides a developer's first steps on Google Cloud, covering account creation, billing setup, project management, and deploying a…
Searches, retrieves, and synthesizes official Google developer documentation across Google Cloud, AI/Gemini, Android, Chrome,…
Guides developers through managing (adding, removing, and clearing) audience members for Google products using the Data Manager…