rhdh-yarn-bump

rhdh-yarn-bump is a skill for Claude Code, Codex from redhat-developer/rhdh-skills. It costs 139 tokens per session (2,281 once invoked), scanned A, original, Apache-2.0.

A procedure for updating Yarn Berry, the modern release line of the JavaScript package manager, across several Red Hat Developer Hub repositories.

In plain words
What is it for?
Use it to update Yarn pins, package-manager settings, release files, lockfiles, environment variables, and container definitions across the listed repositories.
Why use it?
It handles version references that a normal Yarn update may miss, reducing inconsistent Yarn versions between workspaces and container files.

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 — 12 skills shipped together

Good fit Use it to update Yarn pins, package-manager settings, release files, lockfiles, environment variables, and container definitions across the listed repositories.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/redhat-developer/rhdh-skills/rhdh-yarn-bump
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-yarn-bump
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-yarn-bump

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/redhat-developer/rhdh-skills/rhdh-yarn-bump"><img src="https://agentmods.dev/badge/skills/redhat-developer/rhdh-skills/rhdh-yarn-bump.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 139 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,281 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00139 $0.02281
Opus 5.5 $0.00056 $0.00912
Sonnet 5.5 $0.00028 $0.00456
Haiku 4.5 $0.00014 $0.00228

Measured 2d ago against content hash 9815030c95fd, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

rhdh-yarn-bump 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 2d ago.

The scan reads SKILL.md. This mod also ships 4 executable files (scripts/bump-yarn.js, scripts/yarn-bump.sh, tests/bump-yarn.test.mjs, …), 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.

`yarn-bump.sh` runs `curl -fsSL` once against `https://repo.yarnpkg.com/<to>/packages/yarnpkg-cli/bin/yarn.js` (the same URL `yarn set version` uses) and installs that file into every bumped `.yarn/releases` directory th
skills/ci/rhdh-yarn-bump/SKILL.md · 107 lines

How it starts

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

RHDH multi-repo Yarn bump

Goal

Propagate a Yarn Berry 4.x bump across:

Repo Notes
redhat-developer/rhdh-plugins root workspace (+ Fullsend if hardcoded)
redhat-developer/rhdh root + nested workspaces + Containerfile
redhat-developer/rhdh-plugin-export-overlays many packageManager pins
redhat-developer/rhdh-cli root packageManager / yarnPath
gitlab.cee.redhat.com/rhidp/rhdh distgit binary + ENV YARN= (fetched CLI, same bytes as GitHub)
gitlab.cee.redhat.com/rhidp/rhdh-plugin-catalog per-workspace pins + Containerfiles

Renovate Yarn packageManager updates are disabled (RHIDP-17563). This skill is the bump path.

Branch: live line is main on GitHub and GitLab CEE.

What actually changes

yarn set version <to>                 # packageManager + yarnPath + .yarn/releases
chmod +x .yarn/releases/yarn-<to>.cjs
yarn install --mode=update-lockfile

When package.json defines prettier:check or prettier:fix, yarn-bump.sh runs yarn prettier --ignore-unknown --write on the changed files before commit. Yarn writes "**" in .yarnrc.yml; Prettier (rhdh-cli) requires '**'.

Plus pins Yarn cannot see: ENV YARN=, Containerfile / Dockerfile yarn_version= and literal yarn set version (including versions not in --from; denylist pins stay). yarn set version $yarn_version is left as a variable.

yarn-bump.sh runs curl -fsSL once against https://repo.yarnpkg.com/<to>/packages/yarnpkg-cli/bin/yarn.js (the same URL yarn set version uses) and installs that file into every bumped .yarn/releases directory that pins its own release. GitHub PRs and GitLab MRs commit yarn-<to>.cjs (mode 100755) plus the removed older binary. If the download fails, GitLab falls back to copying a binary produced by a GitHub bump.

Read the full file on GitHub · 107 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. 2d ago Changed · +2 lines 9815030c95fd
  2. 3d ago Changed · +3 lines 0ca91a2dfd67
  3. 15d ago Changed · +1 lines 6fff6fa9dc2c
  4. 1mo ago Changed · +12 lines 50bc7163989a
  5. 1mo ago Changed · +2 lines a2efd090a83e
  6. 2mo ago Changed · -10 lines · +5 tokens per session 9ab8c6034499
  7. 3mo ago First seen · 97 lines · 134 tokens per session scan A aecc11e20e84

Subscribe to this mod's changes

rhdh-yarn-bump is a skill published in the GitHub repository redhat-developer/rhdh-skills (21 stars, last pushed today), licensed Apache-2.0. It adds 139 tokens to every session and 2,281 once invoked, about $0.0006 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-yarn-bump compared with skills from other repositories

rhdh-yarn-bump next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
rhdh-yarn-bumpredhat-developer/rhdh-skillsSkill21todayApache-2.0A139Claude Code, Codex
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill82ktodayMITA200Claude Code, Codex
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill102ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill396ktodayMITA36Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill15ktodayCC0-1.0A113Claude Code, Codex
systematic-debuggingobra/superpowersSkill333k7d agoMITA21Claude Code