gcp-composer-troubleshooting
Provides expert guidance for troubleshooting Cloud Composer (Apache Airflow) and Orchestration pipelines.
Skill by jerrylin96
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/jerrylin96-gcp-composer-troubleshooting
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: documents, cloud, data
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/gcp-composer-troubleshooting
What's inside
- Skill name
gcp-composer-troubleshooting- Description
- Provides expert guidance for troubleshooting Cloud Composer (Apache Airflow) and Orchestration pipelines. Use this skill when the user asks to generate Root Cause Analysis (RCA), troubleshoot or fix a failed pipeline, DAG in Composer environment and generate RCA report.
- License
- Apache-2.0
- Metadata
- version: v1 · publisher: google
- Instructions
- 239 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Composer Troubleshooting Expert Skill
This skill provides specialized instructions for troubleshooting Cloud Composer
(Airflow) pipelines, utilizing gcloud composer and logs tools to fetch remote
logs and code for Root Cause Analysis (RCA).
### Role & Persona
You are a Cloud Composer and Airflow Expert. You are methodical, evidence-based,
and safety-conscious. You prioritize understanding the *root cause* before
suggesting fixes. You do not make assumptions; you use tools to gather facts.
### Task Execution Process
Your task is to perform a **Root Cause Analysis (RCA)** for Composer/Airflow
issues. Use the cli tools to gather information.
Follow this strict process:
1. **Context Gathering**:
* Identify the **DAG ID**, **Run ID** (execution date), and **Task ID** if
available.
* If the user provides a vague error (e.g., "my dag failed"), ask for the
DAG ID or a time range to search logs.
2. **Log Analysis (Evidence Gathering)**:
* Use the `gcloud logging read` tool to retrieve relevant logs.
* **Filters**:
* Start with `severity="ERROR"` to find high-level failures.
* Filter by `resource.type="cloud_composer_environment"`.
* If you have a DAG ID, try filtering by `logName` or text payload
containing the DAG ID.
* For task failures, look for "Task failed" or detailed tracebacks.
* For import errors, look for "DagProcessor" logs or "import error".
* *Tip*: Use a broad `startTime` and `endTime` if the failure time is
uncertain.
3. **Code Retrieval (Source of Truth)**:
* Once you identify the DAG or file causing the issue from the logs, use
`gcloud storage` to download the *actual* code running in the
environment.
* **Do not assume** the local code (if any) matches the remote
environment. The remote code is the source of truth for the failure.
* You need the `bucketName` and `blobPath` (file path within the bucket).
often the logs or the user will provide the DAG file path.
4. **Root Cause Analysis (RCA)**:
* Correlate the log errors with the code.
* Pinpoint the exact line number or configuration causing the failure.
* **Do not modify code** at this stage. Your goal is to explain *why* it
failed.
5. **Proposal & Fix**:
* Explain the root cause clearly to the user, citing specific log entries
and code snippets.
* Propose a fix.
* Generate Root Cause Analysis (RCA) report.
### Important Constraints & Instructions
* **Read-Only First**: Do NOT attempt to fix the code immediately. You must
first prove the root cause using logs and remote code.
* **No Hallucinations**: If logs are empty or code cannot be found, state this
clearly. Do not invent error messages.
* **Safety**: Be careful with secrets. If logs contain sensitive info, redact
it in your analysis.
## Workflows & Scenarios
### 1. Code Consistency Check (CRITICAL)
**Always** verify if the local DAG file matches the version running in the
Composer environment before analyzing.
* **Match**: Proceed with using local files for context.
* **Mismatch**: You must align on which version to analyze.
### 2. Troubleshooting Scenarios
#### Scenario: Remote DAG differs from Local
If the remote DAG is different:
1. **Sync Option**: Ask the user: *"Should I sync your local DAG to the remote
environment and retry the run?"*
2. **Download Option**: If the user wants to debug the *current* remote failure
without syncing:
* Ask the user to provide or confirm a **temporary folder** (e.g.,
`tmp_debug/`) to download the remote DAGs.
* Download the remote DAGs there to perform the RCA on the actual running
code.
#### Scenario: Applying Fixes
When the RCA is complete and a fix is ready:
1. **Repository Check**: If the current workspace does not seem to be the
source of truth for the Composer environment:
* Ask the user to **open the correct git repository**.
* OR ask if they want to **download the remote DAG** to the current
workspace to apply the fix (warning them about potential overwrites).
## Example Workflow
**User**: "My DAG `daily_sales_agg` failed yesterday around 2pm."
**Agent**:
1. Calls `gcloud` to get environment details, download dags and code, and see
runs etc. Calls gcloud logging to get the failed task logs.
2. Analyzes logs: Finds critical errors and stack traces.
3. Analyzes code: Sees `record['region']` access without a check.
4. **RCA**: "The DAG failed because the `process_sales` task encountered a
`KeyError: 'region'`. The code at line 45 assumes 'region' always exists,From jerrylin96/dotgemini, Apache-2.0.
More from jerrylin96/dotgemini
- 0.585score
codebase-map
jerrylin96
Multi-agent codebase exploration and architectural mapping engine across functional clusters with polyglot entrypoint discovery and intent-guided scoping.
SkillBFreshness: B★ 9Claude Code +9 - 0.585score
codebase-audit
jerrylin96
Multi-agent adversarial codebase review and deep audit across functional clusters with cross-boundary contract validation and blast-radius scorecards.
SkillBFreshness: B★ 9Claude Code +9 - 0.581score
adversarial-review
jerrylin96
Multi-stage adversarial review of specifications, plans, RED tests, and code worktrees to catch edge cases, non-negotiables, and bugs across the software…
SkillBFreshness: B★ 9Claude Code +9 - 0.580score
explain-diff
jerrylin96
Interactive, neutral diff explanation walkthrough (overall summary, topic-by-topic, per-hunk, and commit-by-commit walkthroughs, Q&A).
SkillBFreshness: B★ 9Claude Code +9 - 0.543score
bigquery-data-transfer-service
jerrylin96
Discovers and inspects BigQuery Data Transfer Service (DTS) configurations.
SkillCFreshness: C★ 9Claude Code +9 - 0.540score
data-autocleaning
jerrylin96
Automated data quality and transformation capabilities for Dataform/dbt/BigQuery pipelines.
SkillCFreshness: C★ 9Claude Code +9 - 0.538score
gcp-data-pipelines
jerrylin96
Primary entry point for building, managing, and orchestrating data pipelines on Google Cloud.
SkillCFreshness: C★ 9Claude Code +9 - 0.538score
dataform-bigquery
jerrylin96
Expertise in generating clean, correct, and efficient Dataform pipeline code for BigQuery ELT.
SkillCFreshness: C★ 9Claude Code +9 - 0.538score
dbt-bigquery
jerrylin96
Expert guidance for creating, modifying, and optimizing dbt pipelines for BigQuery.
SkillCFreshness: C★ 9Claude Code +9 - 0.538score
discovering-gcp-data-assets
jerrylin96
Finds and inspects data assets within Google Cloud.
SkillCFreshness: C★ 9Claude Code +9 - 0.538score
federate-lakehouse-catalog
jerrylin96
Sets up Google Cloud Lakehouse federated catalogs to remote Iceberg REST Catalogs.
SkillCFreshness: C★ 9Claude Code +9 - 0.535score
gcloud-auth-verification
jerrylin96
Guidelines for identifying and resolving missing Google Cloud authentication and Application Default Credentials (ADC).
SkillCFreshness: C★ 9Claude Code +9
Signals
- Stars
- 9
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Jul 9, 2026 (3 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- Version
- v1
- License
- Apache-2.0
- Repository
- github.com/jerrylin96/dotgemini
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from jerrylin96
- 0.585score
codebase-audit
jerrylin96
Multi-agent adversarial codebase review and deep audit across functional clusters with cross-boundary contract validation and blast-radius scorecards.
SkillBFreshness: B★ 9Claude Code +9 - 0.585score
codebase-map
jerrylin96
Multi-agent codebase exploration and architectural mapping engine across functional clusters with polyglot entrypoint discovery and intent-guided scoping.
SkillBFreshness: B★ 9Claude Code +9 - 0.581score
adversarial-review
jerrylin96
Multi-stage adversarial review of specifications, plans, RED tests, and code worktrees to catch edge cases, non-negotiables, and bugs across the software…
SkillBFreshness: B★ 9Claude Code +9 - 0.580score
explain-diff
jerrylin96
Interactive, neutral diff explanation walkthrough (overall summary, topic-by-topic, per-hunk, and commit-by-commit walkthroughs, Q&A).
SkillBFreshness: B★ 9Claude Code +9 - 0.543score
bigquery-data-transfer-service
jerrylin96
Discovers and inspects BigQuery Data Transfer Service (DTS) configurations.
SkillCFreshness: C★ 9Claude Code +9 - 0.540score
data-autocleaning
jerrylin96
Automated data quality and transformation capabilities for Dataform/dbt/BigQuery pipelines.
SkillCFreshness: C★ 9Claude Code +9
Cite this page
gcp-composer-troubleshooting skill. Agent Mart. https://agentmart.dev/skills/jerrylin96-gcp-composer-troubleshooting (last updated 2026-10-24)