gitlab-mr

gitlab-mr is a skill for Claude Code, Codex from siarhei-belavus/agent-public. It costs 75 tokens per session (1,035 once invoked), scanned A, original, MIT.

A workflow for creating focused GitLab merge requests, which are proposed code changes for review and merging into a repository.

In plain words
What is it for?
It is for packaging existing code changes into a reviewable merge request by inspecting branches and remotes, staging selected files, pushing to GitLab, and opening the request.
Why use it?
It checks repository state, keeps unrelated edits out, runs required validation, and prepares a clean branch and commit.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions AGENTS.md; mentions Codex.

Good fit It is for packaging existing code changes into a reviewable merge request by inspecting branches and remotes, staging selected files, pushing to GitLab, and opening the request.

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/siarhei-belavus/agent-public/gitlab-mr"><img src="https://agentmods.dev/badge/skills/siarhei-belavus/agent-public/gitlab-mr.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 75 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,035 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.00075 $0.01035
Opus 5 $0.00037 $0.00517
Sonnet 5 $0.00015 $0.00207
Haiku 4.5 $0.00007 $0.00103

Measured 8d ago against content hash 25cb55f3034f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, 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 8d 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/git/gitlab-mr/SKILL.md · 93 lines

How it starts

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

GitLab MR

Prefer a clean, reviewable MR over convenience. Never pull unrelated local changes into the branch just to make the working tree look tidy.

Workflow

  1. Inspect repo state first.

    • Run git status --short.
    • Run git branch --show-current.
    • Run git remote show origin | sed -n '/HEAD branch/s/.*: //p' to confirm the target branch.
    • Run glab auth status before attempting MR creation.
    • Identify unrelated modified or untracked files and keep them out of the MR.
    • Read applicable repo instructions such as AGENTS.md before choosing validation commands.
  2. Stage only the intended changes.

    • Use explicit git add <path...>.
    • Never use git add -A or git add . in this repo for MR prep.
    • Re-check the staged set with git diff --cached --stat.
    • Leave unrelated files, including user edits and stray backups, unstaged unless the user explicitly asked to include them.
  3. Create the branch before committing.

    • Use the repo convention codex/<topic>.
    • Base it on the current target branch, which is usually the origin HEAD branch unless the user requested another base.
    • If already on a suitable feature branch created for the requested work, reuse it instead of branching again.
  4. Run the required validation for the touched scope.

    • Read the repo instructions and run the mandated validation for the touched scope.
    • If the repo does not specify validation, prefer the smallest command set that proves the change:
      • targeted tests first
      • then typecheck
      • then lint
    • If a command fails because of a real code issue, fix it before creating the MR.
    • If a command fails because of an environment or dependency issue unrelated to the change, capture the exact failure in the MR description and final handoff.
  5. Commit cleanly.

    • Use one focused commit unless the user asked for a different history shape.
    • Use a short imperative message.
    • Do not amend or rebase unless the user explicitly asked.
    • If commit hooks modify files, review the resulting diff before pushing.

Read the full file on GitHub · 93 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. 8d ago First seen · 93 lines · 75 tokens per session scan A 25cb55f3034f

Subscribe to this mod's changes

gitlab-mr is a skill published in the GitHub repository siarhei-belavus/agent-public (2 stars, last pushed 3mo ago), licensed MIT. It adds 75 tokens to every session and 1,035 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

review-implement-phase

Implements triaged review actions, commits focused fixes, and posts Done plus resolves threads. Use when the user wants only the implementation phase of the review-framework workflow.

prisma/orm · 38 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

verify-behavior

Verify or reproduce visible product behavior by driving the real UI with pi-computer-use's checked tools, requiring verified expect postconditions and durable state evidence for meaningful UI flows. Use when triage needs visual reproduction, implementation needs behavioral proof, review needs interactive confirmation…

nicknisi/dotfiles · 68 tokens

github-contributor

End-to-end playbook for shipping high-quality pull requests to open-source projects you don't maintain — discovery, CONTRIBUTING compliance, PR-size check, minimal-diff implementation, PR description with AI-assisted disclosure, conflict resolution, and post-submission maintainer interaction. Use whenever creating…

daymade/claude-code-skills · 133 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

write-pr

Reference standards for writing pull request titles and descriptions in the tldraw repository, plus the pre-flight comment sweep over the diff. Use as supporting guidance when another skill or workflow needs PR content standards, not as the user-facing create/update PR workflow.

tldraw/tldraw · 53 tokens