generate-okd-ci-operator-configs

generate-okd-ci-operator-configs is a skill for Claude Code from openshift-eng/ai-helpers. It costs 57 tokens per session (1,429 once invoked), scanned A, original, Apache-2.0.

A generator for OKD and SCOS continuous-integration configuration files from ART OpenShift build metadata. These YAML files describe how the OpenShift release project's automated checks should run.

In plain words
What is it for?
Use it to generate or preview ci-operator configuration YAML for a requested OKD version, optionally writing the files to a chosen directory.
Why use it?
It turns release image metadata into the required configuration instead of requiring the files to be assembled by hand.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: reads .claude/ paths.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the ci plugin — 35 skills, 21 commands, 2 agents shipped together

Good fit Use it to generate or preview ci-operator configuration YAML for a requested OKD version, optionally writing the files to a chosen directory.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add openshift-eng/ai-helpers
Claude Code
/plugin install ci

Made for: Claude Code.

Or install ci, the plugin that ships this one along with the rest of its 35 skills, 21 commands, 2 agents.

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 generate-okd-ci-operator-configs

README.md
[![agentmods](https://agentmods.dev/badge/skills/openshift-eng/ai-helpers/generate-okd-ci-operator-configs/github.svg)](https://agentmods.dev/skills/openshift-eng/ai-helpers/generate-okd-ci-operator-configs)
Your own site
<a href="https://agentmods.dev/skills/openshift-eng/ai-helpers/generate-okd-ci-operator-configs"><img src="https://agentmods.dev/badge/skills/openshift-eng/ai-helpers/generate-okd-ci-operator-configs/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for generate-okd-ci-operator-configs

Your own site · 80×15
<a href="https://agentmods.dev/skills/openshift-eng/ai-helpers/generate-okd-ci-operator-configs"><img src="https://agentmods.dev/badge/skills/openshift-eng/ai-helpers/generate-okd-ci-operator-configs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 57 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,429 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.00057 $0.01429
Opus 5.5 $0.00023 $0.00572
Sonnet 5.5 $0.00011 $0.00286
Haiku 4.5 $0.00006 $0.00143

Measured 11d ago against content hash 29e4bf1bea26, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

generate-okd-ci-operator-configs 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 11d ago.

The scan reads SKILL.md. This mod also ships 7 executable files (generate_okd_ci_configs.py, okd_ci_configs/__init__.py, okd_ci_configs/ci_operator.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

plugins/ci/skills/generate-okd-ci-operator-configs/SKILL.md · 96 lines

How it starts

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

Generate OKD/SCOS ci-operator configuration YAML files for the openshift/release repository from ART image metadata using the bundled Python generator.

Arguments

Parse from: $ARGUMENTS

  • First argument: path to the ocp-build-data directory (must contain group.yml, streams.yml, images/).
  • Second argument: OKD version string (e.g. 4.18, 5.0).
  • --output-dir <path>: Directory to write ci-operator configs (default for this skill: ./okd-ci-configs). In an openshift/release checkout, use its ci-operator/config/ directory.
  • --github-token <token>: Optional GitHub token for downloading upstream Dockerfiles. Requests are unauthenticated when omitted.
  • --dry-run: Print generated YAML without writing files. Upstream Dockerfiles are still downloaded.

If no arguments are provided, look for ocp-build-data at ./tmp-dir/ocp-build-data/ or ../ocp-build-data/, and derive the OKD version from group.yml vars (MAJOR.MINOR). Use build data for the requested release; the OKD version argument controls the destination imagestream and does not change the metadata's branches.

Execution

1. Locate the bundled helper

Set SKILL_DIR to the absolute directory containing this SKILL.md. The entry point is generate_okd_ci_configs.py alongside this file.

  • In this repository, the skill directory is .claude/skills/generate-okd-ci-operator-configs-with-helper-script/.
  • In the ai-helpers CI plugin, it is ${CLAUDE_PLUGIN_ROOT}/skills/generate-okd-ci-operator-configs/.

The entry point imports the sibling okd_ci_configs package. Keep the whole skill directory together when installing or copying it. Running the entry point by its absolute path works from any working directory without setting PYTHONPATH or installing the helper package.

Python 3, PyYAML, and requests are required. Use the project's virtual environment if available. Check dependencies with:

python3 -c 'import yaml, requests'

Read the full file on GitHub · 96 lines

Files

What ships with it

7 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 11d ago First seen · 96 lines · 57 tokens per session scan A 29e4bf1bea26

Subscribe to this mod's changes

generate-okd-ci-operator-configs is a skill published in the GitHub repository openshift-eng/ai-helpers (119 stars, last pushed yesterday), licensed Apache-2.0. It adds 57 tokens to every session and 1,429 once invoked, about $0.0002 per session on Opus 5.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-10-07.

Related

Other skills, from other repositories

chinese-git-workflow

A reference for configuring Git with Chinese code-hosting services such as Gitee, Coding.net, GitLab China, and CNB, including SSH, HTTPS, credentials, CI, and repository mirroring.

jnMetaCode/superpowers-zh · 69 tokens

atmos-profiles

Atmos profiles: profile directories, --profile and ATMOSPROFILE activation, profile merge behavior, environment switching, and routing profile-specific auth/toolchain/config overrides.

cloudposse/atmos · 35 tokens

monorepo-management

Master monorepo management with Turborepo, Nx, and pnpm workspaces to build efficient, scalable multi-package repositories with optimized builds and dependency management. Use when setting up monorepos, optimizing builds, or managing shared dependencies.

wshobson/agents · 54 tokens

deployment-engineer

Expert deployment engineer specializing in modern CI/CD pipelines, GitOps workflows, and advanced deployment automation. Masters GitHub Actions, ArgoCD/Flux, progressive delivery, container security, and platform engineering. Handles zero-downtime deployments, security scanning, and developer experience optimization.…

rmyndharis/antigravity-skills · 77 tokens

webhook-management

Configure and validate CCAM webhook targets across supported chat, incident, automation, and generic providers. Use when listing provider requirements, creating or updating a target, scoping it to alert rules, sending a test notification, reviewing delivery history, or deleting a target.

hoangsonww/Claude-Code-Agent-Monitor · 56 tokens

ci-fixer

CI failures - read error, minimal fix, verify.

sipyourdrink-ltd/bernstein · 15 tokens