Skip to content
Markdown

Open source

Joggernaut

The ultimate collection of skills to improve CI speed, reliability and cost. Joggernaut takes what's worked for world-class, AI-first teams and packages it so your agent can apply it to your codebase.

We read 554 public posts about slow CI and about 85 write-ups and pull requests, and kept the teams' results that show numbers before and after. Joggernaut turns those fixes into skills for Claude Code, Codex and other agents. Your agent checks which ones apply to your own GitHub Actions runs, makes the one you pick, and measures it. Every test must keep running.

Joggernaut is free and MIT-licensed: https://github.com/usejog/joggernaut (new tab)

Built on what these teams published

Each line links the team's own write-up. We didn't reproduce the numbers, and no team endorses Joggernaut or Jog.

Where no team's result covers a step, the skill rests on GitHub's docs or on first-principles reasoning you can check, labelled as reasoning, or it measures the step on your runs. Each skill grades the results it cites from A to D in its references/evidence.md. A cause is ranked by what your own runs show, never by how often it turned up elsewhere. We haven't measured the skills on anyone's CI yet.

Install

Joggernaut installs into Claude Code, Codex, Gemini CLI, Cursor, OpenCode, GitHub Copilot CLI, Amp and goose.

In Claude Code:

Text
/plugin marketplace add usejog/joggernaut
/plugin install jog@joggernaut
/reload-plugins
/jog:ci-diagnose

In Codex, with Node 22.20 or later, install with this line, then run $ci-diagnose:

Shell
npx skills add usejog/joggernaut -g -y -a codex

npx skills sends its own install telemetry; put DISABLE_TELEMETRY=1 before the command to turn it off. For the other agents, the repository's install section gives each one's command: https://github.com/usejog/joggernaut#install (new tab)

You need a repository on GitHub Actions, Python 3.9 or later, and the GitHub CLI logged in (gh auth login).

What it prints

Ask your agent to "diagnose my CI". It reads your recent GitHub Actions runs, splits the wait into waiting for a machine, setup and running, and ranks the causes by the wait each one costs on your own runs. An example, for a made-up repository with made-up numbers:

Text
Joggernaut · made-up example: acme/web · 150 PR runs over 3.75 days   read-only
PR wait, runs that ran the test job (124 runs, 98% of the wait):
  median 14m 10s, slowest 5% 31m 02s, about 40 pushes a day
  other runs: lint only (docs changes), 13 runs, median 2m 05s
  blended over all 137 successful runs: median 13m 45s (a mix, not a wait)
On the slowest path of the test-job runs (build -> test):
  waiting for a machine   0m 40s
  setup                   7m 25s   <- biggest: 52%
  running                 6m 05s
Runner-minutes in failed, timed-out or cancelled runs 38%, catch-up 12%

On the slowest path, observed in these runs         a run          a day
> 1  pnpm cache never saved on main: cold PRs   -4m 50s on 90 runs  -1h 56m  ci-cache
       install 5m 20s on 90 cold runs, 0m 30s on 34 warm; same job, same runner
On the slowest path, ceilings (not observed)
  2  tests use 2 of 4 cores                     up to -2m 05s   up to -1h 09m  ci-slow-tests
       with ideal scaling, twice the workers halves the 4m 10s test step
Off the slowest path (runner-minutes, not wait)
  3  old PR runs keep going after a new push    up to 9 min on each of 54 runs        ci-workflow
       observed work after the newer push started; a ceiling on what cancelling saves
  4  seven lint jobs each pay 1m 00s of setup   up to 6 min of setup a run, ceiling   ci-workflow
       billed minutes can save more, since each job rounds up
Reliability
  5  checkout.test.ts fails, then passes on rerun   5 of 150 runs, observed      ci-flaky-tests
       each: 32 min to green, about +18 min against a typical run (an estimate);
       +12 runner-minutes re-run; about 24 min of wait a day
For a person: bigger runners (cost money), a merge queue

Each saving is either observed (runs of the same job with the cause against runs without it, in your own history) or a ceiling (the most the fix could save, marked "up to"). Neither is yet a measured result of the fix: ci-measure measures that after it merges.

The skills

SkillUse it when
ci-diagnose"Why is CI slow?" Start here; read-only
ci-measureBefore a fix, and "did that help?"
ci-cacheDependencies reinstall on every PR; a cache never hits
ci-workflowShort jobs each repeat setup; old runs keep going after a push
ci-slow-testsThe test step is most of the wait
ci-flaky-testsA test passes on rerun
ci-guardAgents push again and again to find lint errors, or keep updating branches

What it changes

Diagnosis reads your runs through your own gh login, with GET calls only, triggers no runs, and saves what it finds in .joggernaut/. It changes no tracked file until you say yes. Say yes to a fix and the matching skill opens one pull request per change, which runs your CI as usual.

A day or so after the merge, once at least 5 runs have passed and every run started in that time has finished, ask your agent to measure the fix. ci-measure compares those runs with the runs from before, says how many runs its verdict rests on, and says when a small change needs more runs to show. It also checks by name, from the JUnit reports CI saves, that every test still ran. Where CI saves no report it can only count tests, and says the check is unverified.

Joggernaut never makes CI faster by hiding failures: no retries, longer timeouts, skipped tests or quarantines, and no fewer tests before a merge. Anything that costs money, such as bigger runners, goes on a list for you to decide. The skills send no telemetry.

Joggernaut and Jog

Joggernaut doesn't need Jog, and changing runners is your call. Jog runs GitHub Actions jobs for private and public repositories. For Linux x64 in a private repository, its price a minute is below GitHub's list price at every size, before GitHub's included minutes; GitHub's standard runners are free in a public one. Once an owner has set Jog up, a job moves by changing its runs-on line, as long as Jog runs what it needs; the Runners page lists what it doesn't.

  • Overview
  • Set up with a coding agent
  • Migrating from Blacksmith
  • Runners
  • Pricing
  • Job codes
  • Advice API
  • Joggernaut