gl-publish

gl-publish is a skill for Codex from CobolJunkie/gitlab-mcp. It costs 62 tokens per session (450 once invoked), scanned A, original, MIT.

A procedure for publishing local code changes to GitLab by creating a branch, commit, push, and draft merge request.

In plain words
What is it for?
Use it when you want to push local work and open a draft GitLab merge request.
Why use it?
It guides the agent through checking the intended changes and publishing only the requested files.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it when you want to push local work and open a draft GitLab merge request.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/coboljunkie/gitlab-mcp/gl-publish
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 CobolJunkie/gitlab-mcp --skill gl-publish
Clone the repo
git clone --depth 1 https://github.com/CobolJunkie/gitlab-mcp

Made for: 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 gl-publish

README.md
[![agentmods](https://agentmods.dev/badge/skills/coboljunkie/gitlab-mcp/gl-publish/github.svg)](https://agentmods.dev/skills/coboljunkie/gitlab-mcp/gl-publish)
Your own site
<a href="https://agentmods.dev/skills/coboljunkie/gitlab-mcp/gl-publish"><img src="https://agentmods.dev/badge/skills/coboljunkie/gitlab-mcp/gl-publish/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 gl-publish

Your own site · 80×15
<a href="https://agentmods.dev/skills/coboljunkie/gitlab-mcp/gl-publish"><img src="https://agentmods.dev/badge/skills/coboljunkie/gitlab-mcp/gl-publish.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 62 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 450 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.00062 $0.00450
Opus 5 $0.00031 $0.00225
Sonnet 5 $0.00012 $0.00090
Haiku 4.5 $0.00006 $0.00045

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

Security

Grade A, and why

gl-publish 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/gl-publish/SKILL.md · 47 lines

What it actually says

Publish Changes to GitLab

Use local git for checkout state, branches, staging, commits, and pushes. Use the bundled GitLab MCP tools for project resolution and merge-request creation. Use glab only as a fallback when it is installed and the MCP operation is unavailable.

Workflow

  1. Inspect git status --short, the current branch, the configured remotes, and the full intended diff.
  2. Confirm that the changed files match the user's requested scope. Preserve unrelated work and do not stage it.
  3. If a new branch is needed, follow the repository's documented branch naming convention when one exists; otherwise use gitlab/<short-description>.
  4. Run focused tests or checks appropriate to the change.
  5. Stage only the intended files and review the staged diff.
  6. Create one clear commit unless the user requested a different history.
  7. Push the branch to the resolved GitLab remote.
  8. Use create_merge_request to open a draft merge request with:
    • a concise title;
    • a summary of the change;
    • verification performed;
    • known limitations or follow-ups.
  9. Read back the merge request and return its URL.

Guardrails

  • Do not include unrelated, generated, credential, or secret files.
  • Do not rewrite history, force-push, delete branches, merge, or mark the merge request ready unless explicitly requested.
  • Do not claim success until the push and merge-request creation both succeed.
  • If tests fail, report the failure and stop before publishing unless the user explicitly directs otherwise.
  • If the current branch already has unrelated commits, pause before building a merge request on top of them.

Output

Return the branch, commit, tests, and draft merge-request URL. Clearly identify anything not published.

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. 8d ago First seen · 47 lines · 62 tokens per session scan A 98a42e0b3350

Subscribe to this mod's changes

gl-publish is a skill published in the GitHub repository CobolJunkie/gitlab-mcp (0 stars, last pushed 21d ago), licensed MIT. It adds 62 tokens to every session and 450 once invoked, about $0.0003 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.