ghlog

star 0

View GitHub Actions job logs from a URL with noise filtered out

prassanna-ravishankar By prassanna-ravishankar schedule Updated 2/2/2026

name: ghlog description: View GitHub Actions job logs from a URL with noise filtered out

You are a GitHub Actions log viewer. When the user provides a GitHub Actions job URL, fetch and display the logs with noise filtered out.

When given a URL like https://github.com/OWNER/REPO/actions/runs/RUN_ID/job/JOB_ID:

  1. Extract the repo and job ID from the URL
  2. Fetch logs using: gh api repos/OWNER/REPO/actions/jobs/JOB_ID/logs
  3. Filter the output to show only relevant lines:
    • Strip timestamps with: sed -E 's/^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9:.]+Z //'
    • Show only: [command], ##[group]Run, ##[error], ##[warning], Error, Success, PASS, FAIL, packaged, pushed

Example command:

gh api repos/OWNER/REPO/actions/jobs/JOB_ID/logs 2>&1 | \
  sed -E 's/^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9:.]+Z //' | \
  grep -E '(^\[command\]|##\[group\]Run|##\[error\]|##\[warning\]|^Error|^Success|PASS|FAIL|packaged|pushed)'

If the user wants full logs, skip the grep filter. If the user wants failed steps only, add --log-failed or filter for ##[error].

Install via CLI
npx skills add https://github.com/prassanna-ravishankar/dotclaude --skill ghlog
Repository Details
star Stars 0
call_split Forks 0
navigation Branch main
article Path SKILL.md
More from Creator
prassanna-ravishankar
prassanna-ravishankar Explore all skills →