gitlab-ci

gitlab-ci is a skill for Claude Code from addxai/enterprise-harness-engineering. It costs 47 tokens per session (2,557 once invoked), scanned A, original, Apache-2.0.

A guide for creating and reviewing GitLab CI configuration files, which define the automated steps for testing, checking, and deploying a project. It follows GitLab guidance and the stated company rules.

In plain words
What is it for?
Use it to create a new .gitlab-ci.yml file, inspect an existing one, or improve its speed and maintainability. It can also check files pulled in through the configuration's include statements.
Why use it?
It reduces mistakes and repetition in CI configuration and points out required fixes, recommended improvements, and optional optimizations.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the enterprise-harness-engineering plugin — 25 skills shipped together

Good fit Use it to create a new .gitlab-ci.yml file, inspect an existing one…

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/addxai/enterprise-harness-engineering/gitlab-ci
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 addxai/enterprise-harness-engineering --skill gitlab-ci
Clone the repo
git clone --depth 1 https://github.com/addxai/enterprise-harness-engineering

Made for: Claude Code.

Or install enterprise-harness-engineering, the plugin that ships this one along with the rest of its 25 skills.

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/addxai/enterprise-harness-engineering/gitlab-ci.svg)](https://agentmods.dev/skills/addxai/enterprise-harness-engineering/gitlab-ci)
Your own site
<a href="https://agentmods.dev/skills/addxai/enterprise-harness-engineering/gitlab-ci"><img src="https://agentmods.dev/badge/skills/addxai/enterprise-harness-engineering/gitlab-ci.svg" alt="Measured on agentmods" 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 2,557 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.02557
Opus 5 $0.00023 $0.01278
Sonnet 5 $0.00009 $0.00511
Haiku 4.5 $0.00005 $0.00256

Measured 7d ago against content hash 319f39db1d7e, 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 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.

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

How it starts

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

GitLab CI

Description

Create and review .gitlab-ci.yml files. Based on GitLab CI official best practices, DRY/SSOT design patterns, and company standards.

Applicable scenarios:

  • Creating .gitlab-ci.yml for new projects
  • Reviewing existing .gitlab-ci.yml
  • Optimizing CI/CD pipeline performance and maintainability

Creation mode: Confirm project tech stack and deployment approach → generate configuration based on rules below → self-check against all rules.

Review mode: Read .gitlab-ci.yml and files referenced by include: → check against rules item by item (annotate ID) → output report:

  • Must Fix: Violates mandatory rules
  • Suggested Improvement: Does not follow best practices
  • Optional Optimization: Further optimization opportunity

Company Standards

Runner Tag Convention

Tag Purpose
sonar-scanner General CI tasks

Set uniformly via default.tags:

default:
  tags:
    - sonar-scanner

Docker Image Convention

Manage image versions uniformly via top-level variables:; hard-coding in jobs is prohibited:

variables:
  PYTHON_IMAGE: python:3.11-slim
  NODE_IMAGE: node:20-slim
  GO_IMAGE: golang:1.22-alpine

ArgoCD GitOps Integration

CI is only responsible for Build & Test & Publish; deployment is triggered via ArgoCD GitOps:

  • CI builds image → pushes to Registry → updates image tag in GitOps repo
  • ArgoCD watches GitOps repo changes → auto-syncs to cluster
  • Preview environments: MR branches auto-create temporary namespaces, destroyed after merge

Red line: Directly running kubectl apply / helm install to production environments from CI is prohibited.

Rules

DRY (Don't Repeat Yourself)

D1: default: for shared configuration

tags, image, interruptible, retry, and other cross-job shared configuration must go in default:; repeating in each job is prohibited.

D2: extends: to eliminate job duplication

When multiple jobs share the same configuration, extract a hidden job (.job-name) as a base class; child jobs inherit via extends:.

Read the full file on GitHub · 336 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. 7d ago First seen · 336 lines · 47 tokens per session scan A 319f39db1d7e

Subscribe to this mod's changes

gitlab-ci is a skill published in the GitHub repository addxai/enterprise-harness-engineering (44 stars, last pushed 4mo ago), licensed Apache-2.0. It adds 47 tokens to every session and 2,557 once invoked, about $0.0002 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-30.

Related

Other skills, from other repositories

chinese-git-workflow

A reference for configuring Git with Chinese code-hosting services such as Gitee, Coding.net, GitLab China, and CNB, including SSH, HTTPS, credentials, CI, and repository mirroring.

jnMetaCode/superpowers-zh · 69 tokens

turborepo-caching

Configure Turborepo for efficient monorepo builds with local and remote caching. Use when setting up Turborepo, optimizing build pipelines, or implementing distributed caching.

wshobson/agents · 42 tokens

lov-release-via-cicd

A release workflow for Node, Tauri, Vite, shell, and GitHub Release projects. It checks or configures automated versioning and publishing, including macOS signing and notarisation when relevant.

lovstudio/skills · 98 tokens

Automate repository triage and recurring repo maintenance with guarded GitHub agent workflows

Use GitHub Agentic Workflows to let an agent triage issues, inspect CI failures, or deliver scheduled repository upkeep inside GitHub Actions with explicit workflow definitions and reviewable runs. This is for bounded, repeatable repository operations, not for listing GitHub as a general coding platform.

agentskillexchange/skills · 74 tokens

ci-cd-pipelines

When designing GitHub Actions workflows, optimizing pipeline speed, implementing deployment gates.

sawrus/agent-guides · 0 tokens

Advance GitOps app manifests to newer container tags with Argo CD Image Updater

Track approved container images and write back the matching GitOps manifest changes instead of hand-editing tags across Argo CD applications.

agentskillexchange/skills · 42 tokens