helm-add-gwapi-route

helm-add-gwapi-route is a skill for Claude Code from lexfrei/ccc. It costs 111 tokens per session (9,354 once invoked), scanned A, original, BSD-3-Clause.

A file-editing tool for adding or modernising Gateway API Route templates in a Helm chart. Helm packages Kubernetes application settings, and Gateway API controls how traffic is routed to services.

In plain words
What is it for?
Use it to add HTTP, gRPC, TLS, TCP, or UDP routes, update older Gateway API versions, and modernise route rules in a Helm chart.
Why use it?
It removes repetitive route-template work and follows the chart's existing conventions when adding or updating routes.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: mentions CLAUDE.md; names the AskUserQuestion tool.

Part of the helm-add-gwapi-route plugin — 1 skill shipped together

Good fit Use it to add HTTP, gRPC, TLS, TCP, or UDP routes, update older Gateway API versions, and modernise route rules in a Helm chart.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/lexfrei/ccc/helm-add-gwapi-route
View source ↗ lexfrei/ccc
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 lexfrei/ccc --skill helm-add-gwapi-route
Clone the repo
git clone --depth 1 https://github.com/lexfrei/ccc

Made for: Claude Code.

Or install helm-add-gwapi-route, the plugin that ships this one along with the rest of its 1 skill.

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 helm-add-gwapi-route

README.md
[![agentmods](https://agentmods.dev/badge/skills/lexfrei/ccc/helm-add-gwapi-route.svg)](https://agentmods.dev/skills/lexfrei/ccc/helm-add-gwapi-route)
Your own site
<a href="https://agentmods.dev/skills/lexfrei/ccc/helm-add-gwapi-route"><img src="https://agentmods.dev/badge/skills/lexfrei/ccc/helm-add-gwapi-route.svg" alt="Measured on agentmods" height="20"></a>
Per session 111 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 9,354 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00111 $0.09354
Opus 5 $0.00056 $0.04677
Sonnet 5 $0.00022 $0.01871
Haiku 4.5 $0.00011 $0.00935

Measured 7d ago against content hash 72c605560cf3, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

helm-add-gwapi-route 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/helm-add-gwapi-route/skills/helm-add-gwapi-route/SKILL.md · 630 lines

How it starts

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

helm-add-gwapi-route

Add or modernize Gateway API *Route resources inside a Helm chart. The skill only edits files — git operations (branch, commit, push, PR) are left to the caller.

When to invoke

Invoke proactively (without an explicit user command) when any of these hold:

  • cwd is a Helm chart (Chart.yaml with apiVersion: v2) that has templates/ingress.yaml but no templates/*route.yaml — candidate for add-mode.
  • cwd has templates/httproute.yaml / grpcroute.yaml / tlsroute.yaml declaring gateway.networking.k8s.io/v1beta1 or v1alpha2 for resources that are now GA at v1 — candidate for update-mode.
  • cwd has *Route templates whose rules lack the name field (named rules are best practice since Gateway API v1.4).
  • The user mentions migrating a chart from Ingress to Gateway API, adding HTTPRoute/GRPCRoute/TLSRoute support, "gwapi", or modernizing existing routes.

Do not invoke when:

  • The chart already has current-spec routes with nothing to modernize.
  • cwd is not a Helm chart (no Chart.yaml with apiVersion: v2).
  • The scope is a standalone Kubernetes manifest, not a Helm chart.
  • The user is working on an unrelated task — do not interrupt.

Arguments

Parse $ARGUMENTS:

  • First positional = chart-path. Default: cwd.
  • --type=<list> — comma-separated subset of httproute,grpcroute,tlsroute,tcproute,udproute, or auto (default). Controls which route kinds to add (add-mode) or update (update-mode).
  • --mode=add|update|auto — default auto. See Phase 3.
  • --with-backend-tls — also generate BackendTLSPolicy for the chart's Service (useful when the backend Service terminates TLS itself).

Phase 1 — Locate and validate the chart

  1. Resolve chart-path. If not provided, walk upward from cwd looking for a directory that contains Chart.yaml. If multiple Chart.yaml files exist under charts/* (umbrella chart), ask the user via AskUserQuestion which chart to operate on; multi-select is allowed — process each selected chart independently.
  2. Read Chart.yaml. Require apiVersion: v2. Capture chart name and version.
  3. Inventory templates/:
    • note which of these exist: ingress.yaml, service.yaml, deployment.yaml, statefulset.yaml, _helpers.tpl
    • note which route templates already exist: httproute.yaml, grpcroute.yaml, tlsroute.yaml, tcproute.yaml, udproute.yaml, backendtlspolicy.yaml
  4. Note whether tests/ exists (used in Phase 8 to decide whether to add helm-unittest tests).
  5. Parse values.yaml:
    • extract the ingress: block — record its indent style (2 vs 4 spaces), field naming (host vs hostname, path vs paths, className style), whether helm-docs # -- description comments are used, and the values of any CORS/auth/rate-limit annotations (these are migration targets in update-mode)
    • extract the service: block — port number, port name, protocol, appProtocol, type
    • detect any existing httpRoute:, grpcRoute:, tlsRoute:, tcpRoute:, udpRoute: top-level blocks (flat style is canonical; if a chart already uses a nested gateway: block, preserve its structure in update-mode rather than flattening)
  6. Read _helpers.tpl. Extract the exact helper template names the chart defines — typically <chart>.fullname, <chart>.labels, <chart>.selectorLabels, <chart>.serviceAccountName. Use the actual names in generated templates; do not assume the prefix matches the directory name.

Read the full file on GitHub · 630 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 · 630 lines · 111 tokens per session scan A 72c605560cf3

Subscribe to this mod's changes

helm-add-gwapi-route is a skill published in the GitHub repository lexfrei/ccc (10 stars, last pushed 5d ago), licensed BSD-3-Clause. It adds 111 tokens to every session and 9,354 once invoked, about $0.0006 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.

Related

Other skills, from other repositories

deploy-docker-compose

Run the Omnigent server as a Docker compose stack (server + Postgres) on any Docker host — your laptop, a VPS, EC2 by hand, or as the base layer of any container-platform deploy. Invoke when the user wants to build the image, bring up the compose stack, debug the stack on a host they already have, or extend the stack…

omnigent-ai/omnigent · 84 tokens

compute-env-setup

Set up a reproducible Feynman compute environment for research jobs. Use when a task needs Python/R packages, GPU libraries, containers, Modal, SSH, caches, or managed model runtime setup.

companion-inc/feynman · 45 tokens

securing-kubernetes-on-cloud

This skill covers hardening managed Kubernetes clusters on EKS, AKS, and GKE by implementing Pod Security Standards, network policies, workload identity, RBAC scoping, image admission controls, and runtime security monitoring. It addresses cloud-specific security features including IRSA for EKS, Workload Identity for…

xalgorix/xalgorix · 80 tokens

detecting-privilege-escalation-in-kubernetes-pods

Detect and prevent privilege escalation in Kubernetes pods by monitoring security contexts, capabilities, and syscall patterns with Falco and OPA policies.

xalgorix/xalgorix · 40 tokens

implementing-rbac-hardening-for-kubernetes

Harden Kubernetes Role-Based Access Control by implementing least-privilege policies, auditing role bindings, eliminating cluster-admin sprawl, and integrating external identity providers.

xalgorix/xalgorix · 41 tokens

docker-socket-mount

Docker / containerd socket mounted into a container → host RCE. Common in CI runners, GitOps controllers (ArgoCD, Flux), and 'Docker-in-Docker' setups. Single-command escape via docker run --rm --privileged -v /:/host alpine chroot /host.

PurpleAILAB/Decepticon · 67 tokens