helm-k8s-patterns

helm-k8s-patterns is a skill for Claude Code from lukasrepublic/agentic-foundry. It costs 0 tokens per session (1,518 once invoked), scanned A, original, MIT.

A set of patterns and instructions for creating and changing Helm charts and Kubernetes deployment settings. Helm is a tool for packaging Kubernetes resources into reusable templates.

In plain words
What is it for?
Use it when authoring charts, environment values, secret references, deployment strategies, health probes, access controls, autoscaling, disruption budgets, or persistent storage.
Why use it?
It helps keep deployment configuration consistent and avoids unsafe handling of secrets or incomplete operational settings.

Skill for Claude Code

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

Part of the foundry plugin — 81 skills, 8 agents, 8 hooks, 1 MCP server 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/lukasrepublic/agentic-foundry/helm-k8s-patterns
Any agent
npx skills add lukasrepublic/agentic-foundry --skill helm-k8s-patterns
Clone the repo
git clone --depth 1 https://github.com/lukasrepublic/agentic-foundry

Made for: Claude Code.

Or install foundry, the plugin that ships this one along with the rest of its 81 skills, 8 agents, 8 hooks, 1 MCP server.

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-k8s-patterns

README.md
[![agentmods](https://agentmods.dev/badge/skills/lukasrepublic/agentic-foundry/helm-k8s-patterns.svg)](https://agentmods.dev/skills/lukasrepublic/agentic-foundry/helm-k8s-patterns)
Your own site
<a href="https://agentmods.dev/skills/lukasrepublic/agentic-foundry/helm-k8s-patterns"><img src="https://agentmods.dev/badge/skills/lukasrepublic/agentic-foundry/helm-k8s-patterns.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,518 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 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.1 $0.00000 $0.01518
Opus 5 $0.00000 $0.00759
Sonnet 5 $0.00000 $0.00304
Haiku 4.5 $0.00000 $0.00152

Measured 5d ago against content hash 14807fbbf273, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

helm-k8s-patterns 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 5d 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.

packs/stack-profiles/aws-eks-karpenter/blueprints/helm-k8s-patterns/SKILL.md · 75 lines

How it starts

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

When to trigger

  • Authoring a new Helm chart or modifying an existing one in the IaC repo's charts tree.
  • Authoring or modifying per-environment values files.
  • Secret-reference work via an external-secrets operator.
  • A deployment-strategy choice (RollingUpdate vs. canary vs. blue-green).
  • Probe authoring (readinessProbe, livenessProbe, startupProbe).
  • RBAC changes (ServiceAccount, Role, RoleBinding, ClusterRole, ClusterRoleBinding).
  • HPA, PDB, or PVC authoring.

Procedure

  1. Chart structure under the charts tree's <name>/: Chart.yaml + values.yaml (defaults) + per-environment values files + a templates/ directory. Read the existing chart structure before modifying — follow the naming and indentation conventions used in sibling charts.

  2. Secret references via external-secrets: never inline secret values in values files. Use an ExternalSecret resource that references the secret name in the secret manager. The values.yaml holds only the secret-name path; the external-secrets controller resolves the value at deploy time.

  3. Deployment strategy: default to RollingUpdate with maxUnavailable: 0 and maxSurge: 1. Canary or blue-green strategies are authored only when the spec explicitly requires them — they add operational complexity that must be justified.

  4. Probe defaults (all three required for production workloads):

    • readinessProbe: HTTP GET on the health endpoint; initialDelaySeconds: 5, periodSeconds: 10.
    • livenessProbe: HTTP GET on the liveness endpoint; initialDelaySeconds: 15, periodSeconds: 20.
    • startupProbe: for slow-starting workloads (e.g., a migration runner); failureThreshold: 30, periodSeconds: 10.
  5. Pre-change render sequence: lint the chart (schema + YAML validation), then render the templates with the target environment's values and eyeball the output, then diff the rendered release against the running cluster before a production-bound change. Lint and render are CI-safe and run in CI; the cluster diff requires cluster access and is operator-run.

Read the full file on GitHub · 75 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. 5d ago First seen · 75 lines · 0 tokens per session scan A 14807fbbf273

Subscribe to this mod's changes

helm-k8s-patterns is a skill published in the GitHub repository lukasrepublic/agentic-foundry (1 stars, last pushed yesterday), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,518 tokens. 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.