pr-autofix

pr-autofix is a skill for Claude Code from rjmurillo/ai-agents. It costs 104 tokens per session (21,685 once invoked), scanned C, original, MIT.

An automated pull-request workflow that sorts open PRs, handles review comments and CI failures, and can enable auto-merge when its readiness conditions are met.

In plain words
What is it for?
Use it to triage PRs, fix failed checks, address review threads, monitor open PRs, and prepare eligible PRs for merging.
Why use it?
It reduces the manual work of monitoring pull requests and resolving routine problems before merging.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths; positional $N argument.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the project-toolkit plugin — 125 skills, 25 commands, 33 agents, 5 hooks shipped together

Good fit Use it to triage PRs, fix failed checks, address review threads, monitor open PRs, and prepare eligible PRs for merging.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add rjmurillo/ai-agents
Claude Code
/plugin install project-toolkit

Made for: Claude Code.

Or install project-toolkit, the plugin that ships this one along with the rest of its 125 skills, 25 commands, 33 agents, 5 hooks.

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 pr-autofix

README.md
[![agentmods](https://agentmods.dev/badge/skills/rjmurillo/ai-agents/pr-autofix/github.svg)](https://agentmods.dev/skills/rjmurillo/ai-agents/pr-autofix)
Your own site
<a href="https://agentmods.dev/skills/rjmurillo/ai-agents/pr-autofix"><img src="https://agentmods.dev/badge/skills/rjmurillo/ai-agents/pr-autofix/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 pr-autofix

Your own site · 80×15
<a href="https://agentmods.dev/skills/rjmurillo/ai-agents/pr-autofix"><img src="https://agentmods.dev/badge/skills/rjmurillo/ai-agents/pr-autofix.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 104 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 21,685 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. 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.00104 $0.21685
Opus 5.5 $0.00042 $0.08674
Sonnet 5.5 $0.00021 $0.04337
Haiku 4.5 $0.00010 $0.02168

Measured today against content hash eacbae376e51, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

pr-autofix scanned grade C with 1 finding 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 today.

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.

Hidden instructionshighPrompt injection

Directives inside HTML comments, invisible characters or bidirectional overrides are read by the model and not by the person reviewing the file.

<!-- # taste-lint: ignore file-size, this skill is one end-to-end PR workflow; splitting it would hide required mutation gates from the agent. -->
.claude/skills/pr-autofix/SKILL.md · 1,221 lines

How it starts

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

PR Autofix

Autonomous PR monitor and fixer. This file carries the whole protocol, including the Ready-to-Merge definition below. Two bundled dependencies are required beyond it, both from the github skill: Phase 0 runs its transport preflight, and MCP mode reads its routing reference. Everything else needed to run this skill is here.

Migrated from the pr-autofix command under ADR-064, which makes skills the single user-invocable surface. The command file is gone, so its path is named here in plain text rather than as a citation to something a reader could open.

Read the full file on GitHub · 1,221 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. today Changed · +40 lines eacbae376e51
  2. 3d ago Changed · +3 lines 3a7a570832bb
  3. 4d ago Changed · +25 lines 8becfb499817
  4. 5d ago Changed · +89 lines 026cba8e54c2
  5. 18d ago Changed · +9 lines 505ba73aa6d3
  6. 22d ago Changed · +6 lines 0c98450f97c8
  7. 24d ago Changed 4654b691d1a4
  8. 1mo ago Changed · -272 lines fbc95e8e299c
  9. 1mo ago Changed · +49 lines · +60 tokens per session 2f71496eab25
  10. 1mo ago First seen · 1,272 lines · 44 tokens per session scan C 72813ffc40bb

Subscribe to this mod's changes

pr-autofix is a skill published in the GitHub repository rjmurillo/ai-agents (48 stars, last pushed today), licensed MIT. It adds 104 tokens to every session and 21,685 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it C with 1 finding (hidden instructions). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-05.

Related

Other skills, from other repositories

review-remote

Review open PR/MR and publish findings.

juliusz-cwiakalski/agentic-delivery-os · 13 tokens

github-automation

GitHub workflow automation, PR management, issue tracking, and code review coordination. Integrates with GitHub Actions and repository management. Use when: PR creation, code review, issue management, release automation, workflow setup. Skip when: local-only changes, non-GitHub repositories.

ruvnet/ruflo · 61 tokens

turborepo-caching

Configure Turborepo for efficient monorepo builds with local and remote caching. Use when setting up Turborepo, optimizing build pipelines, or implementing distributed caching.

wshobson/agents · 42 tokens

review-this-branch

Run the nohuman review gate (fresh-session adversarial reviewer + tamper guard) over the current branch or a GitHub pull request, with no server, no database, and no onboarding, and relay the pass/fail checklist.

no-human-ai/no_human · 53 tokens

ci-cd-pipeline-authoring

Use when a repository needs CI/CD - author GitHub Actions workflows so TaskTrooper's pipeline auto-detects your validate/build/test jobs and stage/preprod/prod deploys, and so a dispatch delivery profile can dispatch the production deploy.

makifbaysal/tasktrooper · 56 tokens

ase-repo-review

Perform a holistic, human-reviewer-style critique of the currently staged Git changes (or, with --unstaged, of the unstaged and untracked changes, with --branch, of a branch against its base, or, with --commit, of a single commit) and emit an approve/reject verdict with prioritized, severity-tagged, line-cited…

rse/ase · 111 tokens