audit-release-go-version

audit-release-go-version is a skill for Claude Code from openshift-eng/ai-helpers. It costs 68 tokens per session (1,783 once invoked), scanned A, original, Apache-2.0.

A read-only audit procedure for checking which Go version was used to build images in an OpenShift or OKD release payload. OpenShift and OKD are Kubernetes-based container platforms, and a payload is the collection of images that makes up a release.

In plain words
What is it for?
Use it to inspect a release pull specification or payload, compare image builder versions with a target such as Go 1.26, honor branch rules, and report mismatches or unaccounted images.
Why use it?
It helps identify release images whose effective Go builder version differs from a requested version, including cases where the available evidence is incomplete. It does so without changing images, repositories, issue trackers, or external systems.

Skill for Claude Code

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

Part of the golang plugin — 5 skills, 1 hook shipped together

Good fit Use it to inspect a release pull specification or payload, compare image builder versions with a target such as Go 1.26, honor branch rules, and report mismatches or unaccounted images.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/openshift-eng/ai-helpers/audit-release-go-version
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.

Any agent
npx skills add openshift-eng/ai-helpers --skill audit-release-go-version
Clone the repo
git clone --depth 1 https://github.com/openshift-eng/ai-helpers

Made for: Claude Code.

Or install golang, the plugin that ships this one along with the rest of its 5 skills, 1 hook.

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 audit-release-go-version

README.md
[![agentmods](https://agentmods.dev/badge/skills/openshift-eng/ai-helpers/audit-release-go-version/github.svg)](https://agentmods.dev/skills/openshift-eng/ai-helpers/audit-release-go-version)
Your own site
<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.

agentmods 80×15 button for audit-release-go-version

Your own site · 80×15
<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>
Per session 68 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,783 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.00068 $0.01783
Opus 5 $0.00034 $0.00892
Sonnet 5 $0.00014 $0.00357
Haiku 4.5 $0.00007 $0.00178

Measured today against content hash 3455c2250ad2, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

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.

plugins/golang/skills/audit-release-go-version/SKILL.md · 99 lines

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; accept go1.26 and normalize it to 1.26.
  • release target: an OCP release pullspec, payload, or equivalent target resolvable to its image references.

Optional:

  • scope: OCP (default) or OKD. Accept OKD payloads natively (tags like X.Y.0-0.okd-scos-* or X.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.id from 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

  1. 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.
  2. Determine the payload type from the release tag using explicit pattern matching:
    • CI payload: tag matches X.Y.0-0.ci-YYYY-* or X.Y.0-0.okd-scos-YYYY-*.
    • ART nightly: tag matches *-nightly-* (e.g. 4.19.0-0.nightly-* or 4.19.0-0.okd-scos-nightly-*).
    • Next/stable payload: tag matches X.Y.0-okd-scos.ec.* or X.Y.0-okd-scos.* — use the ART nightly resolution path.
    • Unrecognized tag pattern: stop and ask for clarification rather than guessing the payload type.
  3. 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 assume config/openshift is the only tree. In particular, account for organization trees such as openshift-assisted and operator-framework when they own the configuration. For OKD CI payloads, use the __okd-scos variant configs (files ending in __okd-scos.yaml).
  4. 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.
  5. Resolve the actual build context before reading builder evidence:
    • use the applicable images.items[].dockerfile_path and context_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_repository and inspect its repository Dockerfile/context when it supplies the build root;
    • apply images.items[].inputs substitutions that replace Dockerfile FROM references.
  6. ART nightlies — for each image, query openshift-eng/ocp-build-data on the openshift-X.Y branch (where X.Y matches 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 in streams.yml (e.g. builder maps to openshift-golang-builder);
    • read content.source.git for 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_path from the image config.
    • For OKD nightly payloads, use the okd_alignment: stanza (not okd:). The okd_alignment: field may override:
      • dockerfile: — alternative Dockerfile (e.g. Dockerfile.okd)
      • path: — override Dockerfile path
      • context_dir: — override build context
      • build_args: — OKD-specific build arguments
      • inject_rpm_repositories: — RPM repos for OKD
      • resolve_as: — resolve from external source instead of building. Images with resolve_as: should be classified as limited evidence unless the external source's build provenance can be inspected
  7. Inspect the resolved Dockerfile stages. Associate FROM images 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.

Read the full file on GitHub · 99 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. today First seen · 99 lines · 68 tokens per session scan A 3455c2250ad2

Subscribe to this mod's changes

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.

Related

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…

eduardo-sl/go-agent-skills · 138 tokens

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.

laurigates/claude-plugins · 47 tokens

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.

nixopus/nixopus · 41 tokens

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…

d-padmanabhan/agent-engineering-handbook · 72 tokens

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.

Awish021/opencode · 39 tokens

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"…

daibang123a/golang-agent-skills · 87 tokens