gitlab-merge-request-review

gitlab-merge-request-review is a skill for Claude Code, Codex from Knuckles-Team/gitlab-api. It costs 158 tokens per session (1,571 once invoked), scanned A, original, MIT.

A skill for reviewing and merging GitLab merge requests through a GitLab API server. A merge request is a proposed code change; a pipeline is GitLab's automated build and test process.

In plain words
What is it for?
Use it to review assigned merge requests, inspect failed jobs, approve changes, merge them, or set merge-when-pipeline-succeeds.
Why use it?
It checks the merge request and its pipeline before approving, merging, or enabling automatic merging.

Skill for Claude CodeCodex

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/knuckles-team/gitlab-api/gitlab-merge-request-review
Any agent
npx skills add Knuckles-Team/gitlab-api --skill gitlab-merge-request-review
Clone the repo
git clone --depth 1 https://github.com/Knuckles-Team/gitlab-api

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 gitlab-merge-request-review

README.md
[![agentmods](https://agentmods.dev/badge/skills/knuckles-team/gitlab-api/gitlab-merge-request-review.svg)](https://agentmods.dev/skills/knuckles-team/gitlab-api/gitlab-merge-request-review)
Your own site
<a href="https://agentmods.dev/skills/knuckles-team/gitlab-api/gitlab-merge-request-review"><img src="https://agentmods.dev/badge/skills/knuckles-team/gitlab-api/gitlab-merge-request-review.svg" alt="Measured on agentmods" height="20"></a>
Per session 158 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,571 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 $0.00158 $0.01571
Opus 5 $0.00079 $0.00785
Sonnet 5 $0.00032 $0.00314
Haiku 4.5 $0.00016 $0.00157

Measured 3d ago against content hash c7e430e3819a, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

gitlab-merge-request-review 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 3d 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.

gitlab_api/skills/gitlab-merge-request-review/SKILL.md · 129 lines

How it starts

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

GitLab Merge Request Review

Domain-typed review-to-merge for GitLab Merge Requests via the gitlab-api MCP server. Default focus: the MRs that are yours to act on (assigned to you or awaiting your review); widen to a project, group, or the whole instance on request.

When to use

  • Review the MRs assigned to you or where you are a reviewer (the default).
  • Scope MR review to a project, a group, or the instance.
  • Read an MR and gate a merge on a green pipeline — pipeline → jobs → job log.
  • Approve, accept (merge), or set merge-when-pipeline-succeeds (auto-merge); cancel a queued auto-merge.

When NOT to use

  • Opening a new MR → gitlab-merge-request-create.
  • Issue triage → gitlab-issues.
  • Broad pipeline/CI review across a group/instance → gitlab-pipelines.

Prerequisites & environment

Connect via the mcp-client skill against the gitlab-api MCP server.

Variable Required Notes
GITLAB_URL GitLab instance base URL
GITLAB_TOKEN Access token with api scope (approve/merge need write)
GITLAB_SSL_VERIFY optional TLS verification toggle

Full env/tag matrix: the mcp-client reference agent-tools/mcp-client/references/gitlab-api.md. MCP_TOOL_MODE (condensed|verbose|both) selects the condensed surface (below).

Tools & actions

Prefer the condensed tools; each takes action + a params_json JSON string.

Condensed tool Actions
gitlab_merge_requests get, get_project, accept, cancel_auto_merge
gitlab_merge_rules get_mr_approvals, get_mr_approval_state, approve_mr, unapprove_mr
gitlab_groups get_merge_requests (group-scoped MRs)
gitlab_pipelines get
gitlab_jobs get_pipeline_jobs, get_log

Key parameters

  • Default scope — instance-wide gitlab_merge_requests get with either scope=assigned_to_me or reviewer_username=<me> (run both and union). Project scope → get_project with project_id; group scope → gitlab_groups get_merge_requests with group_id.
  • Single MR → gitlab_merge_requests get with project_id + merge_request_iid.
  • CI gate — the MR object carries pipeline/head_pipeline; feed its id to gitlab_pipelines get (pipeline_id), then gitlab_jobs get_pipeline_jobs (pipeline_id), then get_log (job_id).
  • Approve/merge — gitlab_merge_rules approve_mr (project_id + merge_request_iid); gitlab_merge_requests accept merges now, or pass merge_when_pipeline_succeeds=true to set auto-merge; cancel_auto_merge cancels a queued auto-merge.

Read the full file on GitHub · 129 lines

Files

What ships with it

1 file 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. 3d ago First seen · 129 lines · 158 tokens per session scan A c7e430e3819a

Subscribe to this mod's changes

gitlab-merge-request-review is a skill published in the GitHub repository Knuckles-Team/gitlab-api (10 stars, last pushed 6d ago), licensed MIT. It adds 158 tokens to every session and 1,571 once invoked, about $0.0008 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

myco:api-endpoint-serializer-authoring

Apply this skill when adding an endpoint to apps/api/, authoring a mutation-ack serializer, wiring ManagerFactory, resolving Phase 5A routing collisions, or diagnosing the validatemanifest or testresourceroutecoverage CI gates. Covers: resource vs. action classification (409 vs. 200+envelope); Cursor + paginate()…

sirkirby/unifi-mcp · 219 tokens

fli

Guidance for installing and using Fli correctly as a CLI and MCP server. Use when: setting up Fli with pipx, running fli flight searches, configuring Claude Desktop with fli-mcp, using the HTTP MCP server, or troubleshooting Fli command availability and common usage mistakes.

punitarani/fli · 65 tokens

Artillery Load Testing

Write and run Artillery load tests with YAML phases and scenarios, CSV data payloads, the expect plugin for functional checks, and ensure thresholds that fail CI when latency or error budgets are breached.

PramodDutta/qaskills · 44 tokens

pipefy-api-fallback

Use this skill when an MCP tool fails AND the introspection skill could not resolve the problem. This is the last-resort fallback (Tier 3): call the Pipefy GraphQL API directly using curl or httpx, authenticating with the Service Account (OAuth2) or a Personal Access Token (PAT) available as env var. Follow the 3-tier…

pipefy/ai-toolkit · 86 tokens

go-safe-move-refactor

Safely move Go source files between packages with zero compilation downtime. Handles package declarations, import updates, symbol exports, type renames, test migration, and forwarding stubs. Validates compilation after every atomic step.

jmrplens/gitlab-mcp-server · 50 tokens

go-source-documentation

Add idiomatic, godoc-compliant documentation to Go source and test files. Use when user asks to document Go files, add doc comments, improve Go documentation, or mentions /document-go. Covers file headers, package comments, types, functions, interfaces, constants, variables, tests (with detailed explanations)…

jmrplens/gitlab-mcp-server · 75 tokens