catalog

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

A command for managing catalog sources, which are lists of Kubernetes operators available for installation in an OpenShift cluster.

In plain words
What is it for?
It helps list catalog status, add private or custom catalogs, remove catalogs, and refresh operator listings.
Why use it?
It brings catalog discovery, updates, health checks, and cleanup into one workflow instead of requiring separate cluster commands.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Good fit It helps list catalog status, add private or custom catalogs, remove catalogs, and refresh operator listings.

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/wangke19/gemini-ai-helpers/catalog.svg)](https://agentmods.dev/commands/wangke19/gemini-ai-helpers/catalog)
Your own site
<a href="https://agentmods.dev/commands/wangke19/gemini-ai-helpers/catalog"><img src="https://agentmods.dev/badge/commands/wangke19/gemini-ai-helpers/catalog.svg" alt="Measured on agentmods" height="20"></a>
Per session 8 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,065 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.00008 $0.03065
Opus 5 $0.00004 $0.01533
Sonnet 5 $0.00002 $0.00613
Haiku 4.5 $0.00001 $0.00307

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

Security

Grade A, and why

catalog 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/catalog.md · 434 lines

How it starts

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

Name

olm:catalog

Synopsis

/olm:catalog list
/olm:catalog add <name> <image> [--namespace=openshift-marketplace]
/olm:catalog remove <name> [--namespace=openshift-marketplace]
/olm:catalog refresh <name> [--namespace=openshift-marketplace]
/olm:catalog status <name> [--namespace=openshift-marketplace]

Description

The olm:catalog command manages catalog sources for operator discovery and installation. Catalog sources provide the list of operators available for installation in the cluster.

This command helps you:

  • List all available catalog sources and their health status
  • Add custom or private catalog sources
  • Remove catalog sources
  • Refresh catalog sources to get latest operator updates

Implementation

Subcommand: list

  1. Get All CatalogSources:

    oc get catalogsource -n openshift-marketplace -o json
    
  2. Parse CatalogSource Data: For each catalog, extract:

    • Name: .metadata.name
    • Display Name: .spec.displayName
    • Publisher: .spec.publisher
    • Source Type: .spec.sourceType (grpc, configmap, etc.)
    • Image: .spec.image (for grpc type)
    • Connection State: .status.connectionState.lastObservedState
    • Last Updated: .status.connectionState.lastUpdatedTime
    • Number of Operators: Count from PackageManifests with this catalog
  3. Get Catalog Pod Status:

    oc get pods -n openshift-marketplace -l olm.catalogSource={catalog-name}
    
  4. Format Output:

    ═══════════════════════════════════════════════════════════
    CATALOG SOURCES
    ═══════════════════════════════════════════════════════════
    
    NAME                     STATUS    OPERATORS  LAST UPDATED  SOURCE TYPE
    redhat-operators         READY     150        2h ago        grpc
    certified-operators      READY     45         3h ago        grpc
    community-operators      READY     200        1h ago        grpc
    redhat-marketplace       READY     30         4h ago        grpc
    custom-catalog           FAILED    0          -             grpc
    
    ═══════════════════════════════════════════════════════════
    DETAILS
    ═══════════════════════════════════════════════════════════
    
    redhat-operators:
      Display Name: Red Hat Operators
      Publisher: Red Hat
      Image: registry.redhat.io/redhat/redhat-operator-index:v4.20
      Pod: redhat-operators-abc123 (Running)
    
    custom-catalog (FAILED):
      Display Name: Custom Catalog
      Publisher: My Company
      Image: registry.example.com/custom-catalog:latest
      Pod: custom-catalog-xyz789 (CrashLoopBackOff)
      Error: ImagePullBackOff
      
      To troubleshoot:
      /olm:catalog status custom-catalog
    

Read the full file on GitHub · 434 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 · 434 lines · 8 tokens per session scan A 7cf44fd3fdb1

Subscribe to this mod's changes

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