Install any skill in seconds. Free to start, no credit card required.
Get Started Free →This skill should be used when the user asks to "fix pipelines", "fix CI", "check staging pipelines", "fix failing workflows", "fix failing actions", or wants to find and fix failing GitHub Actions workflows on the staging branch of the babysitter repo.
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-07 | ✗→✓ | ▲ Improved | -17% | 0% |
| case-09 | ✗→✓ | ▲ Improved | 26% | 0% |
| case-17 | ✗→✓ | ▲ Improved | -7% | 0% |
| case-10 | ✓→✓ | = Same ✓ | 75% | 0% |
| case-01 | ✗→✗ | = Same ✗ | -8% | 0% |
Check GitHub Actions workflows on the staging branch of https://github.com/a5c-ai/babysitter/actions, identify workflows whose most recent run is failing, and dispatch /babysitter:yolo to fix each one.
Use the gh CLI to list recent workflow runs on the staging branch:
bashgh run list --repo a5c-ai/babysitter --branch staging --limit 50 --json databaseId,workflowName,status,conclusion,createdAt,headBranch
Group the results by workflowName. For each workflow, keep only the most recent run (by createdAt). Discard workflows where the most recent run is still in_progress -- we only care about completed runs.
From the grouped results, select only workflows where the most recent completed run has conclusion: "failure". Skip workflows whose latest run succeeded, was cancelled, or is still running.
If no workflows have a failing most-recent run, report that all staging pipelines are green and stop.
For each failing workflow run, fetch the failed job and step details:
bashgh run view <run_id> --repo a5c-ai/babysitter --json jobs --jq '.jobs[] | select(.conclusion == "failure") | {name, conclusion, steps: [.steps[] | select(.conclusion == "failure") | .name]}'
Then fetch the logs to understand the actual error:
bashgh run view <run_id> --repo a5c-ai/babysitter --log-failed 2>&1 | tail -100
Display the list of failing workflows to the user with:
For each failing workflow, invoke the babysitter:yolo skill with a prompt that includes the failure context:
/babysitter:yolo fix the failing "<workflow_name>" pipeline on staging. The most recent run (<run_id>) failed in job "<job_name>" at step "<step_name>". Error details: <brief_error_summary>. Investigate the failure, fix the root cause, and push a fix to the staging branch. Do not create a new branch -- commit directly to staging.If multiple workflows are failing, process them sequentially -- complete one before starting the next. Present a summary after each fix attempt.
After pushing a fix for each workflow, wait briefly then check if a new run was triggered:
bashgh run list --repo a5c-ai/babysitter --branch staging --workflow "<workflow_file>" --limit 1 --json databaseId,status,conclusion
Report whether a new run was triggered and its current status. Do not wait for it to complete -- just confirm it was triggered.
After all failing workflows have been addressed, provide a summary:
in_progress are skipped entirely -- they haven't concluded yet.gh CLI must be authenticated. If authentication fails, prompt the user to run gh auth login./babysitter:yolo which handles the actual implementation work non-interactively.staging -- no feature branches or PRs for pipeline fixes.Other measured skills in the registry, with their headline benchmark lift.