gitlab-ci

gitlab-ci is a skill for Claude Code from grandcamel/GitLab-Assistant-Skills. It costs 63 tokens per session (2,126 once invoked), scanned A, original, MIT.

A set of commands for managing GitLab CI/CD, the automated process that builds, tests, and deploys code.

In plain words
What is it for?
Use it to view, run, retry, and inspect pipelines and jobs, read job logs, download build files, and check CI configuration.
Why use it?
It gives you one way to inspect failed or running automation without searching through GitLab manually.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the gitlab-assistant-skills plugin — 19 skills, 3 commands shipped together

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/grandcamel/gitlab-assistant-skills/gitlab-ci
Any agent
npx skills add grandcamel/GitLab-Assistant-Skills --skill gitlab-ci
Clone the repo
git clone --depth 1 https://github.com/grandcamel/GitLab-Assistant-Skills

Made for: Claude Code.

Or install gitlab-assistant-skills, the plugin that ships this one along with the rest of its 19 skills, 3 commands.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/grandcamel/gitlab-assistant-skills/gitlab-ci.svg)](https://agentmods.dev/skills/grandcamel/gitlab-assistant-skills/gitlab-ci)
Your own site
<a href="https://agentmods.dev/skills/grandcamel/gitlab-assistant-skills/gitlab-ci"><img src="https://agentmods.dev/badge/skills/grandcamel/gitlab-assistant-skills/gitlab-ci.svg" alt="Measured on agentmods" height="20"></a>
Per session 63 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,126 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.1 $0.00063 $0.02126
Opus 5 $0.00032 $0.01063
Sonnet 5 $0.00013 $0.00425
Haiku 4.5 $0.00006 $0.00213

Measured 6d ago against content hash 31edc998a1b3, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

gitlab-ci 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 6d 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.

skills/gitlab-ci/SKILL.md · 356 lines

How it starts

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

CI/CD Pipeline Skill

CI/CD pipeline operations for GitLab using the glab CLI.

Quick Reference

Operation Command Risk
View status glab ci status -
View pipeline glab ci view -
List pipelines glab ci list -
Run pipeline glab ci run ⚠️
Get pipeline JSON glab ci get -
Retry job glab ci retry <job-id> ⚠️
Trace job glab ci trace <job-id> -
Download artifacts glab ci artifact -
Lint CI config glab ci lint -
Delete pipeline glab ci delete <id> ⚠️⚠️

Risk Legend: - Safe | ⚠️ Caution | ⚠️⚠️ Warning | ⚠️⚠️⚠️ Danger

When to Use This Skill

ALWAYS use when:

  • User wants to check pipeline/build status
  • User mentions "CI", "CD", "pipeline", "build", "job", "deploy"
  • User wants to trigger or retry builds
  • User wants to view job logs

NEVER use when:

  • User wants to manage CI/CD variables (use gitlab-variable instead)
  • User wants to manage schedules (use gitlab-schedule skill)

Available Commands

View Pipeline Status

glab ci status [options]

Options:

Flag Description
-b, --branch=<branch> Check status for specific branch
-l, --live Show status in real-time (updates automatically)
-c, --compact Show compact view

Examples:

# View current branch pipeline status
glab ci status

# View status for specific branch
glab ci status --branch=main

# Watch status live (updates in real-time)
glab ci status --live

# Compact view
glab ci status --compact

Interactive Pipeline View

glab ci view [options]

Options:

Flag Description
-b, --branch=<branch> View pipeline for specific branch/tag
-p, --pipeline-id=<id> View specific pipeline by ID
-w, --web Open pipeline in browser

Keyboard shortcuts in view mode:

Key Action
Esc or q Close logs or return to pipeline
Ctrl+R or Ctrl+P Run, retry, or play a job
Tab / Arrow keys Navigate
Enter Confirm selection
Ctrl+D Cancel job / Quit view

Read the full file on GitHub · 356 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. 6d ago First seen · 356 lines · 63 tokens per session scan A 31edc998a1b3

Subscribe to this mod's changes

gitlab-ci is a skill published in the GitHub repository grandcamel/GitLab-Assistant-Skills (4 stars, last pushed 7mo ago), licensed MIT. It adds 63 tokens to every session and 2,126 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.