fleet-greening-ci

Watch GitHub Actions CI runs and push fixes until green.

125|42|Updated May 19, 2025
One-click install
npx skills add https://github.com/SocketDev/socket-mcp --skill fleet-greening-ci
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: fleet-greening-ci
Source: https://github.com/SocketDev/socket-mcp/tree/main/.agents/skills/fleet-greening-ci
Command: npx skills add https://github.com/SocketDev/socket-mcp --skill fleet-greening-ci

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Drive a target repo's CI back to green. Watches GitHub Actions, surfaces the first failure log, fixes it locally, commits + pushes, and re-watches until the run lands green (or a wall-clock budget expires). Three modes: fast (ci.yml), release (build-server matrices, fail-fast 30s polls then cool down on first success), cool (just confirm the rest of a matrix). Use when main goes red, when a build-server dispatch is failing, or when babysitting a freshly-pushed fix to verify it lands green.

Core Features & Use Cases

  • Watch CI runs and surface failures the moment they land
  • Fix and push loop: apply fixes locally, commit, and push to re-dispatch
  • Modes: fast, release, and cool for different failure scenarios and budgets

Quick Start

Invoke the greening-ci skill with a target repo to start monitoring the CI and auto-fix until green.

Frequently Asked Questions about fleet-greening-ci

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate fixing failing GitHub Actions CI runs?▼

To automate fixing failing GitHub Actions CI runs, this skill watches the repository's workflow logs, applies local code fixes, commits, and pushes until the run succeeds. It uses budgeted polling and log-tail analysis to detect failures and trigger the fix-and-push loop automatically.

What is a fix-and-push loop for keeping CI green?▼

A fix-and-push loop for keeping CI green is an automated process that monitors GitHub Actions runs, surfaces the first failure log, applies a local code fix, and pushes the commit to re-dispatch the workflow. It repeats this cycle until the CI run lands green or a wall-clock budget expires.

Can I use this to monitor matrix builds in GitHub Actions?▼

Yes, you can use this to monitor matrix builds in GitHub Actions. The skill supports single jobs and matrix builds across modes like release for build-server matrices with fail-fast polling, and cool for confirming the rest of a matrix after a freshly-pushed fix.

Do I need git checkout and Node.js runtime to run automated CI fixes?▼

Yes, you need a working git checkout of the target repo and a Node.js runtime to run automated CI fixes. You also need appropriate permissions to read CI logs, edit code, commit, and push changes back to the repository.

What's the best way to handle a red main branch in GitHub Actions?▼

The best way to handle a red main branch in GitHub Actions is using the fast mode, which targets the ci.yml workflow to automatically apply fixes locally, commit, and push until the run succeeds. This mode is specifically designed for quickly responding to red main branches.

What happens when the wall-clock budget expires during CI monitoring?▼

When the wall-clock budget expires during CI monitoring, the automated fix-and-push loop stops attempting further fixes. The skill uses budgeted polling to ensure it only attempts to drive the GitHub Actions run back to green within a predefined time limit.