fix-train

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

A workflow for applying reviewer-requested changes across every open GitHub pull request in a list. A pull request is a proposed code change submitted for review; this workflow fixes requests but does not merge them.

In plain words
What is it for?
Use it with a GitHub pull-request list to process review comments and requested changes, commit and push fixes, and report what remains for human review.
Why use it?
Handling many pull requests one by one can leave review comments unresolved or make fixes inconsistent. This workflow gathers the requests, applies focused changes, runs checks, and updates each branch.

Skill for Claude Code

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

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

Good fit Use it with a GitHub pull-request list to process review comments and requested changes, commit and push fixes, and report what remains for human review.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/big-emotion/agent-atelier/fix-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-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-train

README.md
[![agentmods](https://agentmods.dev/badge/skills/big-emotion/agent-atelier/fix-train.svg)](https://agentmods.dev/skills/big-emotion/agent-atelier/fix-train)
Your own site
<a href="https://agentmods.dev/skills/big-emotion/agent-atelier/fix-train"><img src="https://agentmods.dev/badge/skills/big-emotion/agent-atelier/fix-train.svg" alt="Measured on agentmods" height="20"></a>
Per session 218 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,767 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.00218 $0.05767
Opus 5 $0.00109 $0.02884
Sonnet 5 $0.00044 $0.01153
Haiku 4.5 $0.00022 $0.00577

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

Security

Grade A, and why

fix-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 8d 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-train/SKILL.md · 210 lines

How it starts

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

Fix Train

Walk a whole list of open pull requests and apply the changes that reviewers asked for — one pass, every PR. Collect each PR's requested changes, consolidate them into a concrete per-PR checklist, dispatch a team of parallel fixer sub-agents that implement the minimal fix and run the repo's quality gates, push to each PR branch, and report what was addressed and what still needs a human.

This is the third member of the train family and fills the gap between its siblings:

  • review-trainreview only: posts reviews + approved / changes-requested labels. Writes nothing to code.
  • fix-trainfix only (this skill): consumes the change requests, applies them, pushes. Never merges.
  • merge-trainmerge: orders, fixes CI/conflicts, merges.

The natural pipeline is review-trainfix-train → re-review → merge-train. fix-train is built to consume review-train's output directly (it reads the <!-- review-train --> "Issues requiring changes" list and the changes-requested label), but it works just as well from plain GitHub reviews left by humans.

This skill performs irreversible shared-repo actions (committing, pushing to PR branches, commenting). 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.

When to Activate

  • User shares a GitHub pull-requests URL and asks to apply / address / fix the review feedback (not review, not merge).
  • User says: "fix all the change requests", "address the review comments on every PR", "apply the requested changes across the queue", "clear the changes-requested PRs", "make the fixes the reviewers asked for".
  • User invokes /fix-train (optionally with a GitHub PRs URL or --dry-run).

If the user asks to review the PRs, defer to review-train. If they ask to merge / order / fix CI & conflicts then merge, defer to merge-train. Do not blur the three.

Read the full file on GitHub · 210 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. 8d ago First seen · 210 lines · 218 tokens per session scan A 3b0f702a3991

Subscribe to this mod's changes

fix-train is a skill published in the GitHub repository big-emotion/agent-atelier (2 stars, last pushed today), licensed MIT. It adds 218 tokens to every session and 5,767 once invoked, about $0.0011 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

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

babysit

PR babysitter: monitors CI status, auto-rebases when behind, auto-fixes CI where possible, delegates review comment handling to dlc:pr-check, and re-requests review after fixes. Designed for /loop usage with Remote Control.

rube-de/cc-skills · 53 tokens

stage

Use when committing work from the current session to stage ONLY hunks the session touched, not the entire file. Prevents accidentally staging unrelated uncommitted changes from other work.

photostructure/coding-skills · 37 tokens

gitplan

Plan and execute coherent Conventional Commit groupings for tangled working tree changes — multiple intertwined logical edits that need to be split into separate, reviewable commits.

photostructure/coding-skills · 33 tokens

review-staged

Top-level, user-facing workflow to review the staged Git diff for verified bugs and then prepare a clean Conventional Commit. Use when the user directly asks to review staged changes or prepare their commit. Do not use for a delegated leaf review or finding-validation task.

photostructure/coding-skills · 55 tokens

open-pr

Use this skill to submit the commits on the current branch as one pull request against a GitHub repository. Push the branch, open the PR with an imperative title and a body that names what changed and why, and post a follow-up ping only when CODEOWNERS resolves to one person. One branch per run, one pull request per…

khrichtchatyi/ship-it · 79 tokens