Agent skill

Gh Debug

by FastLED in FastLED/FastLED

Debug GitHub Actions build failures by fetching and analyzing workflow logs.

MITAuto-check passedDevOps & Cloud

Install Gh Debug

skills CLI
$ npx skills add FastLED/FastLED --skill gh-debug -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install FastLED/FastLED gh-debug --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/FastLED/FastLED.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/gh-debug .claude/skills/gh-debug && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
gh-debug
GitHub stars
7.5k
Token cost
~427 tokens
SKILL.md length
202 words
Files
1
Skills in repo
23
Repo updated
First seen
Licence
MIT

At a glance

Debug GitHub Actions build failures by fetching and analyzing workflow logs.

  • Works in 4 steps: Identify failed jobs/steps using gh run… → For each failed step, use targeted log… → Parse logs for: compilation errors, test… → …
  • CI/CD pipelines fail and you need to identify the root cause
  • SKILL.md covers Smart Log Fetching Strategy, Input Handling and Output Format
  • Calls gh and uv

What it does

Gh Debug is an agent skill from FastLED/FastLED. Debug GitHub Actions build failures by fetching and analyzing workflow logs. Use when CI/CD pipelines fail and you need to identify the root cause.

Its SKILL.md is about 430 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in DevOps & Cloud, covering CI/CD and Root cause analysis. It works with GitHub Actions. The repository describes itself as: The FastLED library for colored LED animation on Arduino. Please direct questions/requests for help to the FastLED Reddit community: http://fastled.io/r We'd like to use github… The licence is MIT.

When your agent uses it

  • CI/CD pipelines fail and you need to identify the root cause
  • Tasks that involve CI/CD
  • Tasks that involve Root cause analysis

Example prompts

  • “/gh-debug”

Requirements

  • Python 3

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. Identify failed jobs/steps using gh run view --log-failed
  2. For each failed step, use targeted log extraction with grep filters
  3. Parse logs for: compilation errors, test failures, runtime issues
  4. Extract error context: ~10 lines before and after each error

What it can do on your machine

Read from SKILL.md and the folder at commit ce225ed. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • gh
    • uv

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use gh and uv, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Gh Debug loads about 427 tokens when it runs. Until then it costs about 39 tokens; SKILL.md has 202 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~39
When it runs · the whole SKILL.md, loaded when a task matches
~427

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from FastLED/FastLED at commit ce225ed, republished under its MIT licence (© FastLED). 202 words, ~427 tokens.

Download SKILL.mdSave it as .claude/skills/gh-debug/SKILL.md (or your agent's skills folder).
name
gh-debug
description
Debug GitHub Actions build failures by fetching and analyzing workflow logs. Use when CI/CD pipelines fail and you need to identify the root cause.
argument-hint
run-id or workflow-url
context
fork

Pull GitHub Actions logs for a workflow run, parse them to identify errors, and provide a clear diagnostic report.

Arguments: $ARGUMENTS

Primary Method (Recommended): Use the Python script for efficient log analysis:

bash
uv run ci/tools/gh_debug.py $ARGUMENTS

This script:

  • Tries build-summary artifacts first (small, focused files uploaded by CI — much faster)
  • Falls back to streaming full logs if no summary artifact is available
  • Filters for errors in real-time
  • Stops after finding 10 errors (configurable with --max-errors)
  • Shows context around each error (5 lines before/after, configurable with --context)

Fallback Method: If the Python script fails, use manual analysis:

Smart Log Fetching Strategy

  1. Identify failed jobs/steps using gh run view <run-id> --log-failed
  2. For each failed step, use targeted log extraction with grep filters
  3. Parse logs for: compilation errors, test failures, runtime issues
  4. Extract error context: ~10 lines before and after each error

Input Handling

Handle:

  • Run IDs (e.g., "18391541037")
  • Workflow URLs
  • Most recent failed run if no argument provided (use gh run list --status failure --limit 1)

Output Format

Provide:

  • Workflow name and run number
  • Job(s) that failed with step names
  • Specific error messages with surrounding context (max ~50 lines per error)
  • File paths and line numbers where applicable
  • Suggested next steps or potential fixes

© FastLED, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/gh-debug of FastLED/FastLED.

Open the folder on GitHubat commit ce225ed

Compare with similar skills

Gh Debug next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Gh Debug compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Gh Debug this skillFastLED/FastLED7.5k—~427Automated safety check: PassMIT
CI Failure Triage and RepairChachamaru127/claude-code-harness3.2k1 repos~1.1kAutomated safety check: NotesMIT
Megatron-LM CI Failure TriageNVIDIA/Megatron-LM18k—~1.6kAutomated safety check: PassApache-2.0
GitHub Actions Failure Analysisykdojo/claude-code-tips10k—~639Automated safety check: PassCustom licence
Spend Watchaeonfun/aeon767—~6.3kAutomated safety check: PassMIT
gh-aw Workflow Diagnosisgithub/gh-aw5.4k—~4kAutomated safety check: PassMIT

Similar skills

  • CI Failure Triage and Repair

    Chachamaru127/claude-code-harness

    Diagnoses failing CI pipelines and tests, deciding first whether the test or the implementation is at fault, and hands hard cases to a dedicated fixer subagent.

    3.2k GitHub starsUsed in 1 repo~1.1k tokens
    DevOps & CloudAuto-check: notes
  • Official

    Investigates a failing GitHub Actions run or job for Megatron-LM, finds the root cause plus the PR and test author involved, and files a structured bug issue.

    18k GitHub stars~1.6k tokensUpdated today
    DevOps & CloudAuto-check passed
  • GitHub Actions Failure Analysis

    ykdojo/claude-code-tips

    Investigates a failed GitHub Actions run from its URL: pinpoints the real failure, checks the job's history for flakiness, and finds the breaking commit and any existing fix PR.

    10k GitHub stars~639 tokensUpdated 13 days ago
    DevOps & CloudAuto-check passed
  • Spend Watch

    aeonfun/aeon

    Autonomous cloud-cost analyst across Neon, Vercel, Railway and GitHub Actions - pulls per-object usage, attributes it to the biggest drivers, root-causes each, and emits recommendations ranked by…

    767 GitHub stars~6.3k tokensUpdated today
    DevOps & CloudAuto-check passed
  • Official

    Guides your agent through diagnosing failed GitHub Agentic Workflows by downloading run logs, auditing individual runs and reading the artifacts they leave behind.

    5.4k GitHub stars~4k tokensUpdated today
    DevelopmentAuto-check passed
  • Diagnoses a failed GreptimeDB fuzz CI job by pulling its GitHub Actions logs and fuzz artifacts, then matching the evidence to the local source code.

    6.7k GitHub stars~4.4k tokensUpdated today
    Testing & QAAuto-check passed

More from FastLED/FastLED

All 23 skills in this repo
  • CI Fix

    FastLED/FastLED

    Scan all CI builds and tests, find failures, fetch error logs, and fix the code.

    7.5k GitHub stars~897 tokensUpdated today
    Auto-check passed
  • Driver Review

    FastLED/FastLED

    Review and implement hardware driver code — DMA safety, interrupt correctness, timing constraints, peripheral register usage, channel drivers, and peripheral mock implementations.

    7.5k GitHub stars~3.1k tokensUpdated today
    Auto-check passed
  • Embedded Debug

    FastLED/FastLED

    Firmware crash analysis, stack trace decoder, and register dump interpreter for ESP32/ARM/AVR platforms.

    7.5k GitHub stars~1.4k tokensUpdated today
    Auto-check passed
  • Esp32 Log Triage

    FastLED/FastLED

    Parse and classify ESP32 serial log output to identify FastLED-related errors, RMT/I2S/SPI driver faults, timing violations, RTOS issues, and crash signatures.

    7.5k GitHub stars~1.9k tokensUpdated today
    Auto-check passed
  • Memory Audit

    FastLED/FastLED

    Audit embedded code for stack overflow risks, heap fragmentation, static allocation patterns, and memory leaks.

    7.5k GitHub stars~488 tokensUpdated today
    Auto-check passed
  • Platform Port

    FastLED/FastLED

    Guide porting FastLED to new MCU platforms, including int.h types, clockless drivers, SPI implementations, and platform detection.

    7.5k GitHub stars~580 tokensUpdated today
    Auto-check passed

Works with

Categories

Questions about Gh Debug

What does Gh Debug do?

Debug GitHub Actions build failures by fetching and analyzing workflow logs. Gh Debug is an agent skill from FastLED/FastLED. Debug GitHub Actions build failures by fetching and analyzing workflow logs.

When should I use Gh Debug?

Gh Debug fits situations like: CI/CD pipelines fail and you need to identify the root cause; tasks that involve CI/CD; tasks that involve Root cause analysis.

How do I install Gh Debug in Claude Code?

Run `npx skills add FastLED/FastLED --skill gh-debug -a claude-code`. Or copy the skill folder (.claude/skills/gh-debug in FastLED/FastLED) into .claude/skills/gh-debug in your project. Claude Code loads it when a task matches its description.

How do I install Gh Debug in Codex?

Run `npx skills add FastLED/FastLED --skill gh-debug -a codex`. Or copy the skill folder (.claude/skills/gh-debug in FastLED/FastLED) into .agents/skills/gh-debug in your project. Codex loads it when a task matches its description.

Can I use Gh Debug in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add FastLED/FastLED --skill gh-debug -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/gh-debug, .gemini/skills/gh-debug, .github/skills/gh-debug and .opencode/skills/gh-debug in your project.

What does Gh Debug need to run?

Going by SKILL.md and its folder, Gh Debug needs the command-line tools its instructions call (gh and uv). Our summary lists: Python 3.

Does Gh Debug access the network?

SKILL.md contains no URLs. Its commands use gh and uv, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Gh Debug safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Gh Debug use?

Gh Debug is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Gh Debug use?

About 427 tokens (SKILL.md is roughly 1.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Gh Debug?

Skills that share tags, products or a category with Gh Debug: CI Failure Triage and Repair (Chachamaru127/claude-code-harness, 3.2k stars), Megatron-LM CI Failure Triage (NVIDIA/Megatron-LM, 18k stars), GitHub Actions Failure Analysis (ykdojo/claude-code-tips, 10k stars) and Spend Watch (aeonfun/aeon, 767 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Gh Debug?

FastLED (a GitHub organization) maintains it in FastLED/FastLED, which has 7,505 GitHub stars. The repository holds 23 skills in this directory. The repository was last updated on October 8, 2026.

Source: FastLED/FastLED on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.