xpu-system-setup
First-time setup for Intel XPU/GPU hosts. Installs the Intel OMIX (Open Middleware Xe) stack — Level Zero, OpenCL, SYCL compiler, oneMKL/oneDNN — plus clinfo…
от intel★ 54 звезды на GitHub
Установить xpu-system-setup в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
xpu-system-setup
First-time system setup for Intel GPU/XPU workloads on a bare OS install. Detects what's already configured and only installs what's missing.
This is a standalone skill — it has no dependencies on other skills and can be run independently.
Source of Truth
Everything in this skill about supported operating systems, supported GPUs, and Intel OMIX installation, upgrade, verification, and uninstallation procedures is derived from one live page:
https://dgpu-docs.intel.com/installation-guides/installing-omix.html
Treat every such fact in this file (tables, package names, supported codenames, the layer-by-layer instructions below) as a cached summary, not the authority. Before advising a user on any of these topics — what's supported, how to install, how to upgrade, how to verify, or how to uninstall — fetch that page and answer from its current content. If it has drifted from what's written here, say so and follow the live page.
Install path: Intel OMIX
This skill installs Intel OMIX (Open Middleware Xe) — a single pinned bundle covering Level Zero, OpenCL, the SYCL/DPC++ compiler, and oneMKL/oneDNN — as its only install mechanism.
Do not also add the legacy per-package PPA
(ppa:kobuk-team/intel-graphics) on a host this skill has set up.
Intel's OMIX docs explicitly call for "a clean system without
preinstalled Intel GPU user-mode packages from the PPA" — mixing the
two causes apt dependency conflicts (an exact-pinned OMIX dependency
like libze1 fighting a newer PPA-provided version of the same
package). If a host already has PPA packages installed, remove them
and the PPA repo first (see the PPA doc's Uninstallation section:
https://dgpu-docs.intel.com/installation-guides/installing-packages-from-the-intel-ppa.html#uninstallation),
then run this skill.
The intel-omix runtime depends on intel-gpu-compute, which already
includes libze-dev, intel-ocloc, Level Zero, OpenCL, and xpu-smi.
Use --include-dev when full development headers and libraries are
needed; it installs intel-omix-dev and its intel-gpu-compute-dev
dependency. Media/VAAPI provisioning is outside this compute-focused
skill.
When To Use
Run this on a fresh machine to prepare it for Intel GPU/XPU workloads.
Typical scenarios:
- New bare-metal or VM with Intel GPUs that hasn't been configured for compute workloads yet — the standard customer-onboarding entry point.
- System is missing packages, user groups, or Docker needed for GPU work.
xpu-smi discoveryshows "No device discovered" orclinforeports 0 platforms after a fresh install — common on Arc Pro B60/B70 (Battlemage) with Ubuntu's stock kernel. Runcheck_battlemage_prerequisites.shto diagnose and fix the underlying kernel/runtime issues, then re-run this skill.
The script is idempotent: it detects what's already installed and only acts on what's missing, so re-running it on a configured host is safe and finishes quickly.
How to Invoke
Always invoke this skill by running the script. Do not run apt install,
add-apt-repository, or usermod directly — even if the dry-run reports
exactly which package is missing. Confirm with the user before running —
the script installs system packages and modifies group membership.
The script:
- Detects what's installed (idempotent — safe to re-run)
- Installs only what's missing (with prompts unless
--auto) - Runs post-setup configuration verification and captures sensor evidence
The raw commands shown in the table below are what the script runs internally — they are descriptive, not a manual checklist. Step 3 only runs when you go through the script. Manual installs leave the verification step skipped, which can hide problems (e.g., a package installed but the driver not loadable, or render group not effective).
If only one component is missing, use --only:
plugins/intel-gpu-ai-skills/skills/xpu-system-setup/scripts/setup_xpu_system.sh --only xpu-smi --auto
This still runs the full verification gate at the end.
What It Covers
Based on https://dgpu-docs.intel.com/installation-guides/installing-omix.html:
| Component | Installed by default? | Check | What the script does if missing |
|---|---|---|---|
| OMIX repo | Yes | intel-omix in apt sources |
Fetch GPG key, write /etc/apt/sources.list.d/intel-gpu-<codename>.list pointing at intel-omix (no version pin — always resolves the latest release for the codename) |
| OMIX runtime | Yes | dpkg -l intel-omix |
apt install intel-omix (Level Zero, OpenCL, SYCL compiler, oneMKL/oneDNN) |
| clinfo | Yes | command -v clinfo |
apt install clinfo (not bundled by OMIX) |
| xpu-smi | Yes | command -v xpu-smi |
Verify/install xpu-smi from the OMIX repo if the meta-package installation is incomplete |
| User groups | Yes | Current user in render |
gpasswd -a $TARGET_USER render |
| Docker | Yes | command -v docker + daem |
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- scripts/check_battlemage_prerequisites.sh
- scripts/setup_xpu_system.sh
FAQ
Что делает скилл xpu-system-setup?
First-time setup for Intel XPU/GPU hosts. Installs the Intel OMIX (Open Middleware Xe) stack — Level Zero, OpenCL, SYCL compiler, oneMKL/oneDNN — plus clinfo, xpu-smi, user groups (render), and Docker, then runs a post-setup verification gate (including sycl-ls). Prompts before each installation by default (use --auto for unattended). Also handles Battlemage (Arc Pro B60/B70) kernel/runtime prerequisites: nomodeset removal and kernel/runtime upgrade guidance — use check_battlemage_prerequisites.sh when xpu-smi shows No device discovered or clinfo shows 0 platforms. Use when a bare-metal or minimally-configured machine needs to be prepared for XPU model work.
Как установить скилл xpu-system-setup?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл xpu-system-setup запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
ci-review
AnthropicThe scan that the plugin's GitHub Action runs.
azure-static-web-apps
GitHubHelps create, configure, and deploy Azure Static Web Apps using the SWA CLI. Use when deploying static sites to Azure, setting up SWA local development…
ai-ready
GitHubMake any repo AI-ready — analyzes your codebase and generates AGENTS.md, copilot-instructions.md, CI workflows, issue templates, and more. Mines your PR…
aws-cdk-python-setup
GitHubSetup and initialization guide for developing AWS CDK (Cloud Development Kit) applications in Python. This skill enables users to configure environment…