search

search is a command for Claude Code from wangke19/gemini-ai-helpers. It costs 7 tokens per session (1,961 once invoked), scanned A, original, Apache-2.0.

A search command for finding operators in OpenShift catalog sources, which are repositories listing operators available for installation. It shows matching operators, versions, update channels, and their source catalogs.

In plain words
What is it for?
Use it to search by operator name, keyword, or description, or to limit results to one catalog source.
Why use it?
It avoids checking multiple OperatorHub catalogs by hand when you need to discover what can be installed. It also helps compare available versions and channels before installation.

Command for Claude Code

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

Good fit Use it to search by operator name, keyword, or description, or to limit results to one catalog source.

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/wangke19/gemini-ai-helpers/search.svg)](https://agentmods.dev/commands/wangke19/gemini-ai-helpers/search)
Your own site
<a href="https://agentmods.dev/commands/wangke19/gemini-ai-helpers/search"><img src="https://agentmods.dev/badge/commands/wangke19/gemini-ai-helpers/search.svg" alt="Measured on agentmods" height="20"></a>
Per session 7 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,961 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.00007 $0.01961
Opus 5 $0.00003 $0.00981
Sonnet 5 $0.00001 $0.00392
Haiku 4.5 $0.00001 $0.00196

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

Security

Grade A, and why

search 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/search.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.

Name

olm:search

Synopsis

/olm:search [query] [--catalog <catalog-name>]

Description

The olm:search command searches for available operators in the cluster's catalog sources (OperatorHub). It helps you discover operators that can be installed, showing their names, descriptions, versions, channels, and catalog sources.

This command helps you:

  • Find operators by name, description, or keywords
  • Discover what operators are available for installation
  • View operator details before installing
  • Check available versions and channels
  • Identify which catalog source contains a specific operator

The command searches across all available catalog sources (redhat-operators, certified-operators, community-operators, redhat-marketplace, and custom catalogs) and presents results in an easy-to-read format.

Implementation

The command performs the following steps:

  1. Parse Arguments:

    • $1: Query string (optional) - Search term for filtering operators
      • If not provided, lists all available operators
      • Can be partial name, keyword, or description
    • $2+: Flags (optional):
      • --catalog <catalog-name>: Limit search to specific catalog source
      • --exact: Only show exact name matches
      • --installed: Show only installed operators (combination with /olm:list)
  2. Prerequisites Check:

    • Verify oc CLI is installed: which oc
    • Verify cluster access: oc whoami
    • If not installed or not authenticated, provide clear instructions
  3. Fetch Catalog Data:

    • Get all PackageManifests from openshift-marketplace:
      oc get packagemanifests -n openshift-marketplace -o json
      
    • If --catalog flag is specified, filter by catalog source:
      oc get packagemanifests -n openshift-marketplace -o json | jq '.items[] | select(.status.catalogSource=="{catalog-name}")'
      
  4. Parse PackageManifest Data:

    • For each PackageManifest, extract:
      • Name: .metadata.name
      • Display Name: .status.channels[0].currentCSVDesc.displayName
      • Description: .status.channels[0].currentCSVDesc.description
      • Provider: .status.provider.name
      • Catalog Source: .status.catalogSource
      • Catalog Namespace: .status.catalogSourceNamespace
      • Default Channel: .status.defaultChannel
      • All Channels: .status.channels[].name
      • Latest Version: .status.channels[] | select(.name==.status.defaultChannel) | .currentCSVDesc.version
      • Categories: .status.channels[0].currentCSVDesc.annotations["categories"]
      • Capabilities: .status.channels[0].currentCSVDesc.annotations["capabilities"]

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. 4d ago First seen · 248 lines · 7 tokens per session scan A 9e074f6baedc

Subscribe to this mod's changes

search is a command published in the GitHub repository wangke19/gemini-ai-helpers (2 stars, last pushed 5mo ago), licensed Apache-2.0. It adds 7 tokens to every session and 1,961 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.