rhdh-base-images

rhdh-base-images is a skill for Claude Code, Codex from redhat-developer/rhdh-skills. It costs 151 tokens per session (1,252 once invoked), scanned A, original, Apache-2.0.

A maintenance helper for Red Hat Developer Hub repositories that checks the base container images, Node and Go toolchains, and RPM lock files they use.

In plain words
What is it for?
Checking image and toolchain drift, previewing updates, and updating base images, Node headers, Go versions, or RPM lock files in the named repositories and branches.
Why use it?
It shows which build inputs are outdated or inconsistent before you change them, reducing guesswork during weekly maintenance or Red Hat UBI and RHEL updates.

Skill for Claude CodeCodex

Written for Claude Code and Codex: shipped in a Claude Code plugin, but also agents/openai.yaml present.

Part of the CI plugin — 10 skills shipped together

Good fit Checking image and toolchain drift, previewing updates, and updating base images, Node headers, Go versions, or RPM lock files in the named repositories and branches.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/redhat-developer/rhdh-skills/rhdh-base-images
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 redhat-developer/rhdh-skills --skill rhdh-base-images
Clone the repo
git clone --depth 1 https://github.com/redhat-developer/rhdh-skills

Made for: Claude Code, Codex.

Or install CI, the plugin that ships this one along with the rest of its 10 skills.

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 rhdh-base-images

README.md
[![agentmods](https://agentmods.dev/badge/skills/redhat-developer/rhdh-skills/rhdh-base-images/github.svg)](https://agentmods.dev/skills/redhat-developer/rhdh-skills/rhdh-base-images)
Your own site
<a href="https://agentmods.dev/skills/redhat-developer/rhdh-skills/rhdh-base-images"><img src="https://agentmods.dev/badge/skills/redhat-developer/rhdh-skills/rhdh-base-images/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 rhdh-base-images

Your own site · 80×15
<a href="https://agentmods.dev/skills/redhat-developer/rhdh-skills/rhdh-base-images"><img src="https://agentmods.dev/badge/skills/redhat-developer/rhdh-skills/rhdh-base-images.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 151 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,252 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00151 $0.01252
Opus 5 $0.00076 $0.00626
Sonnet 5 $0.00030 $0.00250
Haiku 4.5 $0.00015 $0.00125

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

Security

Grade A, and why

rhdh-base-images scanned grade A 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 yesterday.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/analyze-base-images.sh, scripts/base-images-and-rpms.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

compatibility: "bash, jq, skopeo, curl, git, python3; podman or docker for toolchain detection; gh or glab for PR/MR creation."
skills/ci/rhdh-base-images/SKILL.md · 92 lines

How it starts

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

RHDH base images

Use the bundled scripts instead of reconstructing their repository-specific logic.

Repository checkouts are explicit inputs the user names. This skill never discovers another skill's paths.

Route

Intent Load or run
Read-only current/latest image scan workflows/update-base-images.md, then scripts/base-images-and-rpms.sh --analyze ...
Explain repository rules references/repos.md
Preview an update workflows/update-base-images.md, then scripts/base-images-and-rpms.sh --dry-run ...
Update images, lockfiles, Node headers, catalog builder, overlays node, or Go toolchain workflows/update-base-images.md

A scan reports, per repository: every FROM image with its current and latest tag, UBI minor skew within a file, Node or Go toolchain drift, the registries and branches it read, and anything it could not read.

Writing rules

Any checkout, branch, file edit, dependency install, commit, push, or PR is a write. Run read-only discovery or --dry-run first, then follow /mutation-gate: state each operation with its target repository and branch (rhdh:release-1.10), the exact command, the change it will land, and what happens to the remaining operations if it fails; get approval for that stated set; execute; then report every operation as completed, failed, or skipped, with the resources it changed and the risks that remain.

Installing rpm-lockfile-prototype, logging into registries, using --push, and opening PRs are each their own operation. Default to local, no-push behavior; do not push directly to protected branches. Verify the branch exists and the working tree is clean before writing.

Repository invariants

  • Accepted branch selectors are main or release-*; map them to the documented GitLab scripts branch in references/repos.md.
  • Keep base-image UBI minors aligned with RPM repository URLs.
  • On RHDH, update Node headers when the builder image changes Node. Then, when those checkouts are in scope, pin plugin-catalog build/containerfiles/builder.Containerfile FROM to the same UBI Node tag@sha256, copy .nvm/, rewrite konflux.additional-tags node-v* to match .nvmrc, and set overlays versions.json node to that version. Catalog maps release-1.Y → GitLab rhdh-1.Y-rhel-9 and release-2.Y → GitLab release-2.Y (using UBI10 / RHEL10). Catalog has no rpms.lock.yaml. Do not [skip-build] the catalog builder commit.
  • On rhdh-operator main, raise go.mod to the Go toolset image when the image is newer. Never lower go or toolchain to match an older image; a newer pin (for example from Renovate) is valid.
  • Exclude RHDH e2e-tests/ and .ci/ from image scans.
  • Ignore rpm-lockfile-prototype lines matching No sources found for or "no matching sources". Those source RPMs are often unpublished; the binary lockfile is still valid. Do not report them as unread, failed, or remaining risks.

Read the full file on GitHub · 92 lines

Files

What ships with it

5 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. yesterday Changed e44b4153e9ed
  2. 6d ago Changed · +10 lines · +48 tokens per session 281e417c9768
  3. 10d ago First seen · 82 lines · 103 tokens per session scan A 496e267ae54e

Subscribe to this mod's changes

rhdh-base-images is a skill published in the GitHub repository redhat-developer/rhdh-skills (16 stars, last pushed yesterday), licensed Apache-2.0. It adds 151 tokens to every session and 1,252 once invoked, about $0.0008 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). 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

docker-socket-mount

Docker / containerd socket mounted into a container → host RCE. Common in CI runners, GitOps controllers (ArgoCD, Flux), and 'Docker-in-Docker' setups. Single-command escape via docker run --rm --privileged -v /:/host alpine chroot /host.

PurpleAILAB/Decepticon · 67 tokens