bootstrap-om

bootstrap-om is a command for Claude Code from wangke19/gemini-ai-helpers. It costs 16 tokens per session (4,108 once invoked), scanned A, original, Apache-2.0.

A setup command for adding OpenShift Manager integration to an OpenShift operator. OpenShift Manager centralizes how operators declare resources and supports testing across different OpenShift cluster types.

In plain words
What is it for?
Use it to add resource discovery, configuration commands, Makefile targets, test directories, and starter scenarios to an operator project.
Why use it?
It removes much of the repetitive setup involved in discovering resources, creating integration commands, and preparing tests.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: mentions Gemini CLI.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is include $(addprefix ./vendor/github.com/openshift/build-machinery-go/make/, \.

Good fit Use it to add resource discovery, configuration commands, Makefile targets, test directories, and starter scenarios to an operator project.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/wangke19/gemini-ai-helpers
agentmods
npx agentmods add commands/wangke19/gemini-ai-helpers/bootstrap-om

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 bootstrap-om

README.md
[![agentmods](https://agentmods.dev/badge/commands/wangke19/gemini-ai-helpers/bootstrap-om.svg)](https://agentmods.dev/commands/wangke19/gemini-ai-helpers/bootstrap-om)
Your own site
<a href="https://agentmods.dev/commands/wangke19/gemini-ai-helpers/bootstrap-om"><img src="https://agentmods.dev/badge/commands/wangke19/gemini-ai-helpers/bootstrap-om.svg" alt="Measured on agentmods" height="20"></a>
Per session 16 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 4,108 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.00016 $0.04108
Opus 5 $0.00008 $0.02054
Sonnet 5 $0.00003 $0.00822
Haiku 4.5 $0.00002 $0.00411

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

Security

Grade A, and why

bootstrap-om 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/openshift/commands/bootstrap-om.md · 464 lines

How it starts

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

Name

openshift:bootstrap-om

Synopsis

/openshift:bootstrap-om

Description

The openshift:bootstrap-om command automates the complete integration of OpenShift Manager (OM) into OpenShift operators. OM (formerly Multi-Operator Manager/MOM) is a framework designed to reduce duplicate effort and improve consistency across different OpenShift cluster topologies (standalone/OCP and Hypershift/HCP) by centralizing operator management and enabling comprehensive testing.

This command automates:

  • Automatic resource discovery - Analyzes the codebase to identify all input and output resources
  • Command implementation - Creates the three required OM commands (input-resources, output-resources, apply-configuration)
  • Test infrastructure setup - Configures Makefile targets and test directories
  • Test scenario creation - Generates initial test cases with proper structure
  • Integration validation - Runs tests to ensure everything works correctly

Note: These instructions are optimized for operators built with github.com/openshift/library-go.

OpenShift Manager (OM) Overview

OM enables centralized operator management by requiring operators to declare their resource dependencies and configuration logic:

  1. input-resources - Lists all Kubernetes API resources the operator needs to read/watch
  2. output-resources - Maps Kubernetes API resources the operator creates/manages to cluster types (Configuration/Management/UserWorkload)
  3. apply-configuration - Runs operator logic in isolation using a manifestclient (a Kubernetes client that reads from a must-gather-like input directory instead of the API server): syncs once, outputs resulting resources to an output directory, then exits.

These declarations enable:

  • Production Runtime: A single OperatorManager binary can communicate with the Kubernetes API server on behalf of multiple operators, maintaining shared caches and implementing rate limiting
  • Testing: The apply-configuration command validates operator behavior without a live cluster by using the manifestclient for file-based input/output
  • Consistency: Ensure or facilitate identical operator behavior across different cluster topologies (standalone, Hypershift/HCP)

Read the full file on GitHub · 464 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 · 464 lines · 16 tokens per session scan A 0a6311568fac

Subscribe to this mod's changes

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