gitlab-api

gitlab-api is a skill for Claude Code, Codex from pantheon-org/tekhne. It costs 86 tokens per session (1,766 once invoked), scanned A, original, MIT.

A GitLab integration for retrieving merge request details, comments, and review discussions. A merge request is GitLab’s place for proposing and reviewing code changes.

In plain words
What is it for?
Use it to collect review comments, filter unresolved issues, inspect inline feedback, and create merge request activity reports.
Why use it?
It saves you from manually searching GitLab for reviewer feedback and unresolved discussion threads.

Skill for Claude CodeCodex

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

Good fit Use it to collect review comments, filter unresolved issues, inspect inline feedback, and create merge request activity reports.

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/pantheon-org/tekhne/gitlab-api"><img src="https://agentmods.dev/badge/skills/pantheon-org/tekhne/gitlab-api.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 86 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,766 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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 high

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 →

  • high Privilege Escalation · line 94
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
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.00086 $0.01766
Opus 5.5 $0.00034 $0.00706
Sonnet 5.5 $0.00017 $0.00353
Haiku 4.5 $0.00009 $0.00177

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

Security

Grade A, and why

gitlab-api scanned grade A with 1 finding 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.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/get_mr_comments.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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- Requires: `curl`, `jq`
skills/specialized/gitlab-api/SKILL.md · 164 lines

How it starts

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

GitLab API Integration

Retrieve and analyze GitLab merge request comments and metadata using authenticated API calls.

Mindset

Every GitLab MR comment fetch is a snapshot of a moving target, not a stable record. Comments get edited, resolved, and deleted between when a review happens and when it's analyzed, and the GitLab API returns 200 OK even when the payload inside is an error object — HTTP status alone does not mean "this data is valid." Treat every fetch as provisional: validate the shape of what came back before trusting it, and re-fetch rather than cache when the analysis is time-sensitive (an "unresolved discussion" report generated from an hour-old cache is actively misleading, not just stale).

The second load-bearing habit: System and Type are two independent axes, not one. System: true/false answers "who/what generated this" (bot vs human); Type: DiffNote/comment answers "where does this comment live" (inline on a diff line vs a general MR-level remark). A report that conflates them — e.g. treating all DiffNotes as human or all comments as automated — will misclassify real feedback.

When to Use

  • Fetching, filtering, or summarizing GitLab MR comment threads, reviewer feedback, or approval/discussion status via the API
  • Building a script or report that needs to distinguish human review feedback from automated/bot comments, or inline code comments from general discussion
  • Diagnosing why an MR API call fails (401/404, malformed URL, missing scope)

When NOT to Use

  • GitLab CI/CD pipeline configuration or .gitlab-ci.yml authoring — unrelated to the MR comments API this skill wraps
  • Working with GitLab issues, epics, or wikis — this skill's script and output format are scoped to merge request discussions only

Prerequisites

  • Set GITLAB_TOKEN or GITLAB_PAT with read_api scope
  • Requires: curl, jq

Available Scripts

get_mr_comments.sh

Fetches all comments from a GitLab merge request. Run it relative to this skill's own directory:

Read the full file on GitHub · 164 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. 1mo ago Changed · +37 lines 516dc4264cbd
  2. 1mo ago First seen · 127 lines · 86 tokens per session scan A 2ff8804ed304

Subscribe to this mod's changes

gitlab-api is a skill published in the GitHub repository pantheon-org/tekhne (10 stars, last pushed yesterday), licensed MIT. It adds 86 tokens to every session and 1,766 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories