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.
npx skills add AnthonyPoschen/agent-skills --skill flux-ghcr-image-automationgit clone --depth 1 https://github.com/AnthonyPoschen/agent-skillsWrote 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.
[](https://agentmods.dev/skills/anthonyposchen/agent-skills/flux-ghcr-image-automation)<a href="https://agentmods.dev/skills/anthonyposchen/agent-skills/flux-ghcr-image-automation"><img src="https://agentmods.dev/badge/skills/anthonyposchen/agent-skills/flux-ghcr-image-automation/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.
<a href="https://agentmods.dev/skills/anthonyposchen/agent-skills/flux-ghcr-image-automation"><img src="https://agentmods.dev/badge/skills/anthonyposchen/agent-skills/flux-ghcr-image-automation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00083 | $0.01076 |
| Opus 5 | $0.00042 | $0.00538 |
| Sonnet 5 | $0.00017 | $0.00215 |
| Haiku 4.5 | $0.00008 | $0.00108 |
Grade A, and why
flux-ghcr-image-automation 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 11d 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.
How it starts
The opening of the file, as written. The whole thing — 124 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Flux GHCR Image Automation
Goal
Create a reliable GitOps image release loop:
- GitHub Actions builds and pushes a container image to GHCR.
- Flux image-reflector-controller discovers the new tag or digest.
- Flux image-automation-controller commits the selected image reference back to Git.
- Flux kustomize-controller applies that commit and rolls the Kubernetes workload.
Prefer traceable, orderable image tags over mutable-only latest deployments.
The operator should be able to answer "which Git commit produced this running
pod?" from the image tag.
When Starting
Inspect the repo and cluster shape before editing:
.github/workflows/*.ymlDockerfilekustomization/**- any
ImageRepository,ImagePolicy,ImageUpdateAutomation,Deployment, and FluxKustomizationresources - the current branch name and default branch
- whether the Flux app
KustomizationusestargetNamespace
If a live cluster is available and the user is debugging a rollout, inspect live state before changing files:
flux get images all -n <image-resource-namespace>
kubectl get kustomization -A -o wide
kubectl describe imageupdateautomation <name> -n <namespace>
kubectl get deploy <name> -n <namespace> -o yaml
kubectl get gitrepository -A -o wide
Design Rules
- Do not rely on plain
sha-*tags for "latest commit" selection. SHA strings identify commits but do not sort by time. - Prefer branch, short SHA, and timestamp tags for branch builds:
<branch>-<short-git-sha>-<unix-timestamp>
- Configure Flux
ImagePolicyto filter the branch tag pattern, extract the timestamp, and use numerical ordering. - Keep Flux image update commits from triggering fresh image builds by ignoring
the manifest paths that Flux mutates, commonly
kustomization/**. - Keep the inline Flux setter comment on every image field Flux should update.
- Make the image setter comment reference the namespace where the
ImagePolicyactually exists after Flux applies the manifests. - When a Flux
KustomizationhastargetNamespace, remember that namespaced resources without an explicit namespace may land in that target namespace. - Set
ImageUpdateAutomation.spec.sourceRef.namespacewhen the referencedGitRepositoryis in a different namespace. - Keep
ImageUpdateAutomation.update.pathpointed at the directory that contains the file with the image setter comment.
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.
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.
- 11d ago First seen · 124 lines · 83 tokens per session scan A f72d9a51967b
flux-ghcr-image-automation is a skill published in the GitHub repository AnthonyPoschen/agent-skills (2 stars, last pushed yesterday), licensed MIT. It adds 83 tokens to every session and 1,076 once invoked, about $0.0004 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.
Other skills, from other repositories
nextjs-deployment
Provides comprehensive patterns for deploying Next.js applications to production. Use when configuring Docker containers, setting up GitHub Actions CI/CD pipelines, managing environment variables, implementing preview deployments, or setting up monitoring and logging for Next.js applications. Covers standalone output…
devops
DevOps - Docker, CI/CD, cloud infra, monitoring.
performing-container-security-scanning-with-trivy
Scan container images, filesystems, and Kubernetes manifests for vulnerabilities, misconfigurations, exposed secrets, and license compliance issues using Aqua Security Trivy with SBOM generation and CI/CD integration.
devops-deployment
Use when setting up CI/CD pipelines, containerizing applications, deploying to Kubernetes, or writing infrastructure as code. DevOps & Deployment covers GitHub Actions, Docker, Helm, and Terraform patterns.
devops-infrastructure
Guides Docker, CI/CD pipelines, deployment strategies, infrastructure as code, and observability setup. Use when writing Dockerfiles, configuring GitHub Actions, planning deployments, setting up monitoring, or when asked about containers, pipelines, Terraform, or production infrastructure.
devops-automator
Expert DevOps engineer for CI/CD, IaC, Kubernetes, and deployment automation. Activate on: CI/CD, GitHub Actions, Terraform, Docker, Kubernetes, Helm, ArgoCD, GitOps, deployment pipeline, infrastructure as code, container orchestration. NOT for: application code (use language skills), database schema (use…