fix-ci

fix-ci is a skill for Claude Code from CliMA/SurfaceFluxes.jl. It costs 84 tokens per session (4,852 once invoked), scanned A, a copy of fix-ci, Apache-2.0.

A step-by-step workflow for fixing failed continuous-integration checks and performance slowdowns in Julia package pull requests. Continuous integration automatically builds and tests code on services such as GitHub Actions or Buildkite.

In plain words
What is it for?
Use it to inspect failed CI jobs, compare job times with the main branch, test CPU or GPU compilation, benchmark performance-sensitive changes, commit fixes, and push updates.
Why use it?
It keeps debugging focused on one root cause at a time and requires local verification, performance comparisons when relevant, and repeated checks until the build passes.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it to inspect failed CI jobs, compare job times with the…

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/clima/surfacefluxes.jl/fix-ci
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 CliMA/SurfaceFluxes.jl --skill fix-ci
Clone the repo
git clone --depth 1 https://github.com/CliMA/SurfaceFluxes.jl

Made for: Claude Code.

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-ci

README.md
[![agentmods](https://agentmods.dev/badge/skills/clima/surfacefluxes.jl/fix-ci.svg)](https://agentmods.dev/skills/clima/surfacefluxes.jl/fix-ci)
Your own site
<a href="https://agentmods.dev/skills/clima/surfacefluxes.jl/fix-ci"><img src="https://agentmods.dev/badge/skills/clima/surfacefluxes.jl/fix-ci.svg" alt="Measured on agentmods" height="20"></a>
Per session 84 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,852 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 100% copy Near-identical to another mod 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.00084 $0.04852
Opus 5 $0.00042 $0.02426
Sonnet 5 $0.00017 $0.00970
Haiku 4.5 $0.00008 $0.00485

Measured 7d ago against content hash af7d9fb95438, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

fix-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 7d 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.

Origin

This is a copy

100% identical to fix-ci — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

docs/dev-guides/.claude/skills/fix-ci/SKILL.md · 356 lines

How it starts

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

Fix CI

The loop:

  1. At session start: set up CI access (Section 1), verify the local tools (Section 4), and create or re-read the measurement ledger (Section 7).
  2. Triage every failed job of the latest build — Buildkite hard_failed steps and failed GitHub Actions checks (Section 2). After the FIRST complete build of the PR, also run the job-time comparison against main (Section 5.2) — do not wait until correctness work is done.
  3. Fix ONE root cause (Sections 3, 6, 8, 9).
  4. Verify the fix locally (Section 4).
  5. If the change is performance-relevant — it touches hot loops, kernels, broadcasting or indexing machinery, type parameters of core structs, or compiler annotations — benchmark against main (Section 5).
  6. Format, commit, push (Section 2).
  7. Repeat until CI is green or you reach a decision only the repository owner can make (Section 3).

1. Set up access to CI results before anything else

  • GitHub Actions: raw job logs require authentication. Check gh auth status; if gh is missing or logged out, STOP and ask the user to install and authenticate it (gh auth login). Then:
    • Statuses: gh api repos/<org>/<repo>/commits/<sha>/check-runs
    • Logs: gh api repos/<org>/<repo>/actions/jobs/<job id>/logs (the check-run id is the job id)
  • Buildkite (CliMA's GPU/MPI CI): public, no auth needed. All endpoints return JSON with the header Accept: application/json:
    • Build state: https://buildkite.com/<org>/<pipeline>/builds/<N>.json
    • Steps with outcomes and job ids: https://buildkite.com/<org>/<pipeline>/builds/<N>/data/steps?exclude_group_steps=true (each step has label, outcomepassed/hard_failed/soft_failedstatistics.latest_job_id, and latest_job_started_at/finished_at timestamps for wall-time comparisons)
    • Job log: https://buildkite.com/organizations/<org>/pipelines/<pipeline>/builds/<N>/jobs/<job id>/log (read the output field, strip HTML tags, unescape entities)
    • Job artifacts (e.g. flame graphs): GET https://buildkite.com/organizations/<org>/pipelines/<pipeline>/builds/<N>/jobs/<job id>/artifacts, then GET each artifact's url.
  • Map a commit to all of its builds (including extra pipelines like an end-to-end performance pipeline) via gh api repos/<org>/<repo>/commits/<sha>/status — each status carries a target_url. To find a branch's latest build, resolve its head sha first (gh api repos/<org>/<repo>/commits/<branch> --jq .sha).

Read the full file on GitHub · 356 lines

Files

What ships with it

4 files 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. 7d ago First seen · 356 lines · 84 tokens per session scan A af7d9fb95438

Subscribe to this mod's changes

fix-ci is a skill published in the GitHub repository CliMA/SurfaceFluxes.jl (21 stars, last pushed 5d ago), licensed Apache-2.0. It adds 84 tokens to every session and 4,852 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to fix-ci, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

fix-ci

Fix CI failures and performance regressions for a Julia package PR by iterating - triage the latest CI results, fix one root cause, verify locally, push. Use when a PR's GitHub Actions or Buildkite CI is failing, or when CI jobs run slower than they do on the main branch. Verifies CPU and GPU compilation locally…

CliMA/ClimaCore.jl · 84 tokens

fix-ci

Fix CI failures and performance regressions for a Julia package PR by iterating - triage the latest CI results, fix one root cause, verify locally, push. Use when a PR's GitHub Actions or Buildkite CI is failing, or when CI jobs run slower than they do on the main branch. Verifies CPU and GPU compilation locally…

CliMA/ClimaAtmos.jl · 84 tokens

fix-ci

Fix CI failures and performance regressions for a Julia package PR by iterating - triage the latest CI results, fix one root cause, verify locally, push. Use when a PR's GitHub Actions or Buildkite CI is failing, or when CI jobs run slower than they do on the main branch. Verifies CPU and GPU compilation locally…

CliMA/Thermodynamics.jl · 84 tokens

fix-ci

Fix CI failures and performance regressions for a Julia package PR by iterating - triage the latest CI results, fix one root cause, verify locally, push. Use when a PR's GitHub Actions or Buildkite CI is failing, or when CI jobs run slower than they do on the main branch. Verifies CPU and GPU compilation locally…

CliMA/CloudMicrophysics.jl · 84 tokens

Verification & Quality Assurance

Comprehensive truth scoring, code quality verification, and automatic rollback system with 0.95 accuracy threshold for ensuring high-quality agent outputs and codebase reliability.

ruvnet/RuView · 36 tokens

smoke-test

Health smoke tests + auto-fix for gbrain installs (and OpenClaw services when present). Run after machine/container restarts or whenever something seems broken. Tests critical services, auto-fixes bounded local issues, and reports worker topology without starting daemons. Extensible via user-defined test scripts in…

garrytan/gbrain · 79 tokens