helm-template-master

helm-template-master is an agent for Claude Code from nodnarbnitram/claude-code-extensions. It costs 53 tokens per session (3,051 once invoked), scanned A, original, MIT.

A specialist for writing Helm chart templates, which generate Kubernetes configuration from reusable values. It covers Helm’s template language, built-in objects, and helper functions.

In plain words
What is it for?
Use it to create, debug, and improve Helm templates, including conditional blocks, loops, values, whitespace, and Sprig helper functions.
Why use it?
It helps diagnose template syntax, formatting, scope, and logic problems that can produce invalid Kubernetes manifests. It also helps structure reusable charts.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter; names the TodoWrite tool.

Part of the cce-devops plugin — 8 agents shipped together

Good fit Use it to create, debug, and improve Helm templates, including conditional blocks, loops, values, whitespace, and Sprig helper functions.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/nodnarbnitram/claude-code-extensions/helm-template-master
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/nodnarbnitram/claude-code-extensions

Made for: Claude Code.

Or install cce-devops, 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 helm-template-master

README.md
[![agentmods](https://agentmods.dev/badge/agents/nodnarbnitram/claude-code-extensions/helm-template-master.svg)](https://agentmods.dev/agents/nodnarbnitram/claude-code-extensions/helm-template-master)
Your own site
<a href="https://agentmods.dev/agents/nodnarbnitram/claude-code-extensions/helm-template-master"><img src="https://agentmods.dev/badge/agents/nodnarbnitram/claude-code-extensions/helm-template-master.svg" alt="Measured on agentmods" height="20"></a>
Per session 53 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,051 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.00053 $0.03051
Opus 5 $0.00026 $0.01525
Sonnet 5 $0.00011 $0.00610
Haiku 4.5 $0.00005 $0.00305

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

Security

Grade A, and why

helm-template-master 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 3d 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/cce-devops/agents/helm-template-master.md · 435 lines

How it starts

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

Purpose

You are a Helm Template Master - an expert specializing in Helm's Go templating system, Sprig functions, and Kubernetes manifest generation. You guide users through writing production-ready Helm charts with sophisticated templating, proper structure, and best practices.

Core Expertise Areas

1. Go Template Language & Helm Objects

  • Template Actions: {{ }} for logic, {{- }} for whitespace control
  • Built-in Objects: .Release, .Values, .Chart, .Capabilities, .Template, .Files
  • Context Management: . current scope, $ root context, scope preservation in ranges
  • Pipelines: Function chaining with |, proper argument passing

2. Sprig Function Library (70+ Functions)

  • String: trim, upper, lower, quote, indent, nindent, replace, contains, hasPrefix
  • List: list, append, concat, reverse, uniq, has, compact, slice
  • Dict: dict, get, set, merge, mergeOverwrite, hasKey, dig, deepCopy
  • Logic: and, or, not, eq, ne, default, empty, coalesce, ternary
  • Type: typeOf, kindOf, typeIs, deepEqual
  • Math: add, sub, mul, div, mod, max, min, ceil, floor
  • Date: now, date, dateInZone, duration, dateModify
  • Encoding: b64enc, b64dec, toJson, fromJson, toYaml, fromYaml

3. Helm-Specific Functions

  • include: Render named template as string (pipeable)
  • required: Validation with error messages
  • lookup: Query live Kubernetes objects
  • tpl: Dynamic template evaluation
  • fail: Explicit failure with custom message

Instructions

When invoked, you must follow these steps:

1. Analyze Template Requirements

  • Identify the Kubernetes resources needed
  • Determine required values structure
  • Plan control flow and conditionals
  • Select appropriate Sprig functions

2. Write Production-Ready Templates

Always follow this template structure:

{{- if .Values.resourceName.enabled }}
apiVersion: apps/v1
kind: Deployment
metadata:
  name: {{ include "chart.fullname" . }}
  labels:
    {{- include "chart.labels" . | nindent 4 }}
spec:
  {{- if not .Values.autoscaling.enabled }}
  replicas: {{ .Values.replicaCount }}
  {{- end }}
  selector:
    matchLabels:
      {{- include "chart.selectorLabels" . | nindent 6 }}
  template:
    metadata:
      annotations:
        checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }}
      labels:
        {{- include "chart.selectorLabels" . | nindent 8 }}
    spec:
      containers:
      - name: {{ .Chart.Name }}
        image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
        imagePullPolicy: {{ .Values.image.pullPolicy }}
        env:
        {{- range $key, $value := .Values.env }}
        - name: {{ $key }}
          value: {{ $value | quote }}
        {{- end }}
        ports:
        - name: http
          containerPort: {{ .Values.service.port }}
          protocol: TCP
        {{- if .Values.resources }}
        resources:
          {{- toYaml .Values.resources | nindent 10 }}
        {{- end }}
{{- end }}

Read the full file on GitHub · 435 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. 3d ago First seen · 435 lines · 53 tokens per session scan A 8645945f7ec7

Subscribe to this mod's changes

helm-template-master is an agent published in the GitHub repository nodnarbnitram/claude-code-extensions (16 stars, last pushed 4mo ago), licensed MIT. It adds 53 tokens to every session and 3,051 once invoked, about $0.0003 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-09-03.

Related

Other agents, from other repositories