gitlab-discovery

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

A GitLab project and namespace finder. GitLab namespaces are account or group areas that contain projects, and a project is the repository and its related work.

In plain words
What is it for?
Use it to find a project or group, confirm its exact path or ID, and establish the target for repository, merge request, work-item, or CI tasks.
Why use it?
It prevents follow-up actions from targeting the wrong repository, account, or group. It also handles ambiguous names by asking for clarification instead of guessing.

Skill for Claude CodeCodex

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

Good fit Use it to find a project or group, confirm its exact path or ID, and establish the target for repository, merge request, work-item, or CI tasks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/structured-world/gitlab-mcp/gitlab-discovery
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-discovery
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-discovery

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/structured-world/gitlab-mcp/gitlab-discovery"><img src="https://agentmods.dev/badge/skills/structured-world/gitlab-mcp/gitlab-discovery.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 47 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 635 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.00047 $0.00635
Opus 5.5 $0.00019 $0.00254
Sonnet 5.5 $0.00009 $0.00127
Haiku 4.5 $0.00005 $0.00064

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

Security

Grade A, and why

gitlab-discovery 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 7d 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-discovery/SKILL.md · 17 lines

What it actually says

Find the GitLab target

Use tools from the selected GitLab connection. Read manage_context with {"action":"show"} when the account/namespace is unclear. Existing namespace restrictions remain authoritative; do not switch accounts or broaden scope to get around a missing result.

  1. Find a named project with browse_projects, for example {"action":"search","q":"backend","per_page":20,"page":1}. For projects in a known group use {"action":"list","group_id":"example-group","per_page":20,"page":1}. browse_namespaces provides namespace discovery when the target is a group.
  2. Select the exact returned path_with_namespace or project ID. If several results fit and conversation context cannot resolve them, ask for the target; do not guess from the first result.
  3. Inspect the selected project with {"action":"get","project_id":"example-group/backend"}. Explain the returned identity and accessible repository details, then use that same project for follow-ups.
  4. Keep only the fields you need: list and search actions take a JMESPath jmespath expression applied to the result before it is returned, for example {"action":"list","group_id":"example-group","per_page":100,"page":1,"jmespath":"[?!archived].{path: path_with_namespace, activity: last_activity_at}"}. Filter with [?field=='value'], pick fields with .{name: field} or [].field, count with length(@), group with group_by(@, &field); re_test(s, pattern), re_find(s, pattern) and re_replace(s, pattern, replacement) take RE2 patterns, e.g. [?re_test(name, '(?i)^api-')]. The answer is {data, jmespath: {input_items, output_items}}, plus next_page, partial or truncated when the full result had them; an empty data means nothing on this page matched, not that nothing exists: while next_page is present, a full page came back, or partial/truncated is set, read further pages before reporting that nothing matched within this account/scope. An invalid expression is refused before GitLab is called.
  5. Retrieve additional pages only as needed to satisfy the request. For an empty result, report that nothing matched within this account/scope. On a tool error, diagnose access instead of claiming the project does not exist.

For subsequent MR review, work items or CI investigation, reuse the verified project identity and load the corresponding installed skill using its host-provided path. Do not assume a repository checkout or an absolute skill installation directory. This discovery workflow performs no GitLab mutations.

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. 7d ago Changed · +1 lines a7b5a9005c73
  2. 1mo ago First seen · 16 lines · 47 tokens per session scan A 220d595b0d81

Subscribe to this mod's changes

gitlab-discovery is a skill published in the GitHub repository structured-world/gitlab-mcp (8 stars, last pushed today), licensed Apache-2.0. It adds 47 tokens to every session and 635 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-discovery compared with skills from other repositories

gitlab-discovery next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
gitlab-discoverystructured-world/gitlab-mcpSkill8todayApache-2.0A47Claude 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