mergepatrol

Installation
SKILL.md

MergeLoop

Pull requests in this repo land through MergeLoop's merge queue. Queue a PR with a label and let MergeLoop merge it; merging by hand or pushing to the default branch races the queue.

The installed skill keeps its mergepatrol name and paths so existing repos still find it.

The labels

The trigger label is label in .mergepatrol/mergepatrol.yml on the default branch, mergepatrol when the file leaves it out. Below, <label> stands for it.

  • <label> queues the PR: gh pr edit <number> --add-label <label>. Removing it leaves the queue, and cancels the PR's run.
  • <label>:priority, beside <label>, puts the PR at the front of the queue.
  • <label>:failed is set by MergeLoop when it ejects the PR.

Over MCP

When the mergeloop MCP server (or its existing mergepatrol connection) is connected, use its tools instead of the labels: queue_pull (with priority for the front of the queue), dequeue_pull, pull_status and list_queue. They change the same labels, as the GitHub user or bot the server was connected as, so everything below still holds. pull_status reads where a PR is without parsing MergeLoop's comment. The server's other tools do what the MergeLoop dashboard does, such as reviewing a PR or reading why the queue ejected one.

With the mergeloop command

Installs
3
GitHub Stars
149
First Seen
Nov 1, 2026