A tool that monitors PR CI status and automatically attempts to fix failed builds.

Install

mkdir -p .claude/skills/monitor && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/2929" && unzip -o skill.zip -d .claude/skills/monitor && rm skill.zip

Installs to .claude/skills/monitor

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.

Monitor a PR until CI is 100% green, fixing any failures
56 charsno explicit “when” trigger
Intermediate

Key capabilities

  • Retrieve pull request check status
  • Analyze CI failure logs
  • Generate code fixes for failed checks
  • Commit and push corrections to the repository
  • Poll CI status with a 60-second interval

How it works

The agent checks the status of pull request CI jobs using the GitHub CLI. If failures occur, it reads the logs, applies a fix, pushes the changes, and waits 60 seconds before re-evaluating the status.

Inputs & outputs

You give it
Pull request identifier
You get back
Repository state with all CI checks passing

When to use monitor

  • Automating PR build fixes
  • Monitoring long-running CI jobs
  • Reducing manual intervention for failed tests

About this skill

Monitor this PR and ensure it's 100% green. If any CI checks fail, analyze the failure, fix the issue, and push the fix. Repeat until all checks pass.

Steps:

  1. Get current PR status with gh pr checks
  2. If all green, done
  3. If any failing, get the failure logs
  4. Analyze and fix the issue
  5. Commit and push the fix
  6. Sleep 60s between status checks (CI can take a while)
  7. Repeat until 100% green

$ARGUMENTS

When not to use it

  • When CI failures are caused by infrastructure outages
  • When the repository requires manual approval for commits

Limitations

  • Requires the CI to provide readable failure logs
  • Limited to issues that can be resolved via code commits

How it compares

Unlike manual debugging, this agent automates the cycle of log analysis, code modification, and status verification until the build succeeds.

Compared to similar skills

monitor side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
monitor (this skill)26moNo flagsIntermediate
gh-fix-ci126moReviewIntermediate
fix-sync12moReviewIntermediate
gha16moNo flagsIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

Search skills

Search the agent skills registry