gitlab-mr

gitlab-mr is a skill for Claude Code, Codex from grandcamel/GitLab-Assistant-Skills. It costs 73 tokens per session (2,451 once invoked), scanned A, original, MIT.

GitLab merge request management for proposed code changes awaiting review. A merge request is GitLab's way to discuss, approve, and merge a branch into another branch.

In plain words
What is it for?
Listing or viewing merge requests, creating them, adding comments, approving, merging, closing, reopening, checking out branches, and rebasing them.
Why use it?
It removes the need to manage code reviews and branch changes manually in the GitLab interface.

Skill for Claude CodeCodex

Part of the gitlab-assistant-skills plugin — 19 skills, 3 commands shipped together

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.

agentmods
npx agentmods add skills/grandcamel/gitlab-assistant-skills/gitlab-mr
Any agent
npx skills add grandcamel/GitLab-Assistant-Skills --skill gitlab-mr
Clone the repo
git clone --depth 1 https://github.com/grandcamel/GitLab-Assistant-Skills

Made for: Claude Code, Codex.

Or install gitlab-assistant-skills, the plugin that ships this one along with the rest of its 19 skills, 3 commands.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/grandcamel/gitlab-assistant-skills/gitlab-mr.svg)](https://agentmods.dev/skills/grandcamel/gitlab-assistant-skills/gitlab-mr)
Your own site
<a href="https://agentmods.dev/skills/grandcamel/gitlab-assistant-skills/gitlab-mr"><img src="https://agentmods.dev/badge/skills/grandcamel/gitlab-assistant-skills/gitlab-mr.svg" alt="Measured on agentmods" height="20"></a>
Per session 73 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,451 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00073 $0.02451
Opus 5 $0.00036 $0.01226
Sonnet 5 $0.00015 $0.00490
Haiku 4.5 $0.00007 $0.00245

Measured 5d ago against content hash 40e950c528ff, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

gitlab-mr 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 5d ago.

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.

skills/gitlab-mr/SKILL.md · 363 lines

How it starts

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

Merge Request Skill

Merge request operations for GitLab using the glab CLI.

Quick Reference

Operation Command Risk
List MRs glab mr list -
View MR glab mr view <id> -
Create MR glab mr create ⚠️
Checkout MR glab mr checkout <id> -
Approve MR glab mr approve <id> ⚠️
Merge MR glab mr merge <id> ⚠️⚠️
Update MR glab mr update <id> ⚠️
Close MR glab mr close <id> ⚠️
Reopen MR glab mr reopen <id> ⚠️
Delete MR glab mr delete <id> ⚠️⚠️
Rebase MR glab mr rebase <id> ⚠️

Risk Legend: - Safe | ⚠️ Caution | ⚠️⚠️ Warning | ⚠️⚠️⚠️ Danger

When to Use This Skill

ALWAYS use when:

  • User wants to work with merge requests
  • User mentions "MR", "merge request", "pull request", or related terms
  • User wants to review, approve, or merge code

NEVER use when:

  • User wants bulk operations on 10+ MRs (use gitlab-bulk instead)
  • User is only searching/filtering MRs (use gitlab-search instead)

Available Commands

List Merge Requests

glab mr list [options]

Options:

Flag Description
--assignee=@me Filter by assignee (use @me for yourself)
--reviewer=@me Filter by reviewer
--author=<username> Filter by author
--label=<labels> Filter by comma-separated labels
--state=<state> Filter by state: opened, closed, merged, all
--source-branch=<branch> Filter by source branch
--target-branch=<branch> Filter by target branch
-P, --per-page=<n> Number of items per page

Examples:

# List MRs assigned to you
glab mr list --assignee=@me

# List review requests for you
glab mr list --reviewer=@me

# List open MRs with specific label
glab mr list --state=opened --label=bug

# List MRs targeting main branch
glab mr list --target-branch=main

View Merge Request Details

glab mr view <id> [options]

Read the full file on GitHub · 363 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. 5d ago First seen · 363 lines · 73 tokens per session scan A 40e950c528ff

Subscribe to this mod's changes

gitlab-mr is a skill published in the GitHub repository grandcamel/GitLab-Assistant-Skills (4 stars, last pushed 7mo ago), licensed MIT. It adds 73 tokens to every session and 2,451 once invoked, about $0.0004 per session on Opus 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

Other skills, from other repositories

code-gauntlet

Prefer this skill for code review requests — it runs a multi-agent pipeline with blind challenge verification for high-confidence results. Trigger for ANY of these situations: (1) user says "review" in the context of code, PRs, MRs, branches, diffs, or changes, (2) user references a PR/MR number and wants feedback or…

liatrio-labs/claude-code-gauntlet · 218 tokens

build-review-md

Use this skill when the user wants to create or set up a REVIEW.md configuration file for their repository. Trigger for ANY of these: (1) user says "create REVIEW.md", "set up REVIEW.md", or "configure review rules", (2) code-gauntlet Phase 2d detects no REVIEW.md and suggests creating one, (3) user wants to customize…

liatrio-labs/claude-code-gauntlet · 171 tokens

asana-sweep

Scheduled sweep of incomplete Asana tasks assigned to you — triage into auto/ask/skip, dedupe against existing work, then call asana-to-harness to open GitLab issues that trigger an AI coding harness. Built for headless scheduled runs (claude -p); also runs interactively, with --dry-run support.

YCyrus/asana-sweep · 72 tokens

asana-to-harness

Turn one Asana task into an implementation plan for an AI coding harness, open a GitLab issue with the plan as its description, and leave a trigger comment (e.g. @claude). Used standalone ("turn this Asana task into a harness issue") or invoked by the asana-sweep skill.

YCyrus/asana-sweep · 68 tokens

create-site

Creates a new Power Pages code site (SPA) using React, Angular, Vue, or Astro. Guides through the full process from initial concept to deployed site: requirements discovery, scaffolding, component planning, design, implementation, validation, and deployment. Use when the user wants to create, build, or scaffold a new…

microsoft/power-platform-skills · 73 tokens

review

5-pass structured code review — correctness, security, performance, readability, consistency.

SethGammon/Citadel · 17 tokens