Logo de Github Actions Debugger

Github Actions Debugger

Organização
opendatahub-io
github-actions-debugger

Debug and monitor GitHub Actions workflow runs. Check run status, view failed job logs, and troubleshoot CI failures. Use this when the user needs to investigate GitHub Actions failures, inspect job output, or identify the root cause of a broken workflow run.

Visão geral

Publicado poropendatahub-io
Repositórioai-helpers
Nome da habilidadegithub-actions-debugger
Estrelas
39
Forks
76
Arquivos incluídos
Somente instruções
LicençaApache-2.0
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    Habilidades de IA são Markdown simples, não código específico de um provedor, por isso funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • Completa em si mesma

    Tudo de que o modelo precisa está nas instruções — sem arquivos extras para sincronizar.

  • Código aberto

    Publicada por opendatahub-io no GitHub. Leia o conteúdo-fonte antes de instalar.

Instalação

Instale a habilidade de IA Github Actions Debugger no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL da pasta da habilidade exibida abaixo e confirme.
    https://github.com/opendatahub-io/ai-helpers/tree/main/plugins/odh-git/skills/github-actions-debugger
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Nova habilidade → Via URL GitHub, depois cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/opendatahub-io/ai-helpers.git /tmp/ai-helpers
mkdir -p .claude/skills
cp -r /tmp/ai-helpers/plugins/odh-git/skills/github-actions-debugger .claude/skills/github-actions-debugger
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Github Actions Debugger em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega Github Actions Debugger automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, Github Actions Debugger não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu modelo seguirá.

GitHub Actions Debugger

This skill enables Claude to investigate GitHub Actions failures by:

  1. Listing recent workflow runs and their status
  2. Identifying failed jobs within a run
  3. Retrieving failed job logs
  4. Analyzing error messages and suggesting next debugging steps

Prerequisites

  • gh CLI installed and authenticated (gh auth status to verify)
  • Git repository with a GitHub remote configured (for automatic repo detection)

If gh is not installed, ask the user to follow installation instructions at https://cli.github.com/

If gh is not authenticated, ask the user to run gh auth login.

Instructions

When the user asks to check CI status, debug workflow failures, or view job logs, use the gh CLI commands below. All commands auto-detect the GitHub repository from the git remote in the current working directory. To target a different repository, add -R <owner>/<repo> to any command.

Handling GitHub Actions URLs

When the user provides a full GitHub Actions URL, parse it to extract the repository and run or job ID, then use -R to target that repository. Always use the repository from the URL, ignoring the local git remote.

Before constructing any command from a URL, validate the extracted values:

  • Owner names must only contain letters, digits, and hyphens.

  • Repository names must only contain letters, digits, hyphens, underscores, and dots.

  • Run IDs and job IDs must be purely numeric.

  • Workflow file names must only contain letters, digits, hyphens, underscores, and dots. If any extracted value fails its rule, reject it and ask the user to provide a corrected URL or ID.

  • Run URL format: https://github.com/<owner>/<repo>/actions/runs/<run-id>

    • Extract: -R <owner>/<repo> and <run-id>
    • Example: https://github.com/my-org/my-project/actions/runs/123456789 becomes gh run view 123456789 -R my-org/my-project
  • Workflow URL format: https://github.com/<owner>/<repo>/actions/workflows/<workflow-file>

    • Extract: -R <owner>/<repo> and --workflow <workflow-file>
    • Example: https://github.com/my-org/my-project/actions/workflows/ci.yaml becomes gh run list --workflow ci.yaml -R my-org/my-project

Commands

  1. List Recent Workflow Runs

    • Run gh run list --limit 10 to show the latest runs with their status, workflow name, and run ID
    • Add --status failure to filter for only failed runs: gh run list --status failure --limit 10
  2. Filter by Workflow File

    • Use --workflow to scope results to a specific workflow: gh run list --workflow ci.yaml --limit 10
  3. View a Specific Run

    • Use gh run view <run-id> to see the run summary including all jobs and their status: gh run view <run-id>
    • Add --log-failed to immediately stream the logs of all failed jobs: gh run view <run-id> --log-failed
  4. View Full Logs for a Run

    • To retrieve complete logs for every job in a run: gh run view <run-id> --log
    • Pipe through grep to isolate errors: gh run view <run-id> --log-failed 2>&1 | grep -i "error\|fail\|fatal" | head -50
  5. Watch a Running Workflow

    • To follow a currently active run in real time: gh run watch <run-id>
  6. Re-run Failed Jobs

    • If the user wants to retry only the failed jobs without re-running passing ones: gh run rerun <run-id> --failed
  7. Troubleshoot CI Failures

    • First, list recent failed runs to identify the run ID (step 1)
    • Then, view the run to see which jobs failed (step 3)
    • Then, retrieve the failed job logs (step 3 with --log-failed)
    • Analyze the log output to identify the root cause and suggest fixes

Examples

bash
# List the 10 most recent runs across all workflows
gh run list --limit 10
bash
# Show only failed runs for a specific workflow
gh run list --workflow ci.yaml --status failure --limit 10
bash
# View run summary and failed job logs for run ID 123456789
gh run view 123456789 --log-failed
bash
# Grep failed logs for actionable errors
gh run view 123456789 --log-failed 2>&1 | grep -i "error\|fail\|fatal" | head -50
bash
# Re-run only the failed jobs
gh run rerun 123456789 --failed

Error Handling

  • If a run ID is not found, show the error and suggest running gh run list to find the correct ID
  • If the repository cannot be detected, suggest using -R <owner>/<repo> or running from within the correct git repository
  • If logs are unavailable (e.g., run too old or log retention expired), inform the user and suggest checking the GitHub Actions UI directly

Perguntas frequentes

O que a habilidade de IA Github Actions Debugger faz?

Debug and monitor GitHub Actions workflow runs. Check run status, view failed job logs, and troubleshoot CI failures. Use this when the user needs to investigate GitHub Actions failures, inspect job output, or identify the root cause of a broken workflow run.

Por que usar Github Actions Debugger no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. Github Actions Debugger é escrito em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. O TypingMind usa suas próprias chaves de API, então o pagamento é feito diretamente aos provedores, em vez de uma assinatura por licença de usuário, e suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Github Actions Debugger no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/opendatahub-io/ai-helpers/tree/main/plugins/odh-git/skills/github-actions-debugger. O TypingMind lê o arquivo SKILL.md e instala a habilidade para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Github Actions Debugger?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com Github Actions Debugger?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Github Actions Debugger com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA Github Actions Debugger é gratuita?

Sim. A habilidade é publicada no GitHub por opendatahub-io sob a licença Apache-2.0. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, modelos de documento ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas para chamar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA fornece conhecimento e um processo ao modelo: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver todos

Crie seu próprio espaço de IA agora

Inscreva-se na nossa newsletter para receber novidades sobre recursos e futuros sorteios 👇