create-cluster

create-cluster is a command for coding agents from wangke19/gemini-ai-helpers. It costs 13 tokens per session (4,626 once invoked), scanned E, original, Apache-2.0.

A cluster-creation command that extracts the OpenShift installer from a release image and uses it to create an OpenShift Container Platform cluster.

In plain words
What is it for?
Use it to create development or test clusters, especially when testing installer changes or configurations that other cluster services cannot provide.
Why use it?
It packages installer extraction and cluster setup into one workflow when you need direct control over the cluster configuration.

Command

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/create-cluster
Clone the repo
git clone --depth 1 https://github.com/wangke19/gemini-ai-helpers

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 create-cluster

README.md
[![agentmods](https://agentmods.dev/badge/commands/wangke19/gemini-ai-helpers/create-cluster.svg)](https://agentmods.dev/commands/wangke19/gemini-ai-helpers/create-cluster)
Your own site
<a href="https://agentmods.dev/commands/wangke19/gemini-ai-helpers/create-cluster"><img src="https://agentmods.dev/badge/commands/wangke19/gemini-ai-helpers/create-cluster.svg" alt="Measured on agentmods" height="20"></a>
Per session 13 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,626 The whole file, excluding the scripts and references it only reads on demand.
Security scan E 2 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.00013 $0.04626
Opus 5 $0.00006 $0.02313
Sonnet 5 $0.00003 $0.00925
Haiku 4.5 $0.00001 $0.00463

Measured yesterday against content hash e0aa12787e7c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade E, and why

create-cluster scanned grade E with 2 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 yesterday.

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.

Enumerates the file system for secretshighData exfiltration

Searching home directories for .env, .ssh, .aws or credential files is reconnaissance for credential theft.

- Check for existing SSH keys: `ls -la ~/.ssh/*.pub`

Reaches for credential fileshighPrivilege escalation

SSH keys, cloud credentials, git-credentials, .npmrc, /etc/shadow: reading these is how a config file becomes a credential leak.

- Default: `~/.ssh/id_rsa.pub`
extensions/openshift/commands/create-cluster.md · 581 lines

How it starts

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

Name

openshift:create-cluster

Synopsis

/openshift:create-cluster [release-image] [platform] [options]

Description

The create-cluster command automates the process of extracting the OpenShift installer from a release image (if not already present) and creating a new OpenShift Container Platform (OCP) cluster. It handles installer extraction from OCP release images, configuration preparation, and cluster creation in a streamlined workflow.

This command is useful for:

  • Setting up development/test clusters quickly

⚠️ When to Use This Tool

IMPORTANT: This is a last resort tool for advanced use cases. For most development workflows, you should use one of these better alternatives:

Recommended Alternatives

  1. Cluster Bot: Request ephemeral test clusters without managing infrastructure

    • No cloud credentials needed
    • Supports dependent PR testing
    • Automatically cleaned up
  2. Gangway

  3. Multi-PR Testing in CI: Test multiple dependent PRs together using /test-with commands

When to Use create-cluster

Only use this command when:

  • You need full control over cluster configuration
  • You're testing installer changes that aren't suitable for CI
  • You need a long-lived development cluster on your own cloud account
  • The alternatives don't meet your specific requirements

Note: This command requires significant setup (cloud credentials, pull secrets, DNS configuration, understanding of OCP versions). If you're new to OpenShift development, start with Cluster Bot or Gangway instead.

Prerequisites

Before using this command, ensure you have:

  1. OpenShift CLI (oc): Required to extract the installer from the release image

  2. Cloud Provider Credentials configured for your chosen platform:

    • AWS: ~/.aws/credentials configured with appropriate permissions
    • Azure: Azure CLI authenticated (az login)
    • GCP: The command will guide you through service account setup (either using an existing service account JSON or creating a new one)
    • vSphere: vCenter credentials
    • OpenStack: clouds.yaml configured

Read the full file on GitHub · 581 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. yesterday First seen · 581 lines · 13 tokens per session scan E e0aa12787e7c

Subscribe to this mod's changes

create-cluster is a command published in the GitHub repository wangke19/gemini-ai-helpers (2 stars, last pushed 5mo ago), licensed Apache-2.0. It adds 13 tokens to every session and 4,626 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it E with 2 findings (enumerates the file system for secrets, reaches for credential files). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.