fix-ci-train

fix-ci-train is a skill for Claude Code from big-emotion/agent-atelier. It costs 234 tokens per session (7,482 once invoked), scanned A, original, MIT.

A process for fixing failed required checks on every open GitHub pull request. Continuous integration (CI) checks automatically test code changes before they can be accepted.

In plain words
What is it for?
Use it to repair CI failures across many open pull requests, rerun quality checks, push fixes, and report which checks passed or still need human attention.
Why use it?
It groups the failing checks and logs for each pull request, applies targeted fixes, and follows the checks until they pass without reviewing or merging the code.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions CLAUDE.md; mentions subagents.

Part of the pr-trains plugin — 5 skills shipped together

Good fit Use it to repair CI failures across many open pull requests, rerun quality checks, push fixes, and report which checks passed or still need human attention.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/big-emotion/agent-atelier/fix-ci-train
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 big-emotion/agent-atelier --skill fix-ci-train
Clone the repo
git clone --depth 1 https://github.com/big-emotion/agent-atelier

Made for: Claude Code.

Or install pr-trains, the plugin that ships this one along with the rest of its 5 skills.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/big-emotion/agent-atelier/fix-ci-train/github.svg)](https://agentmods.dev/skills/big-emotion/agent-atelier/fix-ci-train)
Your own site
<a href="https://agentmods.dev/skills/big-emotion/agent-atelier/fix-ci-train"><img src="https://agentmods.dev/badge/skills/big-emotion/agent-atelier/fix-ci-train/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-ci-train

Your own site · 80×15
<a href="https://agentmods.dev/skills/big-emotion/agent-atelier/fix-ci-train"><img src="https://agentmods.dev/badge/skills/big-emotion/agent-atelier/fix-ci-train.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 234 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 7,482 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.00234 $0.07482
Opus 5 $0.00117 $0.03741
Sonnet 5 $0.00047 $0.01496
Haiku 4.5 $0.00023 $0.00748

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

Security

Grade A, and why

fix-ci-train 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 10d 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.

plugins/pr-trains/skills/fix-ci-train/SKILL.md · 254 lines

How it starts

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

Fix-CI Train

Walk a whole list of open pull requests and make their CI green — one pass, every PR. Read each PR's failing required checks, fetch the failing logs, consolidate a concrete per-PR CI-fix checklist, dispatch a team of parallel fixer sub-agents that apply the minimal fix and re-run the repo's quality gates, push to each PR branch, poll CI until every required check is SUCCESS, and report what's green, what broke out, and what still needs a human.

This is the fourth member of the train family and exists to unblock the CI gate that the rest of the family depends on:

  • fix-ci-trainCI fix only (this skill): consumes failing required checks, applies minimal fixes, pushes, iterates until green. Never reads reviewer feedback. Never merges.
  • review-trainreview only: posts reviews + approved / changes-requested labels. Writes nothing to code.
  • fix-trainfix only: consumes review change-requests, applies them, pushes. Never merges.
  • merge-trainmerge: orders, fixes CI/conflicts, merges.

The reason this skill exists separately from fix-train and merge-train: many review automations (including review-train when gated by a workflow) refuse to run until CI is green. Without a CI-only fixer, the pipeline deadlocks — review-train won't post, so fix-train has no review feedback to consume, so the queue stalls. fix-ci-train is the unlock step:

fix-ci-train  →  review-train  →  fix-train  →  re-review  →  merge-train
   (green CI)     (reviews)        (apply)      (approve)     (merge)

This skill performs irreversible shared-repo actions (committing, pushing to PR branches, commenting, optionally label edits). It follows the same grouped-confirmation model as its siblings: all collection and planning is read-only, one complete plan is presented, and it waits for a single explicit confirmation before any commit, push, or comment. Until the user confirms, nothing is written anywhere.

Read the full file on GitHub · 254 lines

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. 10d ago First seen · 254 lines · 234 tokens per session scan A 3ab6234312c1

Subscribe to this mod's changes

fix-ci-train is a skill published in the GitHub repository big-emotion/agent-atelier (2 stars, last pushed 2d ago), licensed MIT. It adds 234 tokens to every session and 7,482 once invoked, about $0.0012 per session on Opus 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-08-31.

Related

Other skills, from other repositories

pr-watch

Local PR watcher. Monitors CI status, automatically fixes failing checks by reading failure logs and applying targeted fixes, then optionally merges when all checks pass. Local CLI analog to Claude Code's cloud auto-fix feature.

SethGammon/Citadel · 46 tokens

push-ci

Push to remote and monitor CI. Validates branch safety, executes git push WITH explicit user approval, then monitors CI run status via gh CLI. Use when: user says 'push', 'push and watch CI', 'ship it', 'push-ci'. Not for: committing (use /smart-commit), creating PRs (use /create-pr), merging (use /merge-prep).

sd0xdev/sd0x-harness · 82 tokens

cloudflare-workers-ci-cd

Complete CI/CD guide for Cloudflare Workers using GitHub Actions and GitLab CI. Use for automated testing, deployment pipelines, preview environments, secrets management, or encountering deployment failures, workflow errors, environment configuration issues.

secondsky/claude-skills · 50 tokens

ops-ship

OPS on-demand: This skill should be used when the user asks to "ship ops plugin", "merge all PRs and…

Lifecycle-Innovations-Limited/claude-ops · 30 tokens

pipeline-digest

Daily release-pipeline digest with a change gate — reports which plugins are pending release, whether main's CI is green, and which branches went stale, and notifies the operator only when that state actually moved since the last run. Use when the operator asks "what moved in the pipeline", "anything to ship"…

gtapps/claude-code-hermit · 99 tokens

github-pr-creation

Creates GitHub Pull Requests with automated validation and task tracking. Use when user wants to create PR, open pull request, submit for review, or check if ready for PR. Analyzes commits, validates task completion, generates Conventional Commits title and description, suggests labels. NOTE - for merging existing…

fvadicamo/dev-agent-skills · 75 tokens