Agent skill

Merge Queue

by fullsend-ai in fullsend-ai/fullsend

A skill your agent uses when you need to add a PR to a GitHub merge queue, check what's currently queued, or find out why a PR was removed from the queue.

Apache-2.0Auto-check passedBackend & APIs

Install Merge Queue

skills CLI
$ npx skills add fullsend-ai/fullsend --skill merge-queue -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install fullsend-ai/fullsend merge-queue --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/fullsend-ai/fullsend.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/merge-queue .claude/skills/merge-queue && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
merge-queue
GitHub stars
147
Token cost
~712 tokens
SKILL.md length
336 words
Files
5 (incl. scripts)
Skills in repo
15
Repo updated
First seen
Licence
Apache-2.0

At a glance

A skill your agent uses when you need to add a PR to a GitHub merge queue, check what's currently queued, or find out why a PR was removed from the queue.

  • You need to add a PR to a GitHub merge queue
  • SKILL.md covers Enqueue a PR, Check queue status, Investigate dequeue reasons and Await and enqueue, plus 2 more sections
  • Runs Shell scripts from its folder; calls bash and gh; reaches github.com
  • Check whats currently queued

What it does

Merge Queue is an agent skill from fullsend-ai/fullsend. Use when you need to add a PR to a GitHub merge queue, check what's currently queued, or find out why a PR was removed from the queue. The gh CLI has no built-in merge-queue commands, so this skill provides scripts that use the GraphQL API.

Its SKILL.md is about 710 tokens, which your agent loads only when the skill is triggered. The skill folder holds 5 other files, including scripts (for example `scripts/await-and-enqueue.sh`, `scripts/dequeue-reason.sh` and `scripts/enqueue-pr.sh`).

It sits in Backend & APIs, covering GraphQL. It works with GitHub, GraphQL and Bash. The repository describes itself as: On the path to fully autonomous agentic engineering. The licence is Apache-2.0.

When your agent uses it

  • You need to add a PR to a GitHub merge queue
  • Check whats currently queued
  • Find out why a PR was removed from the queue

Example prompts

  • “/merge-queue”

Requirements

  • A Bash shell
  • Pre-approved tools (allowed-tools): Bash(bash skills/merge-queue/scripts/*:*)

What it can do on your machine

Read from SKILL.md and the folder at commit 0d999c2. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Bash(bash skills/merge-queue/scripts/*:*)

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 4 files in scripts/ (Shell), which the agent can run.

    Shell commands in SKILL.md call:

    • bash
    • gh

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • github.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Merge Queue loads about 712 tokens when it runs. Until then it costs about 63 tokens; SKILL.md has 336 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~63
When it runs · the whole SKILL.md, loaded when a task matches
~712

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from fullsend-ai/fullsend at commit 0d999c2, republished under its Apache-2.0 licence (© fullsend-ai). 336 words, ~712 tokens.

Download SKILL.mdSave it as .claude/skills/merge-queue/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.
name
merge-queue
description
Use when you need to add a PR to a GitHub merge queue, check what's currently queued, or find out why a PR was removed from the queue. The gh CLI has no built-in merge-queue commands, so this skill provides scripts that use the GraphQL API.
allowed-tools
Bash(bash skills/merge-queue/scripts/*:*)

Merge Queue

Enqueue a PR

Run bash skills/merge-queue/scripts/enqueue-pr.sh [PR_NUMBER_OR_URL] to enqueue a PR. Omit the argument to enqueue the current branch's PR.

If the PR is not yet eligible (checks pending, missing approvals), use await-and-enqueue.sh instead — see below.

Accepted input formats
  • PR number: 652 (uses the current repo context from gh)
  • PR URL: https://github.com/owner/repo/pull/652
  • Omitted: uses the current branch's PR

The owner/repo#number format is not supported — use a URL or number instead.

Check queue status

Run bash skills/merge-queue/scripts/queue-status.sh [OWNER/REPO] [BRANCH] to list PRs currently in the merge queue.

Both arguments are optional — defaults to the current repo and main branch.

Shows each entry's position, state, PR title/URL, author, enqueuer, and estimated time to merge.

Investigate dequeue reasons

Run bash skills/merge-queue/scripts/dequeue-reason.sh <PR_NUMBER_OR_URL> to find out why a PR was removed from the merge queue.

Shows each removal event's timestamp, reason (e.g. failed_checks, merge_conflict), and the commit SHA at the time of removal.

Await and enqueue

Run bash skills/merge-queue/scripts/await-and-enqueue.sh [PR_NUMBER_OR_URL] to poll a PR until all required checks pass and the PR is approved, then automatically enqueue it. Exits early if any check fails.

Use this when enqueue-pr.sh rejects a PR because checks are still pending. GitHub's auto-merge API (gh pr merge --auto) does not work with merge queues, so this script fills that gap.

Set POLL_INTERVAL (default: 30 seconds) to control how often it checks.

Prerequisites

  • gh CLI authenticated with write access to the target repository
  • jq installed
  • The target repository must have merge queues enabled in its branch protection rules

Common errors

  • "Pull request is already in the merge queue" — the PR was previously enqueued; no action needed.
  • "Pull request is not mergeable" — the PR may need approvals, passing checks, or conflict resolution before it can be enqueued.
  • "Resource not accessible by integration" — the gh token lacks sufficient permissions.
  • "status checks are expected" — required checks haven't finished yet. Use await-and-enqueue.sh to poll and enqueue once they pass.
  • gh pr merge --auto fails with merge queues — GitHub's auto-merge API does not support merge queues. Use await-and-enqueue.sh instead.

© fullsend-ai, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 4 other files (scripts) in skills/merge-queue of fullsend-ai/fullsend.

  • SKILL.md
  • scripts/await-and-enqueue.sh
  • scripts/dequeue-reason.sh
  • scripts/enqueue-pr.sh
  • scripts/queue-status.sh

Open the folder on GitHubat commit 0d999c2

Compare with similar skills

Merge Queue next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Merge Queue compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Merge Queue this skillfullsend-ai/fullsend147—~712Automated safety check: PassApache-2.0
Review PR Commentslatitude-dev/latitude-llm4.7k—~2.6kAutomated safety check: PassMIT
Copilot PR Autopilotgithub/awesome-copilot40k—~3.4kAutomated safety check: PassMIT
GitHub Opsdaymade/claude-code-skills1.4k—~3.7kAutomated safety check: PassMIT
Phoenix GraphqlArize-ai/phoenix12k—~2.2kAutomated safety check: PassCustom licence
Cuga GitHub Issuescuga-project/cuga-agent893—~1.2kAutomated safety check: PassCustom licence

Similar skills

  • Review PR Comments

    latitude-dev/latitude-llm

    Triages a PR with GitHub CLI: loads issue-level and inline review feedback (gh pr view, gh api REST, gh api graphql as appropriate), walks items in order, replies in the correct thread, optional…

    4.7k GitHub stars~2.6k tokensUpdated yesterday
    Backend & APIsAuto-check passed
  • Copilot PR Autopilot

    github/awesome-copilot

    Official

    Copilot left 14 review comments on your PR — half are nits. An agent skill from github/awesome-copilot.

    40k GitHub stars~3.4k tokensUpdated today
    Backend & APIsAuto-check passed
  • GitHub Ops

    daymade/claude-code-skills

    Operates GitHub via gh CLI and REST/GraphQL — PRs, issues, Actions, repos, collaborators, org permissions, 2FA — with explicit target, authorization, and independent readback.

    1.4k GitHub stars~3.7k tokensUpdated today
    Backend & APIsAuto-check passed
  • Phoenix Graphql

    Arize-ai/phoenix

    Write efficient GraphQL queries against the Phoenix API. An agent skill from Arize-ai/phoenix.

    12k GitHub stars~2.2k tokensUpdated today
    Backend & APIsAuto-check passed
  • Cuga GitHub Issues

    cuga-project/cuga-agent

    Create GitHub issues for cuga-agent (bugs, features, epics, designs, and related work) against origin using gh, with epic → feature → issue hierarchy and GraphQL sub-issue linking.

    893 GitHub stars~1.2k tokensUpdated yesterday
    Backend & APIsAuto-check passed
  • Linear

    karanhudia/borg-ui

    Use Symphony's lineargraphql client tool for raw Linear GraphQL operations such as comment editing and upload flows.

    1.7k GitHub stars~1.7k tokensUpdated today
    Backend & APIsAuto-check passed

More from fullsend-ai/fullsend

All 15 skills in this repo
  • Cutting Releases

    fullsend-ai/fullsend

    A skill your agent uses when the user wants to tag a release, cut a release candidate, or ship a new version.

    147 GitHub stars~3.5k tokensUpdated today
    Auto-check passed
  • Topissues

    fullsend-ai/fullsend

    Build a merged RICE priority table: top unassigned backlog issues plus issues assigned to the current user.

    147 GitHub stars~523 tokensUpdated today
    Auto-check passed
  • User Forum Whats New

    fullsend-ai/fullsend

    A skill your agent uses when preparing the Fullsend user forum "What's New" agenda, a Tuesday-to-Tuesday recap, forum-host talk-track notes, or copy-paste HTML of shipped changes for users.

    147 GitHub stars~4k tokensUpdated today
    Auto-check passed
  • Adr Corner

    fullsend-ai/fullsend

    Find open GitHub pull requests that add or change Architecture Decision Records and report attribution, summaries, discussion points, and dates.

    147 GitHub stars~654 tokensUpdated today
    Auto-check passed
  • Nextwork

    fullsend-ai/fullsend

    Build a readiness-oriented queue of open issues/PRs — assigned work plus their open GitHub blockers — and recommend the next action for each.

    147 GitHub stars~5.3k tokensUpdated today
    Auto-check passed
  • Analyze Transcript

    fullsend-ai/fullsend

    Analyze fullsend agent run transcripts from GitHub Actions artifacts.

    147 GitHub stars~2.7k tokensUpdated today
    Auto-check passed

Questions about Merge Queue

What does Merge Queue do?

A skill your agent uses when you need to add a PR to a GitHub merge queue, check what's currently queued, or find out why a PR was removed from the queue. Merge Queue is an agent skill from fullsend-ai/fullsend. Use when you need to add a PR to a GitHub merge queue, check what's currently queued, or find out why a PR was removed from the queue.

When should I use Merge Queue?

Merge Queue fits situations like: you need to add a PR to a GitHub merge queue; check whats currently queued; find out why a PR was removed from the queue.

How do I install Merge Queue in Claude Code?

Run `npx skills add fullsend-ai/fullsend --skill merge-queue -a claude-code`. Or copy the skill folder (skills/merge-queue in fullsend-ai/fullsend) into .claude/skills/merge-queue in your project. Claude Code loads it when a task matches its description.

How do I install Merge Queue in Codex?

Run `npx skills add fullsend-ai/fullsend --skill merge-queue -a codex`. Or copy the skill folder (skills/merge-queue in fullsend-ai/fullsend) into .agents/skills/merge-queue in your project. Codex loads it when a task matches its description.

Can I use Merge Queue in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add fullsend-ai/fullsend --skill merge-queue -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/merge-queue, .gemini/skills/merge-queue, .github/skills/merge-queue and .opencode/skills/merge-queue in your project.

What does Merge Queue need to run?

Going by SKILL.md and its folder, Merge Queue needs a shell for the scripts in its folder and the command-line tools its instructions call (bash and gh). Our summary lists: A Bash shell. Its frontmatter pre-approves these tools: Bash(bash skills/merge-queue/scripts/*:*).

Does Merge Queue access the network?

SKILL.md names 1 domain. In commands or code: github.com; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is Merge Queue safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Merge Queue use?

Merge Queue is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Merge Queue use?

About 712 tokens (SKILL.md is roughly 2.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Merge Queue?

Skills that share tags, products or a category with Merge Queue: Review PR Comments (latitude-dev/latitude-llm, 4.7k stars), Copilot PR Autopilot (github/awesome-copilot, 40k stars), GitHub Ops (daymade/claude-code-skills, 1.4k stars) and Phoenix Graphql (Arize-ai/phoenix, 12k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Merge Queue?

fullsend-ai (a GitHub organization) maintains it in fullsend-ai/fullsend, which has 147 GitHub stars. The repository holds 15 skills in this directory. The repository was last updated on October 7, 2026.

Source: fullsend-ai/fullsend on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.