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 openshift-eng/ai-helpers --skill audit-release-go-versiongit clone --depth 1 https://github.com/openshift-eng/ai-helpersWrote 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/openshift-eng/ai-helpers/audit-release-go-version)<a href="https://agentmods.dev/skills/openshift-eng/ai-helpers/audit-release-go-version"><img src="https://agentmods.dev/badge/skills/openshift-eng/ai-helpers/audit-release-go-version/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/openshift-eng/ai-helpers/audit-release-go-version"><img src="https://agentmods.dev/badge/skills/openshift-eng/ai-helpers/audit-release-go-version.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.00068 | $0.01783 |
| Opus 5 | $0.00034 | $0.00892 |
| Sonnet 5 | $0.00014 | $0.00357 |
| Haiku 4.5 | $0.00007 | $0.00178 |
Grade A, and why
audit-release-go-version 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 today.
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 — 99 lines — stays where its author put it; the contents beside it link to each section on GitHub.
audit-release-go-version
Audit a release without modifying images, repositories, Jira, or external systems. Report only images whose effective Go builder does not match the requested target, plus items that cannot be accounted for with sufficient evidence.
Inputs
Require:
- target Go version: normally major.minor, such as
1.26; acceptgo1.26and normalize it to1.26. - release target: an OCP release pullspec, payload, or equivalent target resolvable to its image references.
Optional:
- scope:
OCP(default) orOKD. Accept OKD payloads natively (tags likeX.Y.0-0.okd-scos-*orX.Y.0-0.okd-scos-nightly-*); do not stop and ask for an OCP target. - source/ref policy: honor an explicit branch/ref policy. Otherwise use the release-aligned/current branch policy for the release, and record the ref used. Do not blindly use
io.openshift.build.commit.idfrom the payload as the source ref.
Match at the requested precision: 1.26 matches any 1.26.x; a requested patch version requires that exact patch when explicit builder evidence exposes it. If the target specifies patch precision (e.g. 1.26.3) but builder evidence only identifies major.minor (e.g. 1.26), classify as limited evidence — the patch version cannot be confirmed.
Required workflow
- Resolve the release target read-only (for example,
oc adm release info) and collect each tag's image pullspec, source repository annotation, and release version. Do not emit the complete inventory. - Determine the payload type from the release tag using explicit pattern matching:
- CI payload: tag matches
X.Y.0-0.ci-YYYY-*orX.Y.0-0.okd-scos-YYYY-*. - ART nightly: tag matches
*-nightly-*(e.g.4.19.0-0.nightly-*or4.19.0-0.okd-scos-nightly-*). - Next/stable payload: tag matches
X.Y.0-okd-scos.ec.*orX.Y.0-okd-scos.*— use the ART nightly resolution path. - Unrecognized tag pattern: stop and ask for clarification rather than guessing the payload type.
- CI payload: tag matches
- CI payloads — for each source repository, locate its ci-operator configuration across all relevant
openshift/release/ci-operator/config/<org>/trees. Search by repository identity and release variant; do not assumeconfig/openshiftis the only tree. In particular, account for organization trees such asopenshift-assistedandoperator-frameworkwhen they own the configuration. For OKD CI payloads, use the__okd-scosvariant configs (files ending in__okd-scos.yaml). - Select the config matching the release version and requested/current branch policy. A repository is not unresolved merely because its config lives outside the source repository's organization tree.
- Resolve the actual build context before reading builder evidence:
- use the applicable
images.items[].dockerfile_pathandcontext_dir; - follow Dockerfile pointer files and repository symlinks until reaching the real Dockerfile. Resolved paths must stay within the checked-out repository tree; if resolution escapes the repo boundary, classify the image as limited evidence and note the path issue;
- honor
build_root.from_repositoryand inspect its repository Dockerfile/context when it supplies the build root; - apply
images.items[].inputssubstitutions that replace DockerfileFROMreferences.
- use the applicable
- ART nightlies — for each image, query
openshift-eng/ocp-build-dataon theopenshift-X.Ybranch (whereX.Ymatches the release version):- locate the image YAML config (e.g.
images/cluster-monitoring-operator.yml); - read
from:to identify the builder image via stream members defined instreams.yml(e.g.buildermaps toopenshift-golang-builder); - read
content.source.gitfor the source repository URL and branch; - read
dockerfile_path:for the Dockerfile path in the source repo; - resolve the Dockerfile from the source repo using the
dockerfile_pathfrom the image config. - For OKD nightly payloads, use the
okd_alignment:stanza (notokd:). Theokd_alignment:field may override:dockerfile:— alternative Dockerfile (e.g.Dockerfile.okd)path:— override Dockerfile pathcontext_dir:— override build contextbuild_args:— OKD-specific build argumentsinject_rpm_repositories:— RPM repos for OKDresolve_as:— resolve from external source instead of building. Images withresolve_as:should be classified as limited evidence unless the external source's build provenance can be inspected
- locate the image YAML config (e.g.
- Inspect the resolved Dockerfile stages. Associate
FROMimages with stages that execute Go compilation (go build,go install,go test, or an equivalent invoked build). Resolve build arguments and substitutions where possible. Derive the Go version from the effective builder image/tag or its read-only metadata.
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.
- today First seen · 99 lines · 68 tokens per session scan A 3455c2250ad2
audit-release-go-version is a skill published in the GitHub repository openshift-eng/ai-helpers (116 stars, last pushed today), licensed Apache-2.0. It adds 68 tokens to every session and 1,783 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-12.
Other skills, from other repositories
go-binary-size
Reduce the size of compiled Go binaries and container images: linker flags, inlining budget, CGO and build tags, embedded assets, dependency weight, and measuring what actually costs bytes. Use when a binary or image is too large, when shrinking a CLI for distribution, or when auditing what a dependency adds to the…
go-containers
Go container optimization — scratch/distroless images, static binaries, CGO, ldflags, trimpath (846MB to 2.5MB). Use when working with Go containers or optimizing Go image sizes.
go-deploy
Build and deploy Go applications — version detection, static binaries, CGO, workspaces, and Dockerfile patterns. Use when deploying a Go project, or when go.mod is detected.
kubernetes-operator-development
Designs, implements, reviews, tests, and operates Kubernetes operators and controllers in Go with Kubebuilder and controller-runtime. Use when defining CRDs, reconciliation loops, status conditions, finalizers, admission webhooks, external-provider controllers, operator upgrades, envtest suites, or controller-runtime…
golang-k8s-agent
Use when building Go-based Kubernetes agents/controllers, reconcile loops, or cloud-native systems. Invoke for controller-runtime, CRDs, leader election, and Go concurrency.
docker-deploy
Build and deploy Go applications with Docker. Generates optimized multi-stage Dockerfiles, distroless images, docker-compose configs, and CI/CD pipelines. Use when dockerizing a Go app, optimizing image size, or setting up deployment. Triggers: "Dockerize my Go app", "Create a Dockerfile", "Deploy my Go service"…