github-actions-lookup
Fetches and summarizes failed GitHub Actions job logs for troubleshooting.
Install
mkdir -p .claude/skills/github-actions-lookup && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/15159" && unzip -o skill.zip -d .claude/skills/github-actions-lookup && rm skill.zipInstalls to .claude/skills/github-actions-lookup
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Look up GitHub Actions run results for login-page CI/CD pipeline and collect failure details including logs, job outcomes, and diagnostics. Use when: investigating CI failures on main or add_security_standards branches, debugging workflow issues, checking latest PR build status, or collecting build logs for troubleshooting.Key capabilities
- →Fetch GitHub Actions workflow run results for the login-page repository
- →Collect full failure diagnostics including summary and detailed logs
- →Identify failed job names and conclusions
- →Retrieve step-by-step output from failed jobs
- →Gather full error messages and stack traces
- →Format reports in readable markdown
How it works
This skill identifies a GitHub Actions run by PR number or run ID, fetches its summary and detailed logs, and then formats the information into a readable report.
Inputs & outputs
When to use github-actions-lookup
- →Debug CI failure
- →Check latest build status
- →Analyze test logs
About this skill
GitHub Actions Run Lookup
Purpose
Fetch GitHub Actions workflow run results for the login-page repository with full failure diagnostics. Returns both summary and detailed logs to help debug CI/CD failures quickly.
Repository Context
- Owner: matthieumarshall
- Repo: login-page
- Current Branch: add_security_standards
- Main Workflows: CI Pipeline, Security & Compliance Scans, UI Tests, Unit Tests
When to Use
- CI failure investigation: "Why did my PR checks fail?"
- Workflow debugging: "Show me the full logs from that failed run"
- Status checking: "What's the latest build status for this PR?"
- Log collection: Gather detailed error traces and job output
- Build troubleshooting: Understand which steps failed and why
What It Returns
Basic Summary
- Workflow name and status
- Run ID and attempt number
- Trigger event and branch
- Direct link to GitHub Actions page
Detailed Logs (if available)
- Failed job names and conclusions
- Step-by-step output from failed jobs
- Full error messages and stack traces
- Job artifacts (if applicable)
How to Use
Option 1: Invoke Directly (Slash Command)
- Type
/github-actions-lookupin Copilot chat - Provide either:
- PR number:
18or#18 - Run ID:
23480036479(visible in GitHub Actions URL)
- PR number:
- The skill fetches the latest run for that PR, or the specific run if ID provided
Option 2: Auto-triggered in Relevant Contexts
The skill auto-loads when discussing:
- CI failures or build errors in this workspace
- GitHub Actions workflows
- GitHub check runs
- Pull request status
- Pipeline troubleshooting
Procedure
- Identify the run: Extract PR number or run ID from user input
- Fetch basic info: Call GitHub API to get workflow run summary
- Get run details: Retrieve job list and status for the run
- Collect logs: For failed jobs, fetch full step logs
- Format report: Compile summary + detailed logs in readable markdown
Resources
- Lookup script — Fetches Actions data via GitHub GraphQL/REST API
- Helper utilities — JSON parsing, markdown formatting, error handling
Example Prompts
- "Check the GitHub Actions for PR #18"
- "Why did the code quality checks fail on main?"
- "Show me the logs from run 23480036479"
- "What's the latest build status?"
- "Debug the security scan failure"
Requirements
- GitHub token: Must be configured (
GITHUB_TOKENenv var or VS Code GitHub extension) - Network access: Requires connection to api.github.com
- Repository context: Works best when run from within this repository workspace
Common Workflow Checks
The login-page CI pipeline includes:
- ✅ Code Quality Checks: Ruff formatting and linting
- ✅ Security & Compliance Scans: gitleaks, pip-audit, vulnerability scanning
- ✅ UI Tests: Playwright end-to-end tests
- ✅ Unit Tests: pytest with coverage
- ✅ Publish Pipeline Summary: Final validation step
Troubleshooting
"Ruff format check" failed
- Run:
uv run ruff format .
When not to use it
- →When investigating CI failures on branches other than main or add_security_standards
- →When debugging workflows not related to the login-page repository
- →When the user does not have a configured GitHub token
Prerequisites
Limitations
- →The skill is specific to the 'login-page' repository
- →The skill works best when run from within the repository workspace
- →The skill requires a GitHub token for authentication
How it compares
This workflow automates the collection and formatting of detailed GitHub Actions run diagnostics, providing a consolidated report for quick debugging, unlike manually navigating GitHub to find logs and error messages.
Compared to similar skills
github-actions-lookup side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| github-actions-lookup (this skill) | 0 | 3mo | Review | Intermediate |
| gha | 1 | 6mo | No flags | Intermediate |
| ci-test-failures | 1 | 2mo | Review | Intermediate |
| github-actions-failure-debugging | 1 | 7mo | No flags | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
You might also like
gha
ykdojo
Analyze GitHub Actions failures and identify root causes
ci-test-failures
dotnet
Guide for diagnosing and fixing CI test failures using the DownloadFailingJobLogs tool. Use this when asked to investigate GitHub Actions test failures, download failure logs, or debug CI issues.
github-actions-failure-debugging
Rabithua
Guide for debugging failing GitHub Actions workflows. Use this when asked to debug failing GitHub Actions workflows.
fix-ci
nickolashkraus
>
dependency-auditor
alirezarezvani
Check dependencies for known vulnerabilities using npm audit, pip-audit, etc. Use when package.json or requirements.txt changes, or before deployments. Alerts on vulnerable dependencies. Triggers on dependency file changes, deployment prep, security mentions.
debug
joosure
Investigate stuck runs and execution failures by tracing Symphony and Codex