gitlab-integration

A set of instructions for working with GitLab, a code-hosting service, through its command-line tool. It covers merge requests, issues, pipelines, and repository operations.

In plain words
What is it for?
Creating and reviewing merge requests, listing or managing issues, checking CI/CD pipeline status, and handling GitLab repository actions.
Why use it?
It gives coding agents a defined way to perform and inspect common GitLab tasks from the terminal.

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/arnabdeypolimi/claude_code_setup/gitlab-integration
Any agent
npx skills add arnabdeypolimi/claude_code_setup --skill gitlab-integration
Clone the repo
git clone --depth 1 https://github.com/arnabdeypolimi/claude_code_setup

Made for: Claude Code, Codex.

Per session 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,208 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.00058 $0.01208
Opus 5 $0.00029 $0.00604
Sonnet 5 $0.00012 $0.00242
Haiku 4.5 $0.00006 $0.00121

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

Security

Grade A, and why

gitlab-integration 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 2d 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.

.claude/skills/gitlab-integration/SKILL.md · 222 lines

How it starts

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

GitLab Integration

Patterns for interacting with GitLab via the glab CLI.

Authentication

Check Auth Status

glab auth status

Login

glab auth login
glab auth login --token <token>

Merge Requests

Create MR

# Basic
glab mr create --title "Title" --description "Description"

# With target branch
glab mr create --title "Title" --target-branch main

# With labels and assignee
glab mr create --title "Title" --label "feature,priority:high" --assignee username

# Draft MR
glab mr create --title "Draft: Title" --draft

Create MR via Push Options

git push -o merge_request.create \
         -o merge_request.target=<branch> \
         -o merge_request.title="Title" \
         -o merge_request.description="Description" \
         -o merge_request.label="label1,label2" \
         -o merge_request.assignee="username" \
         -o merge_request.remove_source_branch

List MRs

glab mr list                          # All open MRs
glab mr list --state opened|merged|closed
glab mr list --target-branch=main
glab mr list --author=username
glab mr list --assignee=@me
glab mr list --label="feature"

View MR

glab mr view <id>                     # View details
glab mr view <id> --comments          # View with comments
glab mr view <id> --web               # View in browser
glab mr diff <id>                     # View diff

Update MR

glab mr update <id> --title "New Title"
glab mr update <id> --description "New description"
glab mr update <id> --label "new-label"
glab mr update <id> --ready           # Mark ready (remove draft)

MR Actions

glab mr approve <id>
glab mr merge <id>
glab mr merge <id> --squash
glab mr close <id>
glab mr reopen <id>

MR Comments

glab mr comment <id> --message "Comment text"
glab mr note <id> "Note text"

Issues

List Issues

glab issue list                       # All open issues
glab issue list --state opened|closed
glab issue list --label "bug"
glab issue list --assignee @me

Read the full file on GitHub · 222 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. 2d ago First seen · 222 lines · 58 tokens per session scan A 77d5019b92f8

Subscribe to this mod's changes

gitlab-integration is a skill published in the GitHub repository arnabdeypolimi/claude_code_setup (4 stars, last pushed 3mo ago), licensed MIT. It adds 58 tokens to every session and 1,208 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.

Related

Other skills, from other repositories

ci-cd

Design CI/CD pipelines for GitHub Actions, GitLab CI, and CircleCI with matrix builds, test sharding, caching, Docker layer caching, OIDC auth, deployment strategies (rolling, blue-green, canary), auto-rollback, self-hosted runners, and environment protection with manual approvals. Use when user asks to set up CI/CD…

EliasOulkadi/shokunin · 132 tokens

embed-ci-setup

Quickly create a CI Pipeline for embedded repositories (SonarQube incremental C-language scanning). Triggers when the user says "add a Pipeline to this repo", "create CI configuration", "integrate SonarQube", "embedded project needs a Pipeline", or when a repo has no .gitlab-ci.yml and cannot merge MRs.

addxai/enterprise-harness-engineering · 75 tokens

gitlab-ci

Create and review .gitlab-ci.yml files based on GitLab CI best practices and company standards. Use when creating CI/CD pipelines for new projects, reviewing existing .gitlab-ci.yml, or optimizing pipeline configuration.

addxai/enterprise-harness-engineering · 47 tokens

ci-cd-pipeline

Create and optimize CI/CD pipelines with GitHub Actions, automated testing, deployment, and release workflows. Use when setting up continuous integration, deployment automation, or improving build pipelines.

asgarovf/locusai · 41 tokens

dsh-ci-test-reliability

Design, review, and diagnose DeepSeek Harness tests and fixtures that can fail nondeterministically under CI concurrency, shared host resources, clocks, process-global state, subprocesses, network listeners, or asynchronous teardown. Use when adding or changing tests with those risks, investigating flaky CI, or…

deepseek-ai/deepseek-harness · 83 tokens

ci-security-scanning-with-strix

Add security scanning to CI/CD with Strix — GitHub Actions, GitLab CI, or any pipeline — so every pull request gets a diff-scoped AI pentest that blocks vulnerable code before it merges, with results as PR comments and SARIF uploaded to code scanning. Covers both the self-hosted open-source CLI (runs in your runner)…

usestrix/strix · 140 tokens