gitlab-ci-expert

gitlab-ci-expert is an agent for Claude Code from andisab/swe-marketplace. It costs 32 tokens per session (1,627 once invoked), scanned A, original, MIT.

A specialist for building and maintaining GitLab CI/CD pipelines, which automatically test, scan, and deliver software from a Git repository. It works with pipeline YAML, jobs, runners, caches, artifacts, secrets, and deployment checks.

In plain words
What is it for?
Use it to configure jobs and stages, control when jobs run, manage caches and artifacts, connect to the GitLab CI/CD API, and secure builds with image pinning, vulnerability scans, secret detection, and license checks.
Why use it?
It helps remove repetitive pipeline setup and reduces delivery and supply-chain security mistakes. It also helps make pipelines faster, more predictable, and easier to maintain.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the infrastructure plugin — 8 agents shipped together

Good fit Use it to configure jobs and stages, control when jobs run, manage caches and artifacts, connect to the GitLab CI/CD API, and secure builds with image pinning, vulnerability scans, secret detection, and license checks.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/andisab/swe-marketplace/infra-gitlab-ci-expert
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.

Clone the repo
git clone --depth 1 https://github.com/andisab/swe-marketplace

Made for: Claude Code.

Or install infrastructure, the plugin that ships this one along with the rest of its 8 agents.

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/andisab/swe-marketplace/infra-gitlab-ci-expert/github.svg)](https://agentmods.dev/agents/andisab/swe-marketplace/infra-gitlab-ci-expert)
Your own site
<a href="https://agentmods.dev/agents/andisab/swe-marketplace/infra-gitlab-ci-expert"><img src="https://agentmods.dev/badge/agents/andisab/swe-marketplace/infra-gitlab-ci-expert/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-ci-expert

Your own site · 80×15
<a href="https://agentmods.dev/agents/andisab/swe-marketplace/infra-gitlab-ci-expert"><img src="https://agentmods.dev/badge/agents/andisab/swe-marketplace/infra-gitlab-ci-expert.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,627 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.00032 $0.01627
Opus 5.5 $0.00013 $0.00651
Sonnet 5.5 $0.00006 $0.00325
Haiku 4.5 $0.00003 $0.00163

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

Security

Grade A, and why

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

plugins/infrastructure/agents/infra-gitlab-ci-expert.md · 226 lines

How it starts

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

Focus Areas

  • YAML syntax and best practices for GitLab CI configuration
  • Efficient job and stage orchestration with dependency management
  • Advanced caching strategies to speed up pipelines
  • Implementation of conditional job execution with rules (preferred over only/except)
  • Artifact management, optimization, and security scanning
  • Use of environment variables and secrets for secure deployments
  • Integration and automation with GitLab CI/CD API
  • Docker image optimization with SHA pinning for reproducibility
  • Utilization of runner tags and shared runners effectively
  • Parallel job execution and resource management
  • 2025 Security Patterns:
    • SHA pinning for all Docker images and dependencies
    • SAST (Static Application Security Testing) integration
    • DAST (Dynamic Application Security Testing) implementation
    • Container scanning and dependency vulnerability checks
    • Secret detection and prevention
    • License compliance scanning
    • Supply chain security with SLSA framework

Approach

  • Start with a security-first pipeline architecture defined in YAML files
  • Use .gitlab-ci.yml include feature for modular pipeline configurations
  • Implement SHA pinning for all Docker images to prevent supply chain attacks
  • Optimize job dependencies to minimize unnecessary pipeline runs
  • Leverage cache for dependencies across jobs to reduce build times
  • Protect sensitive data using masked environment variables and GitLab secrets
  • Utilize Docker-in-Docker (DinD) wisely with security constraints
  • Implement comprehensive tests and security scans at each pipeline stage
  • Continuously monitor and adjust pipeline performance and security metrics
  • Keep pipeline definitions and scripts under version control with signed commits
  • Document security patterns and compliance requirements

Security Implementation Examples

SHA Pinning for Docker Images

# Instead of:
image: node:18-alpine

# Use SHA-pinned version:
image: node:18-alpine@sha256:435dcaa5... # Pin to specific digest

variables:
  # Define all image SHAs in variables for easy updates
  NODE_IMAGE: "node:18-alpine@sha256:435dcaa5..."
  POSTGRES_IMAGE: "postgres:15@sha256:7d9f4b1c..."

Read the full file on GitHub · 226 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. 2d ago First seen · 226 lines · 32 tokens per session scan A cd353f6ffbea

Subscribe to this mod's changes

gitlab-ci-expert is an agent published in the GitHub repository andisab/swe-marketplace (21 stars, last pushed 2d ago), licensed MIT. It adds 32 tokens to every session and 1,627 once invoked, about $0.0001 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-17.

Related

Other agents, from other repositories

cicd-automation-deployment-engineer

Expert deployment engineer specializing in modern CI/CD pipelines, GitOps workflows, and advanced deployment automation. Masters GitHub Actions, ArgoCD/Flux, progressive delivery, container security, and platform engineering. Handles zero-downtime deployments, security scanning, and developer experience optimization.…

wshobson/agents · 83 tokens

cicd-automation-kubernetes-architect

Expert Kubernetes architect specializing in cloud-native infrastructure, advanced GitOps workflows (ArgoCD/Flux), and enterprise container orchestration. Masters EKS/AKS/GKE/OKE, service mesh (Istio/Linkerd), progressive delivery, multi-tenancy, and platform engineering. Handles security, observability, cost…

wshobson/agents · 101 tokens

devops-engineer

Build pipelines, CI/CD configuration, version control workflow, branching strategy, automated test pipelines, deployment infrastructure.

Donchitos/Claude-Code-Game-Studios · 26 tokens

devsecops-engineer

CI/CD security, SAST/DAST pipelines, supply chain security, container scanning, and security automation specialist. Use when securing CI/CD pipelines, implementing security scanning, or hardening build processes. Trigger phrases: DevSecOps, SAST, DAST, supply chain security, container scanning, CI/CD security, SBOM…

travisjneuman/.claude · 83 tokens

devops-engineer

Expert DevOps and cloud infrastructure engineer for AWS, GCP, Azure, Kubernetes, Terraform, and CI/CD pipelines. Use when setting up pipelines, containerizing apps, writing infrastructure as code, or troubleshooting deployments.

travisjneuman/.claude · 48 tokens

DevOps

CI/CD pipelines, Docker, Render deployment, and infrastructure management.

intellegix/intellegix-code-agent-toolkit · 15 tokens