rhdh-base-images

rhdh-base-images is a skill for Claude Code, Codex from redhat-developer/rhdh-skills. It costs 273 tokens per session (4,289 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. Also seen: $skill-name invocation.

Part of the CI plugin — 12 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 12 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 273 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,289 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.00273 $0.04289
Opus 5.5 $0.00109 $0.01716
Sonnet 5.5 $0.00055 $0.00858
Haiku 4.5 $0.00027 $0.00429

Measured today against content hash 528f12709403, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 today.

The scan reads SKILL.md. This mod also ships 4 executable files (scripts/analyze-base-images.sh, scripts/base-images-and-rpms.sh, scripts/rebuildGitlabRunner.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 · 248 lines

How it starts

The opening of the file, as written. The whole thing — 248 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, Go toolchain, or the helm_version pin workflows/update-base-images.md
Rebuild the GitLab runner image after a catalog builder bump merged and published, and re-pin .gitlab-ci.yml in rhdh + rhdh-plugin-catalog workflows/gitlab-runner-rebuild.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.

When the user asks to push and open a PR/MR after approval, invoke /rhdh-pr-mr by name (or its create-pr-mr.sh) instead of hand-rolling gh pr create / glab mr create. Pass --issue when a Jira key is already known; omit it to skip linking. Midstream updateBaseImages.sh still uses distgit createPR.sh until that path is migrated.

Read the full file on GitHub · 248 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 Changed · +31 lines 528f12709403
  2. 2d ago Changed · +10 lines 316e524953ea
  3. 6d ago Changed · +34 lines 02220d93664e
  4. 7d ago Changed · +28 lines · +89 tokens per session 24f1e23c1041
  5. 11d ago Changed · +6 lines e13a98a99635
  6. 1mo ago Changed · +3 lines 91a0c59aefbd
  7. 1mo ago Changed · +29 lines · +10 tokens per session 281004ebe716
  8. 1mo ago Changed · +5 lines · +23 tokens per session 6c4f4df5e6b4
  9. 2mo ago Changed · +10 lines 25a61dc69203
  10. 2mo ago First seen · 92 lines · 151 tokens per session scan A e44b4153e9ed

Subscribe to this mod's changes

rhdh-base-images is a skill published in the GitHub repository redhat-developer/rhdh-skills (21 stars, last pushed today), licensed Apache-2.0. It adds 273 tokens to every session and 4,289 once invoked, about $0.0011 per session on Opus 5.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

rhdh-base-images compared with skills from other repositories

rhdh-base-images next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
rhdh-base-imagesredhat-developer/rhdh-skillsSkill21todayApache-2.0A273Claude Code, Codex
deploy-docker-composeomnigent-ai/omnigentSkill12ktodayApache-2.0A84Claude Code, Codex
bdd-container-updateNVIDIA-AI-Blueprints/video-search-and-summarizationSkill2.0ktodayApache-2.0A117Cursor
securing-kubernetes-on-cloudxalgorix/xalgorixSkill1.6ktodayApache-2.0A80Claude Code, Codex
detecting-privilege-escalation-in-kubernetes-podsxalgorix/xalgorixSkill1.6ktodayApache-2.0A40Claude Code, Codex
docker-socket-mountPurpleAILAB/DecepticonSkill6.9k15d agoApache-2.0B67Claude Code
managing-astro-local-envastronomer/agentsSkill4662d agoApache-2.0A63Claude Code