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.5 $0.00094 $0.02993
Sonnet 5.5 $0.00047 $0.01496
Haiku 4.5 $0.00023 $0.00748

Measured 3mo ago against content hash 3ab6234312c1, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 3mo 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-train — CI fix only (this skill): consumes failing required checks, applies minimal fixes, pushes, iterates until green. Never reads reviewer feedback. Never merges.
  • review-train — review only: posts reviews + approved / changes-requested labels. Writes nothing to code.
  • fix-train — fix only: consumes review change-requests, applies them, pushes. Never merges.
  • merge-train — merge: 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. 3mo 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 (3 stars, last pushed 9d ago), licensed MIT. It adds 234 tokens to every session and 7,482 once invoked, about $0.0009 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-08-31.

Related

fix-ci-train compared with skills from other repositories

fix-ci-train next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
fix-ci-trainbig-emotion/agent-atelierSkill39d agoMITA234Claude Code
pr-watchSethGammon/CitadelSkill943todayMITA46Claude Code
ops-shipLifecycle-Innovations-Limited/claude-opsSkill565todayMITA30Claude Code
cloudflare-workers-ci-cdsecondsky/claude-skillsSkill2574d agoMITA50Claude Code
pipeline-digestgtapps/hermitdSkill88todayMITA111Claude Code, Codex
renovatenitinjain999/platform-skillsSkill754d agoApache-2.0A42Claude Code
npm-publishstrzhao/autopilotSkill3412d agoMITA114Claude Code