flux-kustomize-layout

flux-kustomize-layout is a skill for Codex from AnthonyPoschen/agent-skills. It costs 53 tokens per session (601 once invoked), scanned A, original, MIT.

A repository layout for FluxCD and Kustomize. FluxCD keeps Kubernetes applications in sync with files in a Git repository, while Kustomize manages shared configuration and environment-specific changes.

In plain words
What is it for?
Use it to create or review a Kubernetes GitOps repository with one shared base and dev/prod overlays, including environment-specific patches, images, labels, or namespaces.
Why use it?
It gives teams a predictable place for shared Kubernetes files and separate development and production settings.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is - ../../base.

Good fit Use it to create or review a Kubernetes GitOps repository with one shared base and dev/prod overlays, including environment-specific patches, images, labels, or namespaces.

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/AnthonyPoschen/agent-skills
agentmods
npx agentmods add skills/anthonyposchen/agent-skills/flux-kustomize-layout

Made for: Codex.

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 flux-kustomize-layout

README.md
[![agentmods](https://agentmods.dev/badge/skills/anthonyposchen/agent-skills/flux-kustomize-layout/github.svg)](https://agentmods.dev/skills/anthonyposchen/agent-skills/flux-kustomize-layout)
Your own site
<a href="https://agentmods.dev/skills/anthonyposchen/agent-skills/flux-kustomize-layout"><img src="https://agentmods.dev/badge/skills/anthonyposchen/agent-skills/flux-kustomize-layout/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 flux-kustomize-layout

Your own site · 80×15
<a href="https://agentmods.dev/skills/anthonyposchen/agent-skills/flux-kustomize-layout"><img src="https://agentmods.dev/badge/skills/anthonyposchen/agent-skills/flux-kustomize-layout.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 601 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.00601
Opus 5 $0.00026 $0.00300
Sonnet 5 $0.00011 $0.00120
Haiku 4.5 $0.00005 $0.00060

Measured 9d ago against content hash 00326d49fef5, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

flux-kustomize-layout 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 9d 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/flux-kustomize-layout/SKILL.md · 82 lines

How it starts

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

Flux Kustomize Layout

Goal

Create predictable FluxCD-friendly Kustomize layouts with one shared base and explicit dev/prod overlays. Keep the repository structure boring, discoverable, and easy for CI or Flux reconciliation to validate.

Required Layout

Always scaffold this structure unless the user explicitly asks otherwise:

kustomization/
  base/
    kustomization.yaml
  overlays/
    dev/
      kustomization.yaml
    prod/
      kustomization.yaml

Rules

  • Put shared Kubernetes manifests in kustomization/base/.
  • Include every base manifest from kustomization/base/kustomization.yaml.
  • Make dev and prod overlays include ../../base.
  • Put environment-specific patches, generators, images, labels, or namespace settings in the matching overlay folder.
  • Keep base manifests environment-neutral unless the user asks for a different environment model.
  • Prefer apiVersion: kustomize.config.k8s.io/v1beta1 and kind: Kustomization for Kustomize files.
  • Use lowercase file names with clear resource names, such as deployment.yaml, service.yaml, configmap.yaml, and ingress.yaml.
  • Do not put application manifests directly in overlay folders when they should be shared through base.

Minimal Files

Base kustomization.yaml:

apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
  - deployment.yaml
  - service.yaml

Overlay kustomization.yaml:

apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
  - ../../base

Workflow

  1. Inspect existing Kubernetes, Kustomize, or Flux files before editing.
  2. Create missing directories and kustomization.yaml files in the required layout.
  3. Move shared manifests into kustomization/base/ when safe.
  4. Add all shared manifests to the base resources list.
  5. Add ../../base to each overlay resources list.
  6. Put dev/prod differences in overlays as patches or Kustomize fields.
  7. If Flux Kustomization custom resources are requested, keep them separate from Kustomize kustomization.yaml files and name the distinction clearly.
  8. Validate with kustomize build or kubectl kustomize when available; otherwise report that validation was not run.

Read the full file on GitHub · 82 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 9d ago First seen · 82 lines · 53 tokens per session scan A 00326d49fef5

Subscribe to this mod's changes

flux-kustomize-layout is a skill published in the GitHub repository AnthonyPoschen/agent-skills (2 stars, last pushed 3d ago), licensed MIT. It adds 53 tokens to every session and 601 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-08-31.

Related

Other skills, from other repositories

import-prom-rule

Bulk import of a Prometheus alert rule YAML file (create a whole set of rules at once). Dedicated to handling a remote URL or local YAML text, automatically parsing the three formats groups / a plain rules array / a single rule. ⚠️ Do not use this skill for single-rule creation — when the user describes a single alert…

ccfos/nightingale · 125 tokens

chinese-git-workflow

A reference for configuring Git with Chinese code-hosting services such as Gitee, Coding.net, GitLab China, and CNB, including SSH, HTTPS, credentials, CI, and repository mirroring.

jnMetaCode/superpowers-zh · 69 tokens

configure-env-variables

Configures environment variables for Power Pages site settings to support ALM across environments. Creates environment variable definitions in Dataverse, guides the user through linking site settings to those variables via the Power Pages Management app, adds the variables to the solution, and generates a…

microsoft/power-platform-skills · 119 tokens

atmos-profiles

Atmos profiles: profile directories, --profile and ATMOSPROFILE activation, profile merge behavior, environment switching, and routing profile-specific auth/toolchain/config overrides.

cloudposse/atmos · 35 tokens

webhook-management

Configure and validate CCAM webhook targets across supported chat, incident, automation, and generic providers. Use when listing provider requirements, creating or updating a target, scoping it to alert rules, sending a test notification, reviewing delivery history, or deleting a target.

hoangsonww/Claude-Code-Agent-Monitor · 56 tokens

monorepo-management

Master monorepo management with Turborepo, Nx, and pnpm workspaces to build efficient, scalable multi-package repositories with optimized builds and dependency management. Use when setting up monorepos, optimizing builds, or managing shared dependencies.

wshobson/agents · 54 tokens