glab-mr

glab-mr is a skill for Claude Code, Codex from vince-winkintel/gitlab-cli-skills. It costs 82 tokens per session (6,464 once invoked), scanned A, original, MIT.

A command-line tool for GitLab merge requests, which propose code changes from one branch for review and merging into another.

In plain words
What is it for?
Use it to create and list merge requests, inspect diffs, check branches out locally, approve changes, resolve discussions, rebase, and merge.
Why use it?
It keeps creating, reviewing, approving, discussing, and merging code changes in one workflow.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to create and list merge requests, inspect diffs, check branches out locally, approve changes, resolve discussions, rebase, and merge.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/vince-winkintel/gitlab-cli-skills/glab-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 vince-winkintel/gitlab-cli-skills --skill glab-mr
Clone the repo
git clone --depth 1 https://github.com/vince-winkintel/gitlab-cli-skills

Made for: Claude Code, Codex.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/vince-winkintel/gitlab-cli-skills/glab-mr/github.svg)](https://agentmods.dev/skills/vince-winkintel/gitlab-cli-skills/glab-mr)
Your own site
<a href="https://agentmods.dev/skills/vince-winkintel/gitlab-cli-skills/glab-mr"><img src="https://agentmods.dev/badge/skills/vince-winkintel/gitlab-cli-skills/glab-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 glab-mr

Your own site · 80×15
<a href="https://agentmods.dev/skills/vince-winkintel/gitlab-cli-skills/glab-mr"><img src="https://agentmods.dev/badge/skills/vince-winkintel/gitlab-cli-skills/glab-mr.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 82 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,464 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00082 $0.06464
Opus 5.5 $0.00033 $0.02586
Sonnet 5.5 $0.00016 $0.01293
Haiku 4.5 $0.00008 $0.00646

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

Security

Grade A, and why

glab-mr scanned grade A with 1 finding 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 2d ago.

The scan reads SKILL.md. This mod also ships 3 executable files (scripts/create-mr-from-issue.sh, scripts/mr-review-workflow.sh, scripts/post-inline-comment.py), 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

PROJECT_ID="$(python3 -c 'import urllib.parse, sys; print(urllib.parse.quote(sys.argv[1], safe=""))' "$PROJECT_PATH")"
glab-mr/SKILL.md · 610 lines

How it starts

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

glab mr

Create, view, and manage GitLab merge requests.

Rebase completion and issue branches

mr rebase and mr merge --rebase wait for the queued server rebase to visibly complete rather than treating an initial rebase_in_progress=false as success. Polling is bounded to 300 attempts at one-second intervals and responds to cancellation. Rebase errors/timeouts stop the merge; verify server state before an approved retry. --sha and --rebase are mutually exclusive because rebasing changes the head SHA; --squash and --rebase are also exclusive. These commands mutate branches/MRs and require approval for the exact target.

mr for and mr create --related-issue retry branch creation only for HTTP 400 name/hierarchy collisions, trying suffixes -1 through -100. Authentication, permissions, invalid refs, network failures, and unrelated errors stop immediately. Diagnose the original error instead of repeatedly creating branches or retrying all failures. Confirm the issue, project, base branch, and intended writes first.

Resolve or reopen in another repository

With --repo, mr note resolve and mr note reopen require an explicit MR before the discussion identifier:

glab mr note resolve 123 abc12345 --repo group/project
glab mr note reopen 123 abc12345 --repo group/project

The discussion may be a full ID, a unique prefix of at least eight characters, or a numeric note ID. Without --repo, omitting the MR uses the current branch. The binary's usage line lists the operands inconsistently; follow its examples and the implementation: MR first, discussion second. Confirm the target before changing discussion state.

Checkout, creation, and selection

glab mr checkout 123 --worktree ../review-mr-123 fetches and checks out the MR in a separate worktree. Reusing that path updates the existing worktree. A branch can be checked out in only one worktree; choose --branch for a different local name when needed. Review divergence/reset prompts carefully: worktree isolation does not authorize discarding commits or local changes. Fetching through a matched remote creates the tracking ref.

Read the full file on GitHub · 610 lines

Files

What ships with it

4 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. 2d ago Changed · +6 lines 0655f0f5c666
  2. 9d ago Changed · +25 lines 8ba935786c94
  3. 20d ago Changed · +16 lines 65383bcfc061
  4. 23d ago Changed · +31 lines 7e3390008690
  5. 1mo ago Changed · +4 lines 049dfc7fae92
  6. 1mo ago Changed · +15 lines 6174f7983f09
  7. 1mo ago Changed · +3 lines 00d8ed1015e9
  8. 2mo ago First seen · 510 lines · 82 tokens per session scan A 8ab62e1e2940

Subscribe to this mod's changes

glab-mr is a skill published in the GitHub repository vince-winkintel/gitlab-cli-skills (49 stars, last pushed today), licensed MIT. It adds 82 tokens to every session and 6,464 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). 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

pr

Draft a PR body from OMC's paper trail — the smallest visual that proves the change, evidence consumed from the verify protocol (never re-collected), reversibility from the ADR test on the diff, glossary language throughout.

Yeachan-Heo/oh-my-claudecode · 47 tokens

merge-batch

Prepare and merge an owner-selected PR batch with contributor credit and exact-candidate admission. Use for a pasted PR list; combined focused validation is diagnostic, and every actual landing still requires its applicable checks and authorization.

diegosouzapw/OmniRoute · 46 tokens

otto-pr-review-loop

Run Polly and OCR on a PR until all findings settle.

omnigent-ai/omnigent · 17 tokens

engram-branch-pr

PR creation workflow for Engram following the issue-first enforcement system. Trigger: When creating a pull request, opening a PR, or preparing changes for review.

Gentleman-Programming/engram · 37 tokens

github-contributor

A step-by-step guide for contributing code, tests, documentation, or build changes to open-source projects you do not maintain. It explains how to prepare a pull request that follows the project’s rules and is easier for maintainers to review.

daymade/claude-code-skills · 105 tokens

revdiff

Review diffs, files, and documents with inline annotations in a TUI overlay, or answer questions about revdiff usage, configuration, themes, and keybindings. Opens revdiff in agterm/tmux/zellij/herdr/kitty/wezterm/cmux/ghostty/iterm2/emacs-vterm, captures annotations, and addresses them. Works in git, hg, and jj repos…

umputun/revdiff · 248 tokens