glab-repo

glab-repo is a skill for Claude Code, Codex from vince-winkintel/gitlab-cli-skills. It costs 81 tokens per session (2,554 once invoked), scanned A, original, MIT.

A GitLab CLI tool for managing repositories and projects, which are shared codebases with settings and collaborators.

In plain words
What is it for?
Clone, create, fork, archive, view, update, delete, search, transfer, and configure repositories, including managing members and cleaning up local branches.
Why use it?
It puts common repository tasks in one command-line interface instead of requiring separate GitLab pages or manual Git commands.

Skill for Claude CodeCodex

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

Good fit Clone, create, fork, archive, view, update, delete, search, transfer, and configure repositories, including managing members and cleaning up local branches.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/vince-winkintel/gitlab-cli-skills/glab-repo
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 vince-winkintel/gitlab-cli-skills --skill glab-repo
Clone the repo
git clone --depth 1 https://github.com/vince-winkintel/gitlab-cli-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 glab-repo

README.md
[![agentmods](https://agentmods.dev/badge/skills/vince-winkintel/gitlab-cli-skills/glab-repo/github.svg)](https://agentmods.dev/skills/vince-winkintel/gitlab-cli-skills/glab-repo)
Your own site
<a href="https://agentmods.dev/skills/vince-winkintel/gitlab-cli-skills/glab-repo"><img src="https://agentmods.dev/badge/skills/vince-winkintel/gitlab-cli-skills/glab-repo/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 glab-repo

Your own site · 80×15
<a href="https://agentmods.dev/skills/vince-winkintel/gitlab-cli-skills/glab-repo"><img src="https://agentmods.dev/badge/skills/vince-winkintel/gitlab-cli-skills/glab-repo.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 81 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,554 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 169
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
How audits are shown
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.00081 $0.02554
Opus 5.5 $0.00032 $0.01022
Sonnet 5.5 $0.00016 $0.00511
Haiku 4.5 $0.00008 $0.00255

Measured 2d ago against content hash 23ebc64a8a44, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

glab-repo 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.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/sync-fork.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

glab-repo/SKILL.md · 310 lines

How it starts

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

glab repo

Work with GitLab repositories and projects.

Repository URLs returned by the API are validated before glab passes them to Git. Supported URL schemes and scp-like SSH syntax are accepted; option-like strings, remote-helper transports, whitespace, and control characters are rejected. If a clone, fork, or remote operation fails with an invalid remote URL, inspect the exact trusted project/host metadata rather than bypassing validation or handing that string directly to Git.

Full clone URLs and host routing

A plain repo clone <full-URL> passes the URL to Git without requiring a GitLab API client or current-user lookup. Git still handles transport authentication; this does not make a private clone anonymous. Namespace/project shorthand and group cloning still use the selected GitLab host/API context.

A full-URL --wiki clone does use the API on the URL's own host, including a port, rather than the configured default host. It strips that host's configured subfolder before the project lookup and obtains the wiki URL from the project. Review the exact URL host before cloning: stored or environment credentials can be sent to it. A trusted authenticated host:port/group/project repository selector is recognized by --repo; use a full URL to make a nonstandard endpoint unambiguous.

repo view reads the README even when the default branch contains a slash. Fork creation waits between import-status polls; allow it to finish and inspect the existing fork before retrying. Clone writes locally and fork creation writes remotely, so approve the intended destinations and side effects first.

Quick start

# Clone a repository
glab repo clone group/project

# Clone the project's wiki repository
glab repo clone --wiki group/project

# Create new repository
glab repo create my-new-project --public

# Fork a repository
glab repo fork upstream/project

# View repository details
glab repo view

# Add a Git remote from a GitLab project reference
glab repo remote add group/project --name upstream

# Prune local branches whose MRs have been merged
glab repo prune --dry-run
glab repo prune --yes

# Search for repositories
glab repo search "keyword"

Read the full file on GitHub · 310 lines

Files

What ships with it

2 files 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. 2d ago Changed · +8 lines 23ebc64a8a44
  2. 16d ago Changed · +7 lines c05c813f677d
  3. 20d ago Changed · +2 lines dfbc54d2d408
  4. 1mo ago Changed · +2 lines bcbd076d2617
  5. 2mo ago First seen · 291 lines · 81 tokens per session scan A f6d3c18f5717

Subscribe to this mod's changes

glab-repo is a skill published in the GitHub repository vince-winkintel/gitlab-cli-skills (49 stars, last pushed today), licensed MIT. It adds 81 tokens to every session and 2,554 once invoked, about $0.0003 per session on Opus 5.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-30.