opm

opm is a command for Claude Code from wangke19/gemini-ai-helpers. It costs 15 tokens per session (3,680 once invoked), scanned A, original, Apache-2.0.

A command interface for opm, the Operator Package Manager used to build and inspect OpenShift operator catalogs. Catalogs are indexes that describe which operator packages, versions, and update channels are available.

In plain words
What is it for?
Use it to build catalog index images, create semantic-version templates, and list packages, channels, or bundles in a catalog.
Why use it?
It groups common catalog-building and catalog-inspection tasks into one command, so you do not need separate procedures for each operation.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: positional $N argument.

Good fit Use it to build catalog index images, create semantic-version templates, and list packages, channels, or bundles in a catalog.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/wangke19/gemini-ai-helpers/opm
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.

Clone the repo
git clone --depth 1 https://github.com/wangke19/gemini-ai-helpers

Made for: Claude Code.

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 opm

README.md
[![agentmods](https://agentmods.dev/badge/commands/wangke19/gemini-ai-helpers/opm.svg)](https://agentmods.dev/commands/wangke19/gemini-ai-helpers/opm)
Your own site
<a href="https://agentmods.dev/commands/wangke19/gemini-ai-helpers/opm"><img src="https://agentmods.dev/badge/commands/wangke19/gemini-ai-helpers/opm.svg" alt="Measured on agentmods" height="20"></a>
Per session 15 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,680 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.00015 $0.03680
Opus 5 $0.00008 $0.01840
Sonnet 5 $0.00003 $0.00736
Haiku 4.5 $0.00002 $0.00368

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

Security

Grade A, and why

opm 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 4d 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.

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.

extensions/olm/commands/opm.md · 360 lines

How it starts

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

Name

olm:opm

Synopsis

/olm:opm build-index-image <catalog-path> <index-image-tag> [--cacheless] [--arch=<arch>] [--base-image=<image>] [--builder-image=<image>]
/olm:opm build-semver-index-image <semver-template-file> <index-image-tag> [--cacheless] [--arch=<arch>] [--base-image=<image>] [--builder-image=<image>]
/olm:opm generate-semver-template <bundle-list> [--output=<file>] [--major=true|false] [--minor=true|false]
/olm:opm list packages <index-ref>
/olm:opm list channels <index-ref> [package-name]
/olm:opm list bundles <index-ref> [package-name]

Description

The olm:opm command provides a unified interface to opm (Operator Package Manager) operations for building and managing operator catalog indexes. It supports building catalog indexes, generating semver templates, and querying catalog contents.

Arguments

  • $1: action - The action to perform:
    • build-index-image: Build an index from an existing catalog directory
    • build-semver-index-image: Build an index from a semver template
    • generate-semver-template: Generate a semver template file
    • list: List catalog contents (requires second argument: packages, channels, or bundles)
  • $2+: Additional arguments specific to each action (see Actions section below)

Actions

build-index-image

Build an operator catalog index image from an existing catalog directory.

Synopsis:

/olm:opm build-index-image <catalog-path> <index-image-tag> [--cacheless] [--arch=<arch>] [--base-image=<image>] [--builder-image=<image>]

Arguments:

  • $2: catalog-path - Path to the catalog directory containing the index configuration
  • $3: index-image-tag - Full image tag for the resulting index image (e.g., quay.io/myorg/mycatalog:v1.0.0)
  • --cacheless: Optional flag to build a cacheless image (uses scratch as base image; --base-image and --builder-image are ignored when this is set)
  • --arch=<arch>: Optional architecture specification (default: multi for multi-arch build; can specify single arch like amd64, arm64, ppc64le, s390x)
  • --base-image=<image>: Optional base image for the index (default: quay.io/operator-framework/opm:latest; ignored if --cacheless is set)
  • --builder-image=<image>: Optional builder image (default: quay.io/operator-framework/opm:latest; ignored if --cacheless is set)

Read the full file on GitHub · 360 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. 4d ago First seen · 360 lines · 15 tokens per session scan A 289172093e9a

Subscribe to this mod's changes

opm is a command published in the GitHub repository wangke19/gemini-ai-helpers (2 stars, last pushed 5mo ago), licensed Apache-2.0. It adds 15 tokens to every session and 3,680 once invoked, about $0.0001 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-03.