gitlab:merge-request

gitlab:merge-request is a skill for Claude Code from bendrucker/claude. It costs 78 tokens per session (1,632 once invoked), scanned A, original, MIT.

Instructions for using the glab command-line program to manage GitLab merge requests, which are proposed code changes submitted for review. They cover creating, reviewing, updating, discussing, approving, blocking, and merging these requests.

In plain words
What is it for?
Use them to create or review GitLab merge requests, handle discussion threads and approvals, request reviewers, block or re-request work, and merge changes safely.
Why use it?
They provide the required procedures and defaults for common merge-request work, including draft requests, reviewers, auto-merge, merge trains, and review discussions.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: 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 gitlab plugin — 3 skills shipped together

Good fit Use them to create or review GitLab merge requests, handle discussion threads and approvals, request reviewers, block or re-request work, and merge changes safely.

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 bendrucker/claude
Claude Code
/plugin install gitlab

Made for: Claude Code.

Or install gitlab, the plugin that ships this one along with the rest of its 3 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 gitlab:merge-request

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/bendrucker/claude/merge-request"><img src="https://agentmods.dev/badge/skills/bendrucker/claude/merge-request.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 78 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,632 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.00078 $0.01632
Opus 5.5 $0.00031 $0.00653
Sonnet 5.5 $0.00016 $0.00326
Haiku 4.5 $0.00008 $0.00163

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

Security

Grade A, and why

gitlab:merge-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 4d ago.

The scan reads SKILL.md. This mod also ships 9 executable files (scripts/diff.test.ts, scripts/diff.ts, scripts/discussions.test.ts, …), 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/gitlab/skills/merge-request/SKILL.md · 122 lines

How it starts

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

Merge Requests

Working with GitLab merge requests via glab mr.

Scripts directory (absolute, for invocations from other skills where ${CLAUDE_SKILL_DIR} points elsewhere): !mkdir -p /tmp/claude/gitlab-skill 2>/dev/null; touch "/tmp/claude/gitlab-skill/${CLAUDE_SESSION_ID}" 2>/dev/null; echo "${CLAUDE_SKILL_DIR}/scripts"

Arguments

$0 (optional verb) routes to a section below. With no verb, infer the operation from the request.

  • create: open an MR. See Patterns. --draft opens it as a draft (glab mr create --draft).
  • merge: merge the MR. See Merging. --auto enables auto-merge (merge.ts --auto-merge).
  • review: review MRs. See Reviews. --role reviewer (default) fetches MRs awaiting your review; --role author triages threads on MRs you authored.
  • discussions: work MR discussion threads. See Discussions.
  • block: block an MR until another merges. See Blocking.

Flag defaults: --draft off, --auto off, --role reviewer.

Merging

Always use merge.ts to merge. It handles merge trains, auto-merge, and squash, falling back to glab mr merge internally when appropriate.

bun ${CLAUDE_PLUGIN_ROOT}/scripts/merge.ts
bun ${CLAUDE_PLUGIN_ROOT}/scripts/merge.ts --auto-merge
bun ${CLAUDE_PLUGIN_ROOT}/scripts/merge.ts feature-branch --auto-merge --squash

Never call glab mr merge directly. It turns auto-merge on by default whenever a pipeline is running. A bare invocation then queues the MR to merge itself later instead of merging it now, silently breaking a deliberate merge order. merge.ts always sends --auto-merge=<choice> so the default cannot apply.

Inspect Before Merging

--status prints the MR's merge readiness as JSON and exits without touching it: target branch, draft state, detailed_merge_status, head pipeline, and a rebased_on_target ancestry check computed from git rather than the API's stale conflict fields.

bun ${CLAUDE_PLUGIN_ROOT}/scripts/merge.ts --status
bun ${CLAUDE_PLUGIN_ROOT}/scripts/merge.ts feature-branch --status

Read the full file on GitHub · 122 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. 4d ago Changed dbe42fe29709
  2. 1mo ago Changed · +2 lines e4bb70921e18
  3. 1mo ago First seen · 120 lines · 78 tokens per session scan A 06020cbd0def

Subscribe to this mod's changes

gitlab:merge-request is a skill published in the GitHub repository bendrucker/claude (18 stars, last pushed today), licensed MIT. It adds 78 tokens to every session and 1,632 once invoked, about $0.0003 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

Other skills, from other repositories

release

Cut a brooks-lint release: set the version in package.json, propagate it across all four plugin manifests and every version-bearing text file (README badges, docs site metadata), write the CHANGELOG entry, validate, then commit, push, tag, and publish the GitHub release. Triggers when the maintainer asks to "release"…

hyhmrright/brooks-lint · 135 tokens

pr

Comprehensive PR/issue review - analyzes architecture, tests, identifies unrelated changes mixed in, drafts review comment or issue comment. Use when user asks to review a PR, check a PR, look at PR changes, or comment on an issue.

umputun/cc-thingz · 51 tokens

pr-threads-address

Address PR review feedback by systematically working through every unresolved PR review thread on the current branch's PR - analyze each comment, make the requested code changes (with tests where useful), commit, and optionally reply and resolve.

posit-dev/skills · 48 tokens

han-release

Cut a Han release: update CHANGELOG.md with the changes since the last release, bump and tag every plugin that changed as {plugin-name}--v{version} so a version-constrained dependency can resolve, and publish a GitHub release crediting every merged pull request and closed issue to the people behind it. Use when…

testdouble/han · 172 tokens

pr-comment

Post friendly review comments to a GitHub PR — prepare locally, preview, then submit as atomic review. Use when: posting code review comments, giving PR feedback, sending inline suggestions. Not for: reading existing reviews (use load-pr-review), creating PRs (use create-pr), PR status (use pr-summary).

sd0xdev/sd0x-harness · 67 tokens

deploy-landed

A deployment verification procedure that checks whether the intended code revision is actually running, its environment settings are present, and the product works. A deployment is the process of putting new software on a server or hosting platform.

avelikiy/great_cto · 103 tokens