gitlab-helm-deploy

gitlab-helm-deploy is a skill for Claude Code, Codex from smk-labs/claude-plugins. It costs 122 tokens per session (8,719 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 CodeCodex

Part of the portal-skills plugin — 4 skills 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/smk-labs/claude-plugins/gitlab-helm-deploy
Any agent
npx skills add smk-labs/claude-plugins --skill gitlab-helm-deploy
Clone the repo
git clone --depth 1 https://github.com/smk-labs/claude-plugins

Made for: Claude Code, Codex.

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.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.svg" alt="Measured on agentmods" height="20"></a>
Per session 122 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 8,719 The whole file, excluding the scripts and references it only reads on demand.
Security scan E 3 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 $0.00122 $0.08719
Opus 5 $0.00061 $0.04359
Sonnet 5 $0.00024 $0.01744
Haiku 4.5 $0.00012 $0.00872

Measured 4d ago against content hash f8aafe4ee28e, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 4d 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 · 586 lines

How it starts

The opening of the file, as written. The whole thing — 586 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 · 586 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. 4d 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 2d ago), licensed MIT. It adds 122 tokens to every session and 8,719 once invoked, about $0.0006 per session on Opus 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

ab-test-analysis

Analyze A/B test results with statistical significance, sample size validation, confidence intervals, and ship/extend/stop recommendations. Use when evaluating experiment results, checking if a test reached significance, interpreting split test data, or deciding whether to ship a variant.

phuryn/pm-skills · 54 tokens

brainstorm-okrs

Brainstorm team-level OKRs aligned with company objectives — qualitative objectives with measurable key results. Use when setting quarterly OKRs, aligning team goals with company strategy, drafting objectives, or learning how to write effective OKRs.

phuryn/pm-skills · 49 tokens

dummy-dataset

Generate realistic dummy datasets for testing with customizable columns, constraints, and output formats (CSV, JSON, SQL, Python script). Use when creating test data, building mock datasets, or generating sample data for development and demos.

phuryn/pm-skills · 48 tokens

pre-mortem

Run a pre-mortem risk analysis on a PRD or launch plan. Categorizes risks as Tigers (real problems), Paper Tigers (overblown concerns), and Elephants (unspoken worries), then classifies as launch-blocking, fast-follow, or track. Use when preparing for launch, stress-testing a product plan, or identifying what could go…

phuryn/pm-skills · 79 tokens

retro

Facilitate a structured sprint retrospective — what went well, what didn't, and prioritized action items with owners and deadlines. Use when running a retrospective, reflecting on a sprint, creating action items from team feedback, or learning how to run effective retros.

phuryn/pm-skills · 52 tokens

sprint-plan

Plan a sprint with capacity estimation, story selection, dependency mapping, and risk identification. Use when preparing for sprint planning, estimating team capacity, selecting stories, or balancing sprint scope against velocity.

phuryn/pm-skills · 42 tokens