list

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

A listing command that shows operators installed in an OpenShift cluster, including their status, version, and namespace. A namespace is an isolated area used to group cluster resources.

In plain words
What is it for?
Use it to list operators in one namespace or across every namespace and review their installation records.
Why use it?
It gives you a quick view of the cluster’s installed operators and highlights ones that may have failed or be upgrading.

Command for Claude Code

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

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.

agentmods
npx agentmods add commands/wangke19/gemini-ai-helpers/list
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 list

README.md
[![agentmods](https://agentmods.dev/badge/commands/wangke19/gemini-ai-helpers/list.svg)](https://agentmods.dev/commands/wangke19/gemini-ai-helpers/list)
Your own site
<a href="https://agentmods.dev/commands/wangke19/gemini-ai-helpers/list"><img src="https://agentmods.dev/badge/commands/wangke19/gemini-ai-helpers/list.svg" alt="Measured on agentmods" height="20"></a>
Per session 6 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,523 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00006 $0.01523
Opus 5 $0.00003 $0.00762
Sonnet 5 $0.00001 $0.00305
Haiku 4.5 $0.00001 $0.00152

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

Security

Grade A, and why

list 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 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.

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/list.md · 175 lines

How it starts

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

Name

olm:list

Synopsis

/olm:list [namespace] [--all-namespaces]

Description

The olm:list command lists all installed operators in an OpenShift cluster, showing their status, version, and namespace. This command provides a quick overview of the operator landscape in your cluster.

This command helps you:

  • Discover what operators are currently installed
  • Check operator versions and status at a glance
  • Identify operators that may need attention (failed, upgrading, etc.)
  • Get a comprehensive view across namespaces

The command presents information in an easy-to-read table format with key details about each operator's ClusterServiceVersion (CSV) and Subscription.

Implementation

The command performs the following steps:

  1. Parse Arguments:

    • $1: Namespace (optional) - Target namespace to list operators from
    • $2: Flag (optional):
      • --all-namespaces or -A: List operators across all namespaces (default behavior if no namespace specified)
  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. Determine Scope:

    • If namespace is specified: List operators only in that namespace
    • If --all-namespaces flag or no arguments: List operators cluster-wide
    • Default behavior: Show all operators across all namespaces
  4. Fetch Operator Data:

    • Get all ClusterServiceVersions (CSVs):
      # For specific namespace
      oc get csv -n {namespace} -o json
      
      # For all namespaces
      oc get csv --all-namespaces -o json
      
    • Get all Subscriptions:
      # For specific namespace
      oc get subscription -n {namespace} -o json
      
      # For all namespaces
      oc get subscription --all-namespaces -o json
      
  5. Parse and Correlate Data:

    • For each CSV, extract:
      • Name: .metadata.name
      • Namespace: .metadata.namespace
      • Display Name: .spec.displayName
      • Version: .spec.version
      • Phase/Status: .status.phase (e.g., "Succeeded", "Installing", "Failed")
      • Install Time: .metadata.creationTimestamp
    • For each Subscription, extract:
      • Operator Name: .spec.name
      • Channel: .spec.channel
      • Source: .spec.source
      • Installed CSV: .status.installedCSV
      • Current CSV: .status.currentCSV
    • Correlate Subscriptions with CSVs to show complete operator information

Read the full file on GitHub · 175 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 · 175 lines · 6 tokens per session scan A d8542619a9c5

Subscribe to this mod's changes

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