Agent skill

Fix CI

by ccusage in ccusage/ccusage

Diagnoses and fixes failing GitHub Actions checks with gh. An agent skill from ccusage/ccusage.

Custom licenceAuto-check passedDevelopment

Install Fix CI

skills CLI
$ npx skills add ccusage/ccusage --skill fix-ci -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install ccusage/ccusage fix-ci --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/ccusage/ccusage.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/fix-ci .claude/skills/fix-ci && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
fix-ci
GitHub stars
19k
Token cost
~487 tokens
SKILL.md length
198 words
Files
1
Skills in repo
17
Repo updated
First seen
Licence
Custom licence

At a glance

Diagnoses and fixes failing GitHub Actions checks with gh. An agent skill from ccusage/ccusage.

  • Works in 5 steps: Read the check state with gh pr checks,… → Reproduce locally. CI runs almost… → Fix the smallest cause that explains the… → …
  • CI fails on a pull request and needs logs
  • Calls just, gh and nix
  • Tasks that involve Failing and flaky tests

What it does

Fix CI is an agent skill from ccusage/ccusage. Diagnoses and fixes failing GitHub Actions checks with gh. Use when CI fails on a pull request and needs logs, focused fixes, and validation.

Its SKILL.md is about 490 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Failing and flaky tests, Pull requests and CI/CD. It works with GitHub Actions.

When your agent uses it

  • CI fails on a pull request and needs logs
  • Tasks that involve Failing and flaky tests
  • Tasks that involve Pull requests

Example prompts

  • “Use the fix-ci skill to diagnose and fixes failing GitHub Actions checks with gh. An agent skill from ccusage/ccusage”
  • “/fix-ci”

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Read the check state with gh pr checks, then pull the failing job logs with
  2. Reproduce locally. CI runs almost everything through Nix, so the failing step maps onto a
  3. Fix the smallest cause that explains the failed check, using the skill for the area being
  4. Commit with the commit skill; a manifest change and its lockfile update belong in the
  5. Push, then use create-pr to comment or request another review pass when appropriate.

What it can do on your machine

Read from SKILL.md and the folder at commit d2fd844. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • just
    • gh
    • nix
    • cargo

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use gh, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Fix CI loads about 487 tokens when it runs. Until then it costs about 37 tokens; SKILL.md has 198 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~37
When it runs · the whole SKILL.md, loaded when a task matches
~487

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 198 words (~487 tokens).

“gh run view --log-failed. Logs fetched through gh are reproducible; browser-only inspection is not. Pending checks can usually wait unless the failure is already clear.”

— opening of SKILL.md by ccusage, Custom licence
name
fix-ci

Read the full SKILL.md on GitHub

Files

Just SKILL.md in .agents/skills/fix-ci of ccusage/ccusage.

Open the folder on GitHubat commit d2fd844

Compare with similar skills

Fix CI next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Fix CI compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Fix CI this skillccusage/ccusage19k—~487Automated safety check: PassCustom licence
Diagnosing CI And Merge BottlenecksPostHog/posthog-foss721—~3.7kAutomated safety check: PassMIT
PR Babysitteropeninterpreter/openinterpreter69k3 repos~4.2kAutomated safety check: PassApache-2.0
ONNX Runtime CI Managementmicrosoft/onnxruntime22k—~4.1kAutomated safety check: PassMIT
CI Fixwarpdotdev/oz-skills825—~790Automated safety check: PassMIT
Babysit PR To Pass CIsgl-project/sglang37k2 repos~3kAutomated safety check: PassApache-2.0

Similar skills

  • Official

    Diagnoses CI and pull-request pipeline health for a GitHub repo using the engineering analytics MCP tools — pull-requests (PR list with CI status), workflow-health (per-workflow CI trends), and…

    721 GitHub stars~3.7k tokensUpdated today
    DevelopmentAuto-check passed
  • PR Babysitter

    openinterpreter/openinterpreter

    Watches an open GitHub pull request until it merges, handling review comments, diagnosing CI failures and retrying flaky checks along the way.

    69k GitHub starsUsed in 3 repos~4.2k tokens
    DevelopmentAuto-check passed
  • ONNX Runtime CI Management

    microsoft/onnxruntime

    Official

    Triggers, re-runs and unblocks the CI checks on an ONNX Runtime pull request, after diagnosing whether a failure is transient or needs a code change.

    22k GitHub stars~4.1k tokensUpdated today
    DevOps & CloudAuto-check passed
  • CI Fix

    warpdotdev/oz-skills

    Diagnose and fix GitHub Actions CI failures. An agent skill from warpdotdev/oz-skills.

    825 GitHub stars~790 tokensUpdated 1 mo ago
    DevelopmentAuto-check passed
  • Babysit PR To Pass CI

    sgl-project/sglang

    Start and persistently pursue a goal to babysit an SGLang pull request until selected GitHub Actions workflows pass on the latest PR head.

    37k GitHub starsUsed in 2 repos~3k tokens
    DevelopmentAuto-check passed
  • Renovate Actions PR Review

    backnotprop/plannotator

    Reviews Renovate pull requests that bump GitHub Actions by checking pinned SHAs against upstream tags, scanning changelogs and confirming workflows stay compatible.

    9.2k GitHub stars~640 tokensUpdated yesterday
    DevelopmentAuto-check passed

More from ccusage/ccusage

All 17 skills in this repo
  • Nushell

    ccusage/ccusage

    Guides ccusage Nushell scripts. An agent skill from ccusage/ccusage.

    19k GitHub stars~938 tokensUpdated today
    Auto-check passed
  • Rust Binary Size

    ccusage/ccusage

    Guides Rust binary size reduction for ccusage. An agent skill from ccusage/ccusage.

    19k GitHub stars~591 tokensUpdated today
    Auto-check passed
  • Skill Creator

    ccusage/ccusage

    Guides repo-local skill creation and updates. An agent skill from ccusage/ccusage.

    19k GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • TDD

    ccusage/ccusage

    Guides t-wada Red-Green-Refactor TDD for ccusage logic changes.

    19k GitHub stars~665 tokensUpdated today
    Auto-check passed
  • Commit

    ccusage/ccusage

    Creates atomic Conventional Commits. An agent skill from ccusage/ccusage.

    19k GitHub stars~722 tokensUpdated today
    Auto-check passed
  • Create PR

    ccusage/ccusage

    Runs the full PR lifecycle. An agent skill from ccusage/ccusage.

    19k GitHub stars~646 tokensUpdated today
    Auto-check passed

Works with

Questions about Fix CI

What does Fix CI do?

Diagnoses and fixes failing GitHub Actions checks with gh. An agent skill from ccusage/ccusage. Fix CI is an agent skill from ccusage/ccusage. Diagnoses and fixes failing GitHub Actions checks with gh.

When should I use Fix CI?

Fix CI fits situations like: CI fails on a pull request and needs logs; tasks that involve Failing and flaky tests; tasks that involve Pull requests.

How do I install Fix CI in Claude Code?

Run `npx skills add ccusage/ccusage --skill fix-ci -a claude-code`. Or copy the skill folder (.agents/skills/fix-ci in ccusage/ccusage) into .claude/skills/fix-ci in your project. Claude Code loads it when a task matches its description.

How do I install Fix CI in Codex?

Run `npx skills add ccusage/ccusage --skill fix-ci -a codex`. Or copy the skill folder (.agents/skills/fix-ci in ccusage/ccusage) into .agents/skills/fix-ci in your project. Codex loads it when a task matches its description.

Can I use Fix CI in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ccusage/ccusage --skill fix-ci -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/fix-ci, .gemini/skills/fix-ci, .github/skills/fix-ci and .opencode/skills/fix-ci in your project.

What does Fix CI need to run?

Going by SKILL.md and its folder, Fix CI needs the command-line tools its instructions call (just, gh, nix and cargo).

Does Fix CI access the network?

SKILL.md contains no URLs. Its commands use gh, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Fix CI safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Fix CI use?

Fix CI has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Fix CI use?

About 487 tokens (SKILL.md is roughly 1.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Fix CI?

Skills that share tags, products or a category with Fix CI: Diagnosing CI And Merge Bottlenecks (PostHog/posthog-foss, 721 stars), PR Babysitter (openinterpreter/openinterpreter, 69k stars), ONNX Runtime CI Management (microsoft/onnxruntime, 22k stars) and CI Fix (warpdotdev/oz-skills, 825 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Fix CI?

ccusage (a GitHub organization) maintains it in ccusage/ccusage, which has 18,901 GitHub stars. The repository holds 17 skills in this directory. The repository was last updated on October 7, 2026.

Source: ccusage/ccusage on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.