hypershift: Skill for Claude Code

.claude/skills/konflux-build/SKILL.md

konflux-build is a skill for Claude Code from openshift/hypershift. It costs 23 tokens per session (1,745 once invoked), scanned A, original, Apache-2.0.

A procedure for starting a manual Konflux build from a pull request. Konflux is a system that runs software build pipelines and produces container images.

In plain words
What is it for?
Use it to build a selected component from a pull request, choose a pipeline template, and create an expiring or permanent image.
Why use it?
It avoids waiting for an automatic build and lets you choose how long the resulting image remains available.

Skill for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

This is openshift/hypershift's own configuration. It tells Claude Code how to work on hypershift itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything hypershift configures →

Part of the hypershift plugin — 22 skills, 5 agents shipped together

Reuse

Borrowing it

Nothing to install: this file belongs to openshift/hypershift. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/openshift/hypershift/main/.claude/skills/konflux-build/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/openshift/hypershift

Made for: Claude Code.

Or install hypershift, the plugin that ships this one along with the rest of its 22 skills, 5 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 konflux-build

README.md
[![agentmods](https://agentmods.dev/badge/skills/openshift/hypershift/konflux-build.svg)](https://agentmods.dev/skills/openshift/hypershift/konflux-build)
Your own site
<a href="https://agentmods.dev/skills/openshift/hypershift/konflux-build"><img src="https://agentmods.dev/badge/skills/openshift/hypershift/konflux-build.svg" alt="Measured on agentmods" height="20"></a>
Per session 23 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,745 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.00023 $0.01745
Opus 5 $0.00012 $0.00873
Sonnet 5 $0.00005 $0.00349
Haiku 4.5 $0.00002 $0.00175

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

Security

Grade A, and why

konflux-build 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 7d 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.

.claude/skills/konflux-build/SKILL.md · 155 lines

How it starts

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

Create a manual Konflux build from a PR

Given a PR and a component name, create a manual PipelineRun that produces a container image. By default the image expires after 30 days. Use --non-expiring to produce a permanent image.

Usage Examples

  1. Build a specific component from a PR number (expires in 30 days): /konflux-build 7813 hypershift-release-mce-26

  2. Build from a PR URL (will prompt for component): /konflux-build https://github.com/openshift/hypershift/pull/7813

  3. Build a non-expiring image for a hotfix: /konflux-build 7813 hypershift-operator --non-expiring

  4. Build using a specific pipeline template: /konflux-build 7813 .tekton/hypershift-release-mce-26-push.yaml

  5. Build the main operator from a PR: /konflux-build 7500 hypershift-operator

What This Command Does

  1. Verifies you are logged into the Konflux cluster (stone-prd-rh01)
  2. Resolves the PR to get its head commit SHA and base branch
  3. Finds the matching push pipeline template from .tekton/ on the base branch
  4. Generates a manual PipelineRun YAML with template variables resolved
  5. Sets image expiry to 30 days (or removes it if --non-expiring is specified)
  6. Creates the PipelineRun and polls until completion
  7. Reports the final image reference with @sha256: digest

Input

  • PR: $ARGUMENTS (GitHub PR URL or number for openshift/hypershift)
  • Component or pipeline file: either a component name (e.g., hypershift-operator) or a path to a specific pipeline template (e.g., .tekton/hypershift-release-mce-26-push.yaml). If not specified, ask the user which component to build.
  • If --non-expiring is present in the arguments, produce a permanent image; otherwise set image-expires-after: 30d

Steps

0. Pre-check: verify OpenShift login

Before doing anything else, verify the user is logged in to the correct cluster and project:

  1. Run oc whoami --show-server and confirm it returns https://api.stone-prd-rh01.pg1f.p1.openshiftapps.com:6443. If not, stop and tell the user to log in:
    oc login https://api.stone-prd-rh01.pg1f.p1.openshiftapps.com:6443
    
  2. Run oc project -q and confirm it returns crt-redhat-acm-tenant. If not, switch to it:
    oc project crt-redhat-acm-tenant
    
    If the switch fails, stop and tell the user they don't have access to the required namespace.

Read the full file on GitHub · 155 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. 7d ago First seen · 155 lines · 23 tokens per session scan A 1208bd99dd09

Subscribe to this mod's changes

konflux-build is a skill published in the GitHub repository openshift/hypershift (540 stars, last pushed yesterday), licensed Apache-2.0. It adds 23 tokens to every session and 1,745 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-08-30.

Related

Other skills, from other repositories

deployment-patterns

Deployment workflows, CI/CD pipeline patterns, Docker containerization, health checks, rollback strategies, and production readiness checklists for web applications. Use when setting up deployment infrastructure or planning releases.

affaan-m/ECC · 41 tokens

scanning-containers-with-trivy-in-cicd

This skill covers integrating Aqua Security's Trivy scanner into CI/CD pipelines for comprehensive container image vulnerability detection. It addresses scanning Docker images for OS package and application dependency CVEs, detecting misconfigurations in Dockerfiles, scanning filesystem and git repositories, and…

xalgorix/xalgorix · 74 tokens

performing-container-security-scanning-with-trivy

Scan container images, filesystems, and Kubernetes manifests for vulnerabilities, misconfigurations, exposed secrets, and license compliance issues using Aqua Security Trivy with SBOM generation and CI/CD integration.

xalgorix/xalgorix · 48 tokens

devops

DevOps - Docker, CI/CD, cloud infra, monitoring.

sipyourdrink-ltd/bernstein · 16 tokens

devops-automator

Expert DevOps engineer for CI/CD, IaC, Kubernetes, and deployment automation. Activate on: CI/CD, GitHub Actions, Terraform, Docker, Kubernetes, Helm, ArgoCD, GitOps, deployment pipeline, infrastructure as code, container orchestration. NOT for: application code (use language skills), database schema (use…

curiositech/some_claude_skills · 87 tokens

devops-infrastructure

Guides Docker, CI/CD pipelines, deployment strategies, infrastructure as code, and observability setup. Use when writing Dockerfiles, configuring GitHub Actions, planning deployments, setting up monitoring, or when asked about containers, pipelines, Terraform, or production infrastructure.

CloudAI-X/claude-workflow-v2 · 57 tokens