gitlab-setup

gitlab-setup is a skill for Claude Code, Codex from structured-world/gitlab-mcp. It costs 43 tokens per session (539 once invoked), scanned A, original, Apache-2.0.

A setup guide for diagnosing a GitLab connection used by coding tools. It checks the selected account, permissions, connection mode, and available GitLab actions without asking for secret credentials.

In plain words
What is it for?
Use it to troubleshoot GitLab access in Codex or Claude Code, inspect the connected identity, and find the correct account or namespace settings.
Why use it?
It helps distinguish a broken connection from missing permissions, read-only access, disabled features, or unsupported GitLab capabilities. This avoids treating an empty result as a failed connection.

Skill for Claude CodeCodex

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

Good fit Use it to troubleshoot GitLab access in Codex or Claude Code, inspect the connected identity, and find the correct account or namespace settings.

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/structured-world/gitlab-mcp/gitlab-setup"><img src="https://agentmods.dev/badge/skills/structured-world/gitlab-mcp/gitlab-setup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 539 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.00043 $0.00539
Opus 5.5 $0.00017 $0.00216
Sonnet 5.5 $0.00009 $0.00108
Haiku 4.5 $0.00004 $0.00054

Measured 1mo ago against content hash c942b8985dac, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

gitlab-setup 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 1mo 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.

packages/gitlab-mcp/skills/gitlab-setup/SKILL.md · 24 lines

What it actually says

GitLab connection and access

Use the installed GitLab MCP tools; their prefix depends on the host and connection name. Discover the available catalog rather than assuming a fixed prefix. Keep the user's selected account and namespace. Do not request tokens, passwords, cookies, or client secrets in conversation.

If the catalog exposes gitlab_plugin_open_connection, use it for initial setup, reconnect or a requested connection change. Its private panel accepts either a GitLab address for local core execution or an existing HTTP MCP endpoint. Wait for a verified identity and refresh discovery before using backend tools. Never pass credentials through chat or call the app-only connection mutation tool on the user's behalf. The backend's settings and authorization remain authoritative after connecting.

  1. Call manage_context with {"action":"show"} to identify the host, read-only mode, preset and namespace scope. This works while GitLab is disconnected.
  2. Call manage_context with {"action":"whoami"} when available to inspect the connected identity, token permissions, expiry, instance version/tier and warnings. Report only what the response proves. An unavailable diagnostic is not proof of an invalid credential.
  3. Explain the concrete cause: connection failure, insufficient permission, read-only policy, disabled feature, denied action, or unsupported instance capability. Distinguish these from an empty successful query.
  4. If the installed catalog exposes settings or account-linking tools, use their declared interface for the requested setup. Otherwise direct the user to this connection's host-managed authentication/settings entry point. Do not invent a settings tool, edit global instructions, or place credentials in commands/files.
  5. To change a requested preset, list the available choices first with list_presets and use the returned name. Change only the requested setting, then verify with show and refresh tool discovery. Another GitLab account or instance is reached by signing in to it through the host's connection settings; a chat cannot switch the account it is connected with. Context mutations can affect other sessions on existing shared servers; report this before a requested shared setting change.

Native structured context results use { "action": "...", "data": ... }. The text content remains the previous JSON domain result for clients that consume text. Respect isError, including authentication metadata; a failed result is never successful setup. After a mutation times out, inspect the current context before considering another attempt.

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. 1mo ago Changed · +7 lines c942b8985dac
  2. 1mo ago Changed 06baa4604cbb
  3. 1mo ago First seen · 17 lines · 43 tokens per session scan A 5520a865f0e3

Subscribe to this mod's changes

gitlab-setup is a skill published in the GitHub repository structured-world/gitlab-mcp (8 stars, last pushed today), licensed Apache-2.0. It adds 43 tokens to every session and 539 once invoked, about $0.0002 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-10-10.

Related

gitlab-setup compared with skills from other repositories

gitlab-setup next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
gitlab-setupstructured-world/gitlab-mcpSkill8todayApache-2.0A43Claude Code, Codex
feedback-nudgezooza-dev/zooza-mcp-serverSkill67d agoMITA38Claude Code
release-and-publishcyanheads/nhtsa-vehicle-safety-mcp-serverSkill314d agoApache-2.0A155Claude Code
release-and-publishcyanheads/mailchimp-mcp-serverSkill28d agoApache-2.0A155Claude Code
git-wrapupcyanheads/nhtsa-vehicle-safety-mcp-serverSkill314d agoApache-2.0A109Claude Code
git-wrapupcyanheads/mailchimp-mcp-serverSkill28d agoApache-2.0A109Claude Code
orchestrationscyanheads/mailchimp-mcp-serverSkill28d agoApache-2.0A159Claude Code