gitlab-helm-deploy

gitlab-helm-deploy is a skill for Claude Code from smk-labs/claude-plugins. It costs 61 tokens per session (8,665 once invoked), scanned E, original, MIT.

A generator for GitLab CI/CD and Helm deployment files. CI/CD automatically builds and delivers software; Helm packages applications for Kubernetes, a system that runs containers.

In plain words
What is it for?
Use it to build with kaniko, push an image to the GitLab Container Registry, and deploy it to a Kubernetes namespace using Helm and a kubeconfig CI variable.
Why use it?
It removes the need to design the build, container publishing, and Kubernetes deployment configuration by hand for a GitLab project.

Skill for Claude Code

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

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is RUN CGO_ENABLED=0 GOOS=linux go build -trimpath -ldflags="-s -w" -o /out/app ./cmd/server.

Part of the portal-skills plugin — 4 skills shipped together

Good fit Use it to build with kaniko, push an image to the GitLab Container Registry, and deploy it to a Kubernetes namespace using Helm and a kubeconfig CI variable.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/smk-labs/claude-plugins
agentmods
npx agentmods add skills/smk-labs/claude-plugins/gitlab-helm-deploy

Made for: Claude Code.

Or install portal-skills, the plugin that ships this one along with the rest of its 4 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-helm-deploy

README.md
[![agentmods](https://agentmods.dev/badge/skills/smk-labs/claude-plugins/gitlab-helm-deploy/github.svg)](https://agentmods.dev/skills/smk-labs/claude-plugins/gitlab-helm-deploy)
Your own site
<a href="https://agentmods.dev/skills/smk-labs/claude-plugins/gitlab-helm-deploy"><img src="https://agentmods.dev/badge/skills/smk-labs/claude-plugins/gitlab-helm-deploy/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-helm-deploy

Your own site · 80×15
<a href="https://agentmods.dev/skills/smk-labs/claude-plugins/gitlab-helm-deploy"><img src="https://agentmods.dev/badge/skills/smk-labs/claude-plugins/gitlab-helm-deploy.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 61 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 8,665 The whole file, excluding the scripts and references it only reads on demand.
Security scan E 3 findings. A grade says what 26 rules found in the file — not that it is safe. ✓ AI security review Sonnet 5 · 7 Sept 2026 📄 Read the review
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.00061 $0.08665
Opus 5.5 $0.00024 $0.03466
Sonnet 5.5 $0.00012 $0.01733
Haiku 4.5 $0.00006 $0.00867

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

Security

Grade E, and why

gitlab-helm-deploy scanned grade E with 3 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 1mo 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

- chmod 600 $HOME/.kube/config

Reaches for credential fileshighPrivilege escalation

SSH keys, cloud credentials, git-credentials, .npmrc, /etc/shadow: reading these is how a config file becomes a credential leak.

- echo "$KUBE_CONFIG_B64" | base64 -d > $HOME/.kube/config

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

RUN mkdir src && echo 'fn main(){}' > src/main.rs && cargo build --release && rm -rf src
portal-skills/skills/gitlab-helm-deploy/SKILL.md · 589 lines

How it starts

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

Generate GitLab CI/CD + Helm chart

Generate a GitLab CI/CD pipeline and a Helm chart that builds the current project with kaniko, pushes to the GitLab Container Registry, and deploys to a Kubernetes namespace via a user-provided kubeconfig. Reusable across apps: inspect the repo first, ask for the unknowns, then generate only the stages and templates that apply. If no Dockerfile exists, generate one tailored to the detected runtime.

When this fires

The user wants to set up CI/CD for a project that will deploy to a Kubernetes namespace they have access to via a kubeconfig file. They will provide that kubeconfig as a base64-encoded GitLab CI variable named KUBE_CONFIG_B64. Build is kaniko, registry is GitLab Container Registry, deploy is Helm.

If the user wants something different (Argo CD, Flux, plain kubectl apply, a cloud-native registry, Docker Hub, GitHub Actions), stop and confirm before proceeding. This skill is opinionated.

Step 1: Inspect the repo first (always)

Before writing a single file, read these. Then summarize what you found in 4-8 lines and ask the user about anything ambiguous before generating files.

  1. Runtime & build
    • Dockerfile: base image, exposed port, CMD/ENTRYPOINT, HEALTHCHECK. If missing, plan to generate one in Step 4.
    • package.json / pyproject.toml / go.mod / Cargo.toml / composer.json: language, framework, scripts, runtime version (engines, python_requires, go directive).
    • Lockfile: package manager (npm, pnpm, yarn, bun, poetry, pip, uv, etc.).
  2. Project shape: single app, monorepo, or backend + frontend?
    • Look for top-level dirs like backend/, server/, api/ paired with frontend/, client/, web/, ui/, dashboard/: a strong signal of a split repo that needs two separate deployables.
    • Look for workspace files (pnpm-workspace.yaml, package.json workspaces, Turborepo turbo.json, Nx nx.json, Lerna): also a monorepo signal.
    • Multiple Dockerfiles (Dockerfile.backend, Dockerfile.frontend, or one per package) mean a multi-image build.
    • Frontend signals: a build that emits static assets (vite.config.*, next.config.*, vue.config.*, angular.json, dist/, build/), a different runtime (nginx for static, Node for SSR).
    • Backend signals: API entrypoint (Express, FastAPI, Gin, Rails, Spring), DB/queue clients, server-only env vars.
    • Decision rule: if both a deployable backend and a deployable frontend exist, plan two charts (helm/backend/, helm/frontend/) and two build jobs (build_backend, build_frontend). If only one exists, single chart at helm/. Confirm with the user in Step 2 before generating.
  3. Routing layer of the target cluster. Different clusters use different ingress mechanisms. You must know which before generating templates:
    • GKE Gateway API (or any Gateway API cluster): generate a templates/httproute.yaml referencing a shared parent Gateway, not an Ingress.
    • ingress-nginx: generate a standard templates/ingress.yaml with ingressClassName: nginx.
    • If unsure which the cluster uses, ask in Step 2. Don't pick by guessing. A quick check the user can run: kubectl get gateways.gateway.networking.k8s.io -A (Gateway API) vs kubectl get ingressclass (look for nginx).
  4. Topology & deps
    • docker-compose.yml: which external services the app talks to (Postgres, Redis, RabbitMQ, ...) and the inter-service wiring (e.g. how the frontend reaches the backend: same-origin via ingress path, separate subdomain, or env-injected URL).
    • Entrypoint source: confirm health endpoint path, port, and which env vars are actually read. Do this for each service if there are multiple.
  5. Configuration
    • .env.example: enumerate every env var. Classify each as secret (API keys, passwords, tokens, signing keys) or non-secret (hosts, ports, URLs, feature flags, model names). If backend/frontend are split, partition the env vars per service. The frontend usually only needs public URLs and feature flags; secrets belong to the backend.
  6. Existing CI / chart
    • If .gitlab-ci.yml or helm/ already exists, plan to replace cleanly. Don't dual-maintain. Preserve any legacy job that produces an artifact other teams depend on.

Read the full file on GitHub · 589 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 · +3 lines · -61 tokens per session 409873f9a6ce
  2. 1mo ago First seen · 586 lines · 122 tokens per session scan E f8aafe4ee28e

Subscribe to this mod's changes

gitlab-helm-deploy is a skill published in the GitHub repository smk-labs/claude-plugins (11 stars, last pushed 28d ago), licensed MIT. It adds 61 tokens to every session and 8,665 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it E with 3 findings (asks for root, reaches for credential files, recursive force delete). 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

ci-cd-pipeline

Use near the end of a project to generate CI and make the app deploy-ready. Produces a polyglot GitHub Actions workflow (lint, typecheck, test, build) and multi-stage Dockerfiles. The finish line is CI-green and container-ready, not an actual deploy.

martian56/claude-engineer · 64 tokens

devops-engineer

Creates Dockerfiles, configures CI/CD pipelines, writes Kubernetes manifests, and generates Terraform/Pulumi infrastructure templates. Handles deployment automation, GitOps configuration, incident response runbooks, and internal developer platform tooling. Use when setting up CI/CD pipelines, containerizing…

Jeffallan/claude-skills · 107 tokens

deploy

Elixir/Phoenix deployment patterns — Dockerfile, fly.toml, runtime.exs, mix release, rel/ overlays. Use when configuring Fly.io, Docker, CI/CD, health checks, or production migrations.

oliver-kriska/claude-elixir-phoenix · 46 tokens

devops

Comprehensive DevOps engineering practices for Kubernetes, CI/CD, Bash scripting, Ansible, and cloud infrastructure.

Mindrally/skills · 25 tokens

devops-specialist

A DevOps and operations guide for running software reliably. DevOps combines software development with the work of building, deploying, monitoring, and maintaining systems.

huangwb8/skills · 55 tokens

docker-compose-wizard

Produces production-minded docker-compose configurations - pinned images, healthchecks with real intervals, health-gated startup ordering, named volumes, explicit networks, and env-file secrets - plus the matching .env.example. Use when someone asks "write a compose file for this stack", "why does my app start before…

SkillMedev/skills · 168 tokens