Odh Llm D Release 标志

Odh Llm D Release

组织
opendatahub-io
odh-llm-d-release

在一个周期内协调 opendatahub-io 所有 llm-d 组件的发布。收集上游(llm-d)版本,自动发现发布跟踪议题,然后并行启动多个子智能体——每个组件一个,分别负责发布分支、Konflux 入驻工作流、PR 验证、批准并合并、Quay 镜像验证和 GitHub 草稿发布;此外还会启动一个 KServe 元数据 PR 子智能体。最后发布 #Release# 跟踪评论。当发布经理在 llm-d 团队的代码冻结日期当天或之前运行时使用。

Add to TypingMind

概览

发布者opendatahub-io
代码仓库ai-helpers
技能名称odh-llm-d-release
星标数
39
复刻数
76
附带文件
14
许可协议Apache-2.0
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 14 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 opendatahub-io 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Odh Llm D Release AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/opendatahub-io/ai-helpers/tree/main/plugins/odh-llm-d/skills/odh-llm-d-release
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

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-llm-d/skills/odh-llm-d-release .claude/skills/odh-llm-d-release
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Odh Llm D Release,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Odh Llm D Release。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Odh Llm D Release 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

ODH llm-d Release Orchestrator

Runs once per ODH release cycle by the release manager. Drives release branch creation, the Konflux onboarder workflow, onboarder-PR validation and merge, Quay image verification, KServe metadata PR, and the tracker comment — for every llm-d component in one shot.

Single input: --version v3.5-ea2. Three values derive from it:

UseValue
ODH release branch on each component reporelease-v3.5-ea2
Konflux onboarder version input + Quay image tagv3.5-ea2
GitHub release tag on each component repoodh-v3.5-ea2

Value flow (for --version v3.5-ea2)

This diagram shows where the version goes, what name it takes at each stop, and which script flag receives it. Three derived values are colored below: B = release branch, T = image tag (unchanged from VERSION), R = GitHub release tag.

text
release manager
 └─ /odh-llm-d-release --version v3.5-ea2

orchestrator (SKILL.md)
   VERSION       = v3.5-ea2
   RELEASE_BRANCH= release-v3.5-ea2     (B = release_branch_prefix + VERSION)
   IMAGE_TAG     = v3.5-ea2             (T = VERSION, unchanged)
   RELEASE_TAG   = odh-v3.5-ea2         (R = github_release_tag_prefix + VERSION)
 │
 ├── per-component sub-agent (one per component, in parallel)
 │     step 1  create-release-branch.sh    --branch B    → branch release-v3.5-ea2
 │     step 2  onboarder-trigger-gha.sh    --version T   → Konflux builds quay.io/.../<image>:v3.5-ea2
 │     step 6  release-image-checker.sh    --tag     T   → verifies quay.io/.../<image>:v3.5-ea2
 │     step 7  create-github-release.sh    --tag     R   → draft GH release tagged odh-v3.5-ea2
 │
 └── KServe metadata sub-agent
       open-kserve-metadata-pr.sh          --version VERSION  → PR title/branch use v3.5-ea2
                                           (the upstream component versions in --updates
                                            are SEPARATE — collected from the release
                                            manager via AskUserQuestion in step 1)

Step 0 — Parse arguments and load config

Parse $ARGUMENTS:

  • --version <ver> (required) — the ODH release version. Accepted forms:
    • GA: v3.5, v3.5.0
    • Early Access: v3.5-ea1, v3.5-ea.1, v3.5.0-ea.1 (also v3.5.0-ea1)

Validate that --version matches ^v[0-9]+\.[0-9]+(\.[0-9]+)?(-[A-Za-z0-9.]+)?$. If missing or malformed, prompt the user via AskUserQuestion and stop on cancel.

Load the registry:

bash
SKILL_DIR="${CLAUDE_SKILL_DIR:-$(cd "$(dirname "$0")" && pwd)}"
CONFIG="${SKILL_DIR}/references/components.yaml"

VERSION="<parsed>"
RELEASE_BRANCH="$(yq -r '.release.release_branch_prefix' "${CONFIG}")${VERSION}"
IMAGE_TAG="${VERSION}"
RELEASE_TAG="$(yq -r '.release.github_release_tag_prefix' "${CONFIG}")${VERSION}"

Run the tools check:

bash
bash "${SKILL_DIR}/scripts/tools-checker.sh"

If it fails, stop and surface what's missing.

Step 1 — Collect upstream versions

For the KServe metadata PR, gather the upstream version for every component and every entry in kserve_extra_entries (vLLM today). Use a single AskUserQuestion call so the release manager fills them all in at once rather than answering one prompt at a time.

Build the list of names to ask about:

bash
# Per-component entries (kserve_entry_name) + extras (e.g. vLLM)
yq -r '.components | to_entries[] | .value.kserve_entry_name' "${CONFIG}"
yq -r '.release.kserve_extra_entries[]' "${CONFIG}"

Issue one AskUserQuestion with one question per name, prompting "Upstream version for <name> (e.g. v0.7.1):". Cancel ⇒ stop.

Build UPDATES for the KServe sub-agent from the collected answers:

json
[{"name": "llm-d-router", "version": "v0.7.1"}, ...]

Step 2 — Auto-discover the tracker issue

bash
bash "${SKILL_DIR}/scripts/tracker-issue-finder.sh" \
    --version "${VERSION}"

Parse the output. Behavior:

  • tracker-issue-finder.sh exited non-zero (GitHub API/search failure): tell the user the search failed (show stderr), and ask whether to retry, to provide an issue number directly, or to skip the final comment step.
  • count == 0 — tell the user no tracker issue matches ${VERSION}, ask whether to skip the final comment step or to provide an issue number.
  • count == 1 — show the single match (title + URL) and confirm.
  • count > 1 — show the matches in an AskUserQuestion and let the user pick.

Save TRACKER_ISSUE_NUMBER (or "" if skipped).

Step 3 — Spawn sub-agents in parallel

You will issue one message containing multiple Agent tool calls so they all run in parallel. Build the prompts by reading the templates and substituting variables.

3a — Per-component sub-agents

For each key in .components (iterate via yq):

  • Read references/per-component-task.md.
  • Substitute only SKILL_DIR, COMPONENT_KEY, VERSION (and optionally QUAY_TIMEOUT). The sub-agent reads everything else (ODH repo, default branch, workflow component, konflux files, Quay org, etc.) directly from components.yaml.
  • Issue one Agent tool call with the substituted prompt and subagent_type=general-purpose. Description: Release <COMPONENT_KEY>.

3b — KServe metadata PR sub-agent

  • Read references/kserve-pr-task.md.
  • Substitute SKILL_DIR, VERSION, UPDATES. The sub-agent reads kserve_metadata_file and kserve_keep_entries from components.yaml directly (upstream repo and target branch are hardcoded in the script).
  • Issue one Agent tool call.

All sub-agent calls go in the same response message so the harness launches them concurrently. Each sub-agent returns a JSON payload (see the template files for the schema).

Step 4 — Wait for results and surface failures

When all sub-agent tool results return, parse each JSON payload.

For each sub-agent:

  • Show a one-line summary: component name + verdict (ok, partial, failed) + key URLs (workflow run, PR, release, Quay images).
  • If any per-component sub-agent reports validation.status=fail, show the problems array verbatim — the release manager will diagnose those manually.
  • If any quay_images[].status is missing, surface a clear warning block with each missing ref and browse_url. Say explicitly that the release was completed without that image landing in the Quay-poll window; the release manager needs to confirm whether the Konflux build is still in progress or actually failed.
  • If any sub-agent reports errors, surface them.

Step 5 — Compose the #Release# tracker comment

If TRACKER_ISSUE_NUMBER was set (step 2), build the comment body. Format per the doc:

text
#Release#
- <component_name>|<release-branch>/<release-tag>|<release-notes-url>
- <component_name>|<release-branch>/<release-tag>|<release-notes-url>  (image pending — verify)
- ...

component_name uses the registry's tracker_name (the short form used by humans in the tracker, e.g. llm-d-router, wva, batch-gateway) — not the full kserve_entry_name.

Image-pending marker. A component is still included in the tracker comment when any of its quay_images reports missing — the release branch was created, the onboarder PR was merged, and a draft GH release exists, so the line carries genuine value. Append the literal text (image pending — verify) (with a single space before the backtick) at the end of the line in that case, so the release manager (and the tracker readers) can tell at a glance which components need a manual Quay check.

Write the body to a temp file. Show it to the user via AskUserQuestion — options: "Post as-is", "Edit first", "Skip". On "Edit first", invite the user to edit the temp file and re-confirm.

If the user confirms posting:

bash
bash "${SKILL_DIR}/scripts/tracker-issue-comments.sh" \
    --issue-number "${TRACKER_ISSUE_NUMBER}" \
    --body-file "${BODY_FILE}"

Step 6 — Final summary

Print the consolidated state (one table or block) so the user knows what to follow up on manually:

text
ODH llm-d Release — v3.5-ea2

Component                    Branch                 Tag             Release         Quay
llm-d-router                 release-v3.5-ea2  ✓    odh-v3.5-ea2 ✓  draft URL       2/2 found
batch-gateway                release-v3.5-ea2  ✓    odh-v3.5-ea2 ✓  draft URL       3/3 found
workload-variant-autoscaler  release-v3.5-ea2  ✓    odh-v3.5-ea2 ✓  draft URL       0/1 found  ⚠ image pending

KServe metadata PR:  <pr-url>
Tracker comment:     <comment-url> (or "skipped")

Follow-ups for the release manager:
- Review and publish each draft GitHub release once notes look right.
- Review the KServe PR and request reviews from KServe maintainers.
- Confirm Konflux UI shows each pipeline run as Succeeded.
- ⚠ Pending Quay images (verify manually — Konflux may still be building, or it failed):
    quay.io/opendatahub/workload-variant-autoscaler:v3.5-ea2
    → https://quay.io/repository/opendatahub/workload-variant-autoscaler?tab=tags

Scripts (used by the orchestrator and by sub-agents)

The orchestrator calls these directly: scripts/tools-checker.sh, scripts/tracker-issue-finder.sh, scripts/tracker-issue-comments.sh.

The per-component sub-agent (per references/per-component-task.md) calls: scripts/create-release-branch.sh, scripts/onboarder-trigger-gha.sh, scripts/onboarder-pr-finder.sh, scripts/onboarder-pr-validator.sh, scripts/onboarder-pr-merge.sh, scripts/release-image-checker.sh, scripts/create-github-release.sh.

The KServe metadata sub-agent (per references/kserve-pr-task.md) calls: scripts/open-kserve-metadata-pr.sh.

All scripts support --help.

Gotchas

  • Sub-agent parallelism is at-most-N. The harness may serialize if it hits rate limits. Sub-agents are independent and idempotent (each resource creation script checks-then-creates), so a re-run picks up where it left off — never overwrites past work.
  • Konflux runs are asynchronous. Step 2 inside each per-component sub-agent only triggers the workflow; step 3 polls for the resulting PR (15 min budget, 1 min interval) and step 6 polls Quay for the image tag (15 min budget, 1 min interval). The Quay budget is tunable via the sub-agent's QUAY_TIMEOUT.
  • PR validation can fail safely. If the onboarder PR's tekton files don't match the expected output-image, path-context, or dockerfile for a component, the sub-agent reports the diff and refuses to merge. The release manager fixes the registry (or the onboarder), then re-runs.
  • KServe PR uses a fork. The release manager normally doesn't have write access to opendatahub-io/kserve; the KServe sub-agent forks under the release manager's gh user, pushes there, and opens a cross-fork PR against master.
  • The skill never publishes the GitHub release. Releases are created as drafts; the release manager publishes manually after reviewing the auto-generated notes.
  • The skill never auto-posts the tracker comment. It composes the comment, shows the body, and asks before posting.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Odh Llm D Release AI 技能有什么作用?

在一个周期内协调 opendatahub-io 所有 llm-d 组件的发布。收集上游(llm-d)版本,自动发现发布跟踪议题,然后并行启动多个子智能体——每个组件一个,分别负责发布分支、Konflux 入驻工作流、PR 验证、批准并合并、Quay 镜像验证和 GitHub 草稿发布;此外还会启动一个 KServe 元数据 PR 子智能体。最后发布 #Release# 跟踪评论。当发布经理在 llm-d 团队的代码冻结日期当天或之前运行时使用。

为什么在 TypingMind 中使用 Odh Llm D Release?

因为您只需安装一次,就能搭配任何模型使用。Odh Llm D Release 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Odh Llm D Release?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/opendatahub-io/ai-helpers/tree/main/plugins/odh-llm-d/skills/odh-llm-d-release。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Odh Llm D Release?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Odh Llm D Release 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Odh Llm D Release 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Odh Llm D Release AI 技能免费吗?

是的。opendatahub-io 已在 GitHub 上根据 Apache-2.0 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇