merge-pull-request

merge-pull-request is a skill for Claude Code from LandonSchropp/agent-toolkit. It costs 38 tokens per session (492 once invoked), scanned A, original, MIT.

A skill for merging one GitHub pull request, a proposed set of code changes reviewed before being added to a project.

In plain words
What is it for?
Running pre-merge checks, waiting for continuous integration (automated builds and tests), and merging with the repository’s normal method or merge queue.
Why use it?
It handles the checks and waiting needed before merging, reducing the chance of merging while automated tests are still failing or unfinished.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the ls-git plugin — 10 skills shipped together

Good fit Running pre-merge checks, waiting for continuous integration (automated builds and tests), and merging with the repository’s normal method or merge queue.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/landonschropp/agent-toolkit/merge-pull-request
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 LandonSchropp/agent-toolkit --skill merge-pull-request
Clone the repo
git clone --depth 1 https://github.com/LandonSchropp/agent-toolkit

Made for: Claude Code.

Or install ls-git, the plugin that ships this one along with the rest of its 10 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 merge-pull-request

README.md
[![agentmods](https://agentmods.dev/badge/skills/landonschropp/agent-toolkit/merge-pull-request/github.svg)](https://agentmods.dev/skills/landonschropp/agent-toolkit/merge-pull-request)
Your own site
<a href="https://agentmods.dev/skills/landonschropp/agent-toolkit/merge-pull-request"><img src="https://agentmods.dev/badge/skills/landonschropp/agent-toolkit/merge-pull-request/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 merge-pull-request

Your own site · 80×15
<a href="https://agentmods.dev/skills/landonschropp/agent-toolkit/merge-pull-request"><img src="https://agentmods.dev/badge/skills/landonschropp/agent-toolkit/merge-pull-request.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 492 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.00038 $0.00492
Opus 5.5 $0.00015 $0.00197
Sonnet 5.5 $0.00008 $0.00098
Haiku 4.5 $0.00004 $0.00049

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

Security

Grade A, and why

merge-pull-request 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 26d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/merge-pull-request.sh, scripts/wait-for-pull-request-to-be-merged.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/ls-git/skills/merge-pull-request/SKILL.md · 24 lines

How it starts

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

Merge Pull Request

This skill runs inside herdr and merges a pull request opened from this workspace's branch. Pass --pull-request-url <url> to each script.

Process

  1. Wait until ready: Run herdr-pull-request-status watch --workspace "$HERDR_WORKSPACE_ID" with the Monitor tool, at its longest timeout, and re-arm it each time it expires. Wait for the pull request's line to show ready to merge. waiting for CI and in merge queue resolve on their own. Any other status is a blocker, such as CI failed, changes requested or waiting for review, so stop and surface it to the user. Never call herdr-pull-request-status add here, since it attaches the pull request to this workspace's sidebar.

  2. Merge: Run scripts/merge-pull-request.sh. Detects whether the target branch uses a merge queue — if so, adds the pull request to the queue without a strategy flag. Otherwise detects the repo's allowed methods (rebase > squash > merge commit) and merges with that method, leaving the remote branch for the repository's auto-delete setting. Never delete the merged branch from the remote yourself, such as with gh pr merge --delete-branch or git push --delete.

  3. Confirm: Run scripts/wait-for-pull-request-to-be-merged.sh. Polls until the pull request state is MERGED, and fails if it leaves the merge queue without merging. Required when a merge queue is involved since the merge completes asynchronously; run it in the background so the user can keep working, and if it fails, find out why from the pull request's checks and tell the user.

Rationalizations

Thought Reality
"CI is almost done, I'll skip the wait" Wait for ready to merge. watch handles the wait.
"The pull request is blocked on approvals, I'll use --admin" Admin bypass is a user decision, not the skill's. Surface the block and stop.

Read the full file on GitHub · 24 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 26d ago Changed 2dad105bbcb1
  2. 27d ago Changed ede2ece1c585
  3. 1mo ago Changed e49cbec3ef7c
  4. 2mo ago Changed · +1 lines · +5 tokens per session d2c9b098a2ea
  5. 3mo ago First seen · 23 lines · 33 tokens per session scan A 4074df30acfb

Subscribe to this mod's changes

merge-pull-request is a skill published in the GitHub repository LandonSchropp/agent-toolkit (3 stars, last pushed today), licensed MIT. It adds 38 tokens to every session and 492 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-31.

Related

merge-pull-request compared with skills from other repositories

merge-pull-request next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
merge-pull-requestLandonSchropp/agent-toolkitSkill3todayMITA38Claude Code
artifactscloudflare/skillsSkill3.5k5d agoApache-2.0A66Claude Code
skill-upstream-prluongnv89/asmSkill976yesterdayMITA56Claude Code
skill-changelogluongnv89/asmSkill976yesterdayMITA53Claude Code
meanest-editorelvisun/newsjackSkill1.7k5d agoMITA33Claude Code
headline-generatorelvisun/newsjackSkill1.7k5d agoMITA88Claude Code
ai-visibility-writingelvisun/newsjackSkill1.7k5d agoMITA137Claude Code