bump

bump is a command for Claude Code from openshift-eng/ai-helpers. It costs 11 tokens per session (3,076 once invoked), scanned C, original, Apache-2.0.

A command for updating a downstream RPM package to a newer upstream version. RPM is a common Linux package format, and dist-git is a Git-based package-maintenance workflow.

In plain words
What is it for?
It is for bumping package versions, downloading sources, updating changelogs, and preparing Brew builds, optionally inside a Fedora Vagrant virtual machine.
Why use it?
It organizes spec-file, source, changelog, and build updates that can otherwise be easy to miss.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the node-rpm plugin — 1 command shipped together

Good fit It is for bumping package versions, downloading sources, updating changelogs, and preparing Brew builds, optionally inside a Fedora Vagrant virtual machine.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add openshift-eng/ai-helpers
Claude Code
/plugin install node-rpm

Made for: Claude Code.

Or install node-rpm, the plugin that ships this one along with the rest of its 1 command.

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 bump

README.md
[![agentmods](https://agentmods.dev/badge/commands/openshift-eng/ai-helpers/bump.svg)](https://agentmods.dev/commands/openshift-eng/ai-helpers/bump)
Your own site
<a href="https://agentmods.dev/commands/openshift-eng/ai-helpers/bump"><img src="https://agentmods.dev/badge/commands/openshift-eng/ai-helpers/bump.svg" alt="Measured on agentmods" height="20"></a>
Per session 11 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,076 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 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.00011 $0.03076
Opus 5 $0.00005 $0.01538
Sonnet 5 $0.00002 $0.00615
Haiku 4.5 $0.00001 $0.00308

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

Security

Grade C, and why

bump scanned grade C with 2 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 2d ago.

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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

Check if `<package>` already exists (from a prior interrupted run). In vagrant mode, check inside the VM: `cd .work/node-rpm && vagrant ssh -c "test -d <package>"`. In local mode, check `.work/node-rpm/<package>`. If it

Makes network callslowCapability

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

curl -s --connect-timeout 5 http://download.devel.redhat.com > /dev/null 2>&1 || echo "UNREACHABLE"
plugins/node-rpm/commands/bump.md · 276 lines

How it starts

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

Name

node-rpm:bump

Synopsis

/node-rpm:bump <package> <new-version> [--ocp-version <version>] [--scratch] [--vagrant]

Description

Guides the user through bumping a downstream RPM package to a new upstream version in Red Hat's dist-git. Handles spec file updates, source downloads, changelog bumps, and Brew builds.

The workflow follows the established pattern for Node team RPM packages (cri-tools as the primary template). Each phase presents its changes to the user for review before proceeding.

When --vagrant is passed, the entire workflow runs inside a Fedora Vagrant VM that is automatically provisioned with all required tools. This is the recommended approach when rhpkg and related tools are not installed locally.

Implementation

Phase 0: Setup and Argument Parsing

  1. Parse required arguments:

    • <package> (required): The package name, e.g. cri-tools. Must exist in the Packages table in ../references/rpm-workflow.md. If not found, list supported packages and stop.
    • <new-version> (required): The target upstream version, e.g. 1.36.0
  2. Parse optional arguments:

    • --ocp-version <version>: Target OCP version. If omitted, prompt the user to specify one.
    • --scratch: Run a scratch build instead of a full build.
    • --vagrant: Run the workflow inside a Vagrant VM.
  3. Check VPN connectivity:

    curl -s --connect-timeout 5 http://download.devel.redhat.com > /dev/null 2>&1 || echo "UNREACHABLE"
    

    If unreachable, warn the user to connect to the Red Hat VPN and stop.

  4. Validate prerequisites:

    Without --vagrant (local execution):

    which rhpkg 2>/dev/null || echo "MISSING: rhpkg"
    which spectool 2>/dev/null || echo "MISSING: spectool"
    which rpmdev-bumpspec 2>/dev/null || echo "MISSING: rpmdev-bumpspec"
    klist -s 2>/dev/null || echo "MISSING: valid Kerberos ticket (run kinit)"
    

    If any tool is missing, print installation instructions and stop.

Read the full file on GitHub · 276 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. 2d ago First seen · 276 lines · 11 tokens per session scan C 4d712de2a74d

Subscribe to this mod's changes

bump is a command published in the GitHub repository openshift-eng/ai-helpers (116 stars, last pushed 2d ago), licensed Apache-2.0. It adds 11 tokens to every session and 3,076 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it C with 2 findings (recursive force delete, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-05.