create-mr

create-mr is a skill for Claude Code, Codex from encoreshao/encore-skills. It costs 30 tokens per session (1,777 once invoked), scanned A, original, MIT.

A workflow for creating a GitLab Merge Request, a review page that proposes merging a branch's changes into another branch.

In plain words
What is it for?
Use it after code review to confirm the diff, commit any remaining work, check CI status, and open a concise Merge Request linked to the issue.
Why use it?
It makes the change's purpose and resolution status clear to reviewers and checks that the request targets the correct source branch. It also verifies the branch, commits, and pipeline before submission.

Skill for Claude CodeCodex

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

Good fit Use it after code review to confirm the diff, commit any remaining work, check CI status, and open a concise Merge Request linked to the issue.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/encoreshao/encore-skills/create-mr"><img src="https://agentmods.dev/badge/skills/encoreshao/encore-skills/create-mr.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 30 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,777 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.00030 $0.01777
Opus 5 $0.00015 $0.00889
Sonnet 5 $0.00006 $0.00355
Haiku 4.5 $0.00003 $0.00178

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

Security

Grade A, and why

create-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 9d 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/create-mr/SKILL.md · 173 lines

How it starts

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

Create MR

Use after review-code passes. A good MR description tells the reviewer what problem was solved and whether it's actually fixed — in 30 seconds or less. Don't list every file you touched. Don't over-explain. Give them the mental model they need to review well.

Pre-flight

The MR must target the branch you actually branched from — not always main. If fix-issue created your branch, that base branch was recorded automatically; resolve it before diffing or opening the MR.

RESOLVE="$HOME/.claude/skills/gitlab-config/scripts/auto_resolve_issue.py"
BRANCH=$(git branch --show-current)
BASE=$(git config --local --get branch.$BRANCH.base || echo main)

git fetch origin
git status --porcelain             # anything uncommitted?
git log origin/$BASE..HEAD --oneline       # confirm what's going in
glab pipeline status 2>/dev/null || true   # check CI

If git status --porcelain shows uncommitted changes, commit them before pushing — an MR should never leave work behind uncommitted. Follow fix-issue's commit convention (one commit per logical concern):

git add <files>
git commit -m "fix(scope): what was broken and how it's fixed

Closes #<issue-number>"

Don't commit unrelated or leftover debug changes — if something in the working tree doesn't belong in this MR, that's a signal to stop and ask, not to bundle it in.

Other people may have already posted context in the issue — a prior attempt, a linked commit, a related MR, a decision made in a comment. If your MR description doesn't mention it, reviewers re-derive context that already exists, or miss that something relevant already happened.

GITLAB="$HOME/.claude/skills/gitlab-config/scripts/gitlab_api.py"
python $GITLAB sync-issue <project> <issue_iid>   # merges into the cache — see gitlab-config

Scan the returned notes[] for: other MRs (!123, "mentioned in merge request"), commits ("mentioned in commit <sha>"), other issues, or a comment stating a decision or a prior fix attempt. If you find any, list them — this becomes the MR's "Related" section below. If there's nothing, skip that section; don't invent context.

Read the full file on GitHub · 173 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. 9d ago First seen · 173 lines · 30 tokens per session scan A a056d4bac100

Subscribe to this mod's changes

create-mr is a skill published in the GitHub repository encoreshao/encore-skills (2 stars, last pushed 20d ago), licensed MIT. It adds 30 tokens to every session and 1,777 once invoked, about $0.0002 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

git-workflow-and-versioning

Structures git workflow practices. Use when making any code change. Use when committing, branching, resolving conflicts, splitting uncommitted work in a messy working tree into clean atomic commits, opening or reviewing a pull request (PR), pushing to a remote, or when you need to organize work across multiple…

addyosmani/agent-skills · 89 tokens

chinese-git-workflow

A reference for configuring Git with Chinese code-hosting services such as Gitee, Coding.net, GitLab China, and CNB, including SSH, HTTPS, credentials, CI, and repository mirroring.

jnMetaCode/superpowers-zh · 69 tokens

chinese-commit-conventions

A Chinese-language guide to Conventional Commits, a format for writing consistent Git commit messages, plus related changelog, commit-checking, and commit-helper configuration.

jnMetaCode/superpowers-zh · 65 tokens

using-git-worktrees

A guide to using Git worktrees, which let you keep multiple branches in separate folders at the same time.

jnMetaCode/superpowers-zh · 44 tokens

finishing-a-development-branch

A process for finishing a completed development branch. A branch is a separate line of code changes that can later be merged or submitted as a pull request.

jnMetaCode/superpowers-zh · 25 tokens

skillshare-changelog

Generate CHANGELOG.md entry from recent commits in conventional format. Also syncs the website changelog page. Use this skill whenever the user asks to: generate a changelog, document what changed between tags, or create a new CHANGELOG entry. If you see requests like "write the changelog for v0.17", "what changed…

runkids/skillshare · 134 tokens