flux-operator-cli

flux-operator-cli is a skill for Claude Code, Codex from dirien/yet-another-agent-harness. It costs 147 tokens per session (1,666 once invoked), scanned C, original, MIT.

A command-line tool for working with Flux Operator resources and manifests. Flux Operator manages Flux components and related GitOps resources in Kubernetes, a system for running containerized applications.

In plain words
What is it for?
Use it to build FluxInstance or ResourceSet manifests, diff YAML files, patch upgrades, create authentication secrets, inspect reports and resources, or control reconciliation.
Why use it?
It lets developers build and compare configuration locally and inspect, reconcile, pause, or resume resources in a cluster.

Skill for Claude CodeCodex

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/dirien/yet-another-agent-harness/flux-operator-cli
Any agent
npx skills add dirien/yet-another-agent-harness --skill flux-operator-cli
Clone the repo
git clone --depth 1 https://github.com/dirien/yet-another-agent-harness

Made for: Claude Code, 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-operator-cli

README.md
[![agentmods](https://agentmods.dev/badge/skills/dirien/yet-another-agent-harness/flux-operator-cli.svg)](https://agentmods.dev/skills/dirien/yet-another-agent-harness/flux-operator-cli)
Your own site
<a href="https://agentmods.dev/skills/dirien/yet-another-agent-harness/flux-operator-cli"><img src="https://agentmods.dev/badge/skills/dirien/yet-another-agent-harness/flux-operator-cli.svg" alt="Measured on agentmods" height="20"></a>
Per session 147 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,666 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. 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.00147 $0.01666
Opus 5 $0.00073 $0.00833
Sonnet 5 $0.00029 $0.00333
Haiku 4.5 $0.00015 $0.00167

Measured 4d ago against content hash 223795e861aa, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade C, and why

flux-operator-cli scanned grade C with 1 finding 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.

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.

Uses `~/.kube/config`. Supports offline (no cluster) and online commands.
.claude/skills/flux-operator-cli/SKILL.md · 229 lines

How it starts

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

Flux Operator CLI

Installation

brew install controlplaneio-fluxcd/tap/flux-operator

Uses ~/.kube/config. Supports offline (no cluster) and online commands.

Command Overview

Commands fall into two categories: offline (no cluster access) and online (requires cluster).

Offline Commands (no cluster needed)

Command Purpose
build instance Generate K8s manifests from a FluxInstance YAML
build rset Generate K8s manifests from a ResourceSet YAML
diff yaml <source> <target> Compare YAML files, produce RFC 6902 JSON patch
patch instance Generate kustomize patches for upgrading Flux controllers

Online Commands (cluster access required)

Command Purpose
get instance|rset|rsip|all List Flux Operator resources and their status
export report Export FluxReport with distribution status
export resource <kind>/<name> Export a Flux resource as YAML/JSON
reconcile instance|rset|rsip|resource|all Trigger reconciliation
suspend instance|rset|rsip|resource Pause reconciliation
resume instance|rset|rsip|resource Resume reconciliation
delete instance|rset|rsip Delete Flux resources
stats Reconciliation statistics and storage usage
trace <kind>/<name> Trace object through GitOps delivery pipeline
tree rset|ks|hr Visualize managed objects as a tree
wait instance|rset|rsip Poll until resource is ready
create secret <type> Create Kubernetes secrets for Flux
install Bootstrap cluster with Flux Operator + instance
uninstall Remove Flux Operator from cluster
version Show CLI, operator, and distribution versions

Common Patterns

Build and preview manifests locally

# Build FluxInstance manifests
flux-operator build instance -f flux-instance.yaml

# Build ResourceSet with inputs
flux-operator build rset -f resourceset.yaml \
  --inputs-from inputs.yaml

# Diff two YAML files (local or remote URLs)
flux-operator diff yaml old.yaml new.yaml -o json-patch-yaml

Read the full file on GitHub · 229 lines

Files

What ships with it

4 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. 4d ago First seen · 229 lines · 147 tokens per session scan C 223795e861aa

Subscribe to this mod's changes

flux-operator-cli is a skill published in the GitHub repository dirien/yet-another-agent-harness (20 stars, last pushed 3mo ago), licensed MIT. It adds 147 tokens to every session and 1,666 once invoked, about $0.0007 per session on Opus 5. A static security scan graded it C with 1 finding (reaches for credential files). 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

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

release-rome-image

Release a new Rome runtime image by pushing a vX.Y.Z tag — pick the version, verify main is releasable, push the tag, and confirm the image published to Docker Hub. Covers the v runtime-image tag only, not the desktop app (desktop-v) and not npm packages (ui-v, app-runtime-v).

rome-os/rome · 81 tokens