fix-failing-ci

fix-failing-ci is a skill for Claude Code, Codex from androoAGI/starnet. It costs 45 tokens per session (1,252 once invoked), scanned A, original, MIT.

A workflow for diagnosing failed CI, the automated checks that run on a code project. It reads the failure, reproduces it locally, fixes the underlying cause, and verifies the same check passes.

In plain words
What is it for?
Use it to inspect failed GitHub Actions runs, identify the first real error, reproduce the problem, change the code or configuration, and confirm the check passes.
Why use it?
It prevents a quick workaround from merely hiding a broken check. It ties the fix to the exact commit and requires evidence that the original failure is gone.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to inspect failed GitHub Actions runs, identify the first real error, reproduce the problem, change the code or configuration, and confirm the check passes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/androoagi/starnet/fix-failing-ci
About the project

StarNet is a local-first desktop harness for creating AI agents and arranging them in a pixel-art space station whose layout represents their capabilities, permissions, and workflow. It lets people run real model calls and tools through multiple bounded agents, using their own provider keys or accounts and optionally messaging the station through chat services. The catalogue entries are skills that extend or support work performed by StarNet agents.

androoAGI/starnet · 1,468 stars · on GitHub

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add androoAGI/starnet --skill fix-failing-ci
Clone the repo
git clone --depth 1 https://github.com/androoAGI/starnet

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for fix-failing-ci

README.md
[![agentmods](https://agentmods.dev/badge/skills/androoagi/starnet/fix-failing-ci/github.svg)](https://agentmods.dev/skills/androoagi/starnet/fix-failing-ci)
Your own site
<a href="https://agentmods.dev/skills/androoagi/starnet/fix-failing-ci"><img src="https://agentmods.dev/badge/skills/androoagi/starnet/fix-failing-ci/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for fix-failing-ci

Your own site · 80×15
<a href="https://agentmods.dev/skills/androoagi/starnet/fix-failing-ci"><img src="https://agentmods.dev/badge/skills/androoagi/starnet/fix-failing-ci.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,252 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00045 $0.01252
Opus 5.5 $0.00018 $0.00501
Sonnet 5.5 $0.00009 $0.00250
Haiku 4.5 $0.00005 $0.00125

Measured 12d ago against content hash 465e223befa3, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

fix-failing-ci scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills-catalog/skills/fix-failing-ci/SKILL.md · 40 lines

How it starts

The opening of the file, as written. The whole thing — 40 lines — stays where its author put it; the contents beside it link to each section on GitHub.

A red check is a claim that something is broken. Your job is to find out whether the claim is true and fix what is broken — not to make the mark turn green. The bar: you can quote the first real error, name its cause, and show the same command failing before your change and passing after.

Method

  1. Pick the road to GitHub. Run gh --version and gh auth status (shell.exec). Both succeed: use gh. Otherwise look for the connected GitHub account's tools (tool.search "github") and use the names it returns, never guessed ones. Neither: stop and tell the Commander to install and sign in to the GitHub CLI from its official site, or connect GitHub in ABILITIES.
  2. Find the failing run. gh pr checks <number> for a pull request, or gh run list --branch <branch> --status failure --limit 10. Note the run id, workflow, failing job and step, and the commit it ran on. Check that commit is what you have checked out (git rev-parse HEAD, git status); a fix proven on a different commit proves nothing. Uncommitted work that is not yours: stop and ask.
  3. Read the log for the FIRST real error. gh run view <run-id> --log-failed, redirected to a file in your workspace when it is long, then fs.search it. The last line is usually just "exit code 1". Walk up to the first failed assertion, compile error or stack trace; most of what follows is fallout. Quote it with its job and step.
  4. Read how CI runs it. fs.read the workflow file under .github/workflows/: the exact command, runtime versions, operating system, services, and the names of the variables it sets.
  5. Reproduce it here with the same command (shell.exec or verify.run; a call runs 30 seconds unless you raise timeoutMs, 10 minutes at most). Same error locally: that command is your loop. Passes locally: the difference is the finding — version, operating system, a variable that is set in CI and not here, test order, a clean checkout against your cached one. Name it.
  6. Sort flaky and infrastructure from real, with evidence. Infrastructure: the log shows a network timeout, a failed download or a lost runner before any project code ran. Flaky: the same commit both passed and failed (gh run list --commit <sha>), or repeated local runs disagree. No such evidence means it is real. A flake is still a bug — say what races. Re-running the job (gh run rerun <run-id> --failed) is outward-facing and waits for the go-ahead.
  7. Fix the root cause. One stated hypothesis, the smallest change that answers it (fs.edit / fs.patch). If the test itself is wrong — it asserts something the product never promised — show why before you touch it.
  8. Prove it here. The command from step 5 now passes; then run everything that workflow runs (tests, lint, type checks) so the fix did not break a neighbour.
  9. Hold, then push. Show the Commander the diff and the commit message. With the go-ahead (or if it was already given), commit only the files you changed and push.
  10. Watch the new run to green. gh run watch <run-id> --exit-status or gh pr checks <number> --watch; if your call times out first, check again with gh run view <run-id> until it finishes. A new error: back to step 3. The same error: your cause was wrong — say so.

Read the full file on GitHub · 40 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 40 lines · 45 tokens per session scan A 465e223befa3

Subscribe to this mod's changes

fix-failing-ci is a skill published in the GitHub repository androoAGI/starnet (1,468 stars, last pushed 3d ago), licensed MIT. It adds 45 tokens to every session and 1,252 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-04.