Konflux Component logo

Konflux Component

Organization
opendatahub-io
konflux-component

Manage Konflux component

Overview

Publisheropendatahub-io
Repositoryai-helpers
Skill namekonflux-component
Stars
39
Forks
76
Bundled files
Instructions only
LicenseApache-2.0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by opendatahub-io on GitHub. Read the source before you install it.

Installation

Install the Konflux Component AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/opendatahub-io/ai-helpers/tree/main/plugins/odh-konflux/skills/konflux-component
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/opendatahub-io/ai-helpers.git /tmp/ai-helpers
mkdir -p .claude/skills
cp -r /tmp/ai-helpers/plugins/odh-konflux/skills/konflux-component .claude/skills/konflux-component
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Konflux Component in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Konflux Component on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Konflux Component is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Name

odh-ai-helpers:konflux-component

Synopsis

/konflux:component status <component>
/konflux:component build <components> [--wait duration] [--nudge] [--wait-for-release release-duration]

Description

The konflux:component command to manage Konflux component(s).

This command helps you:

  • Get status of a component - last build, commit message, snapshot and release
  • Trigger build of a component and wait until the build or release is done

Implementation

Subcommand: status

The command performs the following steps:

  1. Prerequisites Check:

    • Verify oc CLI is installed: which oc
    • Verify cluster access: oc whoami
    • If not installed or not authenticated, provide clear instructions
    • Verify git CLI is installed: which git
    • Verify the current directory is a Git repository: git remote -v
  2. Parse Arguments:

    • component: Component name (required)
  3. List components:

    • Get component
      bash
      kubeclt get component {component} -o yaml
    • The application name is provided .spec.application
    • The component name is provided .spec.componentName
    • The Git repository URL is provided .spec.source.git.url
    • The commit SHA is provided .status.lastBuiltCommit
    • The image is provided .status.lastPromotedImage
  4. Get Git information:

    • Use git branch -a --contains <commit-sha> to find the branch name
    • The Git repository should be in the current working directory. If it is not fail the command.
  5. Get Snapshots:

    • Get snapshots of the component and order by oldest
      bash
      kubectl get snapshot -l pac.test.appstudio.openshift.io/sha={commit},appstudio.openshift.io/component={component} --sort-by=.metadata.creationTimestamp
  6. Get Releases:

    • Get releases object for each snapshot
      bash
      kubectl get release -l pac.test.appstudio.openshift.io/sha={commit},appstudio.openshift.io/component={component}
    • The snapshot is specified in .spec.snapshot
    • The .status.conditions show if the release failed or succeeded
  7. Display result:

    • Display the result:
      | Component        | Built SHA | lastPromotedImage    |  Commit Message             | Git Branch   | Snapshots (oldest first) |
      |------------------|-----------|----------------------|-----------------------------|--------------|--------------------------|
      | {component}      | {commit}  | {lastPromotedImage}  | {commit-message}            | {git-branch} | {snapshots}              |
      | otel-bundle-main | 8ba2e60   |                      | Fix service account (#693)  | main         | otel-main-jnhfz          |
    • Display snapshot with release information for each snapshot
      Component: {component}
      | Snapshot        | Release                       | Release status                           |
      |-----------------|-------------------------------|------------------------------------------|
      | {snapshot}      | {release}                     | {release-status}                         |
      | otel-main-jnhfz | otel-main-jnhfz-8ba2e60-nnwnp | Failed (ManagedPipelineProcessed failed) |

Subcommand: build

The command performs the following steps:

  1. Prerequisites Check:

    • Verify oc CLI is installed: which oc
    • Verify cluster access: oc whoami
    • If not installed or not authenticated, provide clear instructions
    • Verify git CLI is installed: which git
    • Verify the current directory is a Git repository
  2. Parse Arguments:

    • $1: Component(s) (required): Konflux Component(s) name
    • $2: flag --wait <duration> (optional) wait duration for the build to finish
      • The duration can have suffix s for seconds, m for minutes or h for hours.
      • If other suffixes are specified fail the command
    • $3: flag --nudge (optional) nudge files after the build finishes
      • --nudge can be used only if --wait is used
    • $4: flag --wait-for-release <release-duration> (optional) wait until release is done
      • --wait-for-release can be used only if --wait is used
      • The duration can have suffix s for seconds, m for minutes or h for hours.
  3. Trigger the build:

    • Annotate each component to trigger the build
      bash
      kubectl annotate components/{compponent} build.appstudio.openshift.io/request=trigger-pac-build
  4. Get the build information:

    bash
    kubectl get pipelinerun -l appstudio.openshift.io/component={component}
    • Wait up to 5 minutes, it takes time for the PipelineRun to be created
    • The started pipeline name must have -on-push in the name
  5. Wait for the build to finish:

    • If --wait <duration> is provided wait for the PipelineRun to finish. The duration can be in s for seconds, m for minutes or h for hours.
    bash
    kubectl wait --for=condition=Suceeded=true pipelinerun/{pipelinerun} --timeout={duration}
    • Extract the nudge files specified in the .metadata.annotations["build.appstudio.openshift.io/build-nudge-files"] in the PipelineRun
    • The Snapshot object is created when the build finishes
    • Get the Snapshot object and extract container image .spec.components[?(@.name=="{component}")].containerImage
      bash
      kubectl get snapshot -l appstudio.openshift.io/build-pipelinerun={pipelinerun}
    • If the build fails use the troubleshooting instructions to explain the failure
  6. Wait for the release to finish:

    • If --wait-for-release <release-duration> is provided wait for the Release to finish. The release-duration can be in s for seconds, m for minutes or h for hours.
    bash
    kubectl wait --for=condition=Released=true --timeout={release-duration} -l appstudio.openshift.io/build-pipelinerun={pipelinerun}
  7. Nudge files:

    • If --wait <duration> and --nudge are provided nudge the files by repacing the containerImage in those files
  8. Display result:

    • Display the result:
      Component: {component} | PipelineRun: {pipelinerun-name} | Snapshot: {snapshot} | Container Image: {containerImage}

Return Value

  • status: Table of all components
  • build: PipelineRun custom resource name which is executing the build and snapshot if the build finished

Examples

  1. Get status of otel-collector-main component:

    bash
    /konflux:component status otel-collector-main
  2. Trigger build of the otel-collector-main component:

    bash
    /konflux:component build otel-collector-main
  3. Trigger build of the otel-collector-main and otel-operator-main component:

    bash
    /konflux:component build otel-collector-main otel-operator-main
  4. Trigger build of the otel-collector-main component and wait 30 minutes to finish:

    bash
    /konflux:component build otel-collector-main --wait 30m

Arguments

status

  • component (required): Name of the Konflux component

build

  • component (required): Name of the Konflux component
  • --wait (required): Duration how long to wait for the pipelinerun to finish

Troubleshooting

build

  • PipelineRun progress and failure:

    • The PipelineRun creates TaskRun(s) objects which create actuall pods to run the build.
    • The TaskRun for a specific PipelineRun can be found by kubectl get taskrun -l tekton.dev/pipelineRun={pipelinerun}
    • The pod for a specific TaskRun can be found by kubectl get pod -l tekton.dev/taskRun={taskrun}
    • Get the pod logs, kubernetes events, status and explain the failure
  • Release progress and failure

    • The release is executed as a PipelineRun. The release PipelineRun is defined in the Release object in .status.managedProcessing.pipelineRun
    • The example value is rhtap-releng-tenant/managed-vks2b. Which means the PipelineRun name is managed-vks2b and runs in rhtap-releng-tenant Kubernetes namespace.
    • The TaskRun for the release PipelineRun can be found by kubectl get taskrun -l tekton.dev/pipelineRun={pipelinerun} -n {namespace}
    • The pod for the release TaskRun can be found by kubectl get pod -l tekton.dev/taskRun={taskrun} -n {namespace}

Related Commands

  • /konflux:application status <application> - Show application status

Additional Resources

Frequently asked questions

What does the Konflux Component AI skill do?

Manage Konflux component

Why use Konflux Component on TypingMind?

Because you install it once and use it with any model. Konflux Component is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Konflux Component in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/opendatahub-io/ai-helpers/tree/main/plugins/odh-konflux/skills/konflux-component. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Konflux Component?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Konflux Component?

As many as you like. As long as a model supports skills, you can use Konflux Component with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Konflux Component AI skill free?

Yes. It is published on GitHub by opendatahub-io under the Apache-2.0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇