auto-mr

auto-mr is a skill for Claude Code from sgaunet/claude-plugins. It costs 39 tokens per session (926 once invoked), scanned A, original, MIT.

A command-line workflow for pushing a branch, opening a pull request or merge request, waiting for automated checks, merging it, and cleaning up the branch.

In plain words
What is it for?
It is for creating and merging code-review requests, applying labels, waiting for CI—the project’s automated tests and checks—and optionally controlling squash merging.
Why use it?
It joins the repeated steps of delivering a change into one guided process and routes the work to GitHub, GitLab, or Forgejo.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: names the AskUserQuestion tool.

Part of the software-engineering plugin — 18 skills, 7 agents shipped together

Good fit It is for creating and merging code-review requests, applying labels, waiting for CI—the project’s automated tests and checks—and optionally controlling squash merging.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sgaunet/claude-plugins/auto-mr
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 sgaunet/claude-plugins --skill auto-mr
Clone the repo
git clone --depth 1 https://github.com/sgaunet/claude-plugins

Made for: Claude Code.

Or install software-engineering, the plugin that ships this one along with the rest of its 18 skills, 7 agents.

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 auto-mr

README.md
[![agentmods](https://agentmods.dev/badge/skills/sgaunet/claude-plugins/auto-mr/github.svg)](https://agentmods.dev/skills/sgaunet/claude-plugins/auto-mr)
Your own site
<a href="https://agentmods.dev/skills/sgaunet/claude-plugins/auto-mr"><img src="https://agentmods.dev/badge/skills/sgaunet/claude-plugins/auto-mr/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 auto-mr

Your own site · 80×15
<a href="https://agentmods.dev/skills/sgaunet/claude-plugins/auto-mr"><img src="https://agentmods.dev/badge/skills/sgaunet/claude-plugins/auto-mr.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 926 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00039 $0.00926
Opus 5.5 $0.00016 $0.00370
Sonnet 5.5 $0.00008 $0.00185
Haiku 4.5 $0.00004 $0.00093

Measured 3mo ago against content hash 2dc7d8a4a016, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

auto-mr 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/software-engineering/skills/auto-mr/SKILL.md · 103 lines

How it starts

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

auto-mr Skill

Push the current branch, create a MR/PR on GitHub, GitLab, or Forgejo, wait for the CI pipeline, merge, and clean up the branch — all via the auto-mr CLI.

For git.sylvlab.fr repositories, the underlying auto-mr binary routes via the fgj CLI; GitHub and GitLab remotes are handled automatically as before. Platform detection and routing are handled entirely by the binary — this skill does not branch on the host.

CLI Reference

Flags:
  --labels string             Comma-separated label names (e.g., "bug,enhancement")
  --list-labels               List all available labels and exit
  -l, --log-level string      Set log level (debug, info, warn, error) [default "info"]
  --msg string                Custom message for MR/PR (overrides commit message selection)
  --no-squash                 Disable squash merge (default: squash enabled)
  --pipeline-timeout string   Pipeline/workflow timeout [default "30m"]
  -v, --version               Print version and exit

Workflow

Step 1: Pre-flight Checks

Verify auto-mr is installed:

auto-mr --version

If the command fails, abort with:

auto-mr is not installed. Install it from https://github.com/sgaunet/auto-mr and ensure it is in your PATH.

Get current branch:

git rev-parse --abbrev-ref HEAD

If the branch is main, master, or develop, warn the user:

Warning: you are on a protected branch (<branch>). auto-mr is intended for feature branches.

Check for uncommitted changes:

git status --porcelain

If the working tree is dirty, warn the user:

Warning: you have uncommitted changes. Consider committing or stashing them before creating a MR/PR.

Step 2: Label Discovery (early exit)

If --list-labels is present in the arguments:

auto-mr --list-labels

Display the output and return. Do not proceed further.

Step 3: Assemble Command

Base command: auto-mr

Append all provided flags verbatim (e.g., --no-squash, --msg "fix: ...", --labels "bug,help wanted").

Read the full file on GitHub · 103 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 · 103 lines · 39 tokens per session scan A 2dc7d8a4a016

Subscribe to this mod's changes

auto-mr is a skill published in the GitHub repository sgaunet/claude-plugins (19 stars, last pushed 1mo ago), licensed MIT. It adds 39 tokens to every session and 926 once invoked, about $0.0002 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-30.

Related

auto-mr compared with skills from other repositories

auto-mr next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
auto-mrsgaunet/claude-pluginsSkill191mo agoMITA39Claude Code
release-notesphuryn/pm-skillsSkill28k22d agoMITA57Claude Code
glabNikiforovAll/claude-code-rulesSkill14328d agoApache-2.0A59Claude Code
version-bumpNikiforovAll/claude-code-rulesSkill14328d agoApache-2.0A48Claude Code
commit-messagenetopsengineer/axiomSkill52d agoMITA218Claude Code
creating-pr-from-branchqte77/claude-code-pluginsSkill3todayApache-2.0A43Claude Code
review-prjontsai/claude-pluginsSkill61mo agoMITA139Claude Code