Optimize For GPU
K-Dense-AI/scientific-agent-skills
GPU-accelerates scientific Python on NVIDIA hardware and verifies that the result is correct and faster.
Select the Intel GPU device to use when a system has multiple Intel GPU devices.
$ npx skills add intel/torch-xpu-ops --skill intel-gpu-device-selection -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install intel/torch-xpu-ops intel-gpu-device-selection --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/intel/torch-xpu-ops.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/action/intel-gpu-device-selection .claude/skills/intel-gpu-device-selection && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "intel-gpu-device-selection" agent skill from https://github.com/intel/torch-xpu-ops/tree/main/.claude/skills/action/intel-gpu-device-selection into .claude/skills/intel-gpu-device-selection/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "intel-gpu-device-selection", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/intel/torch-xpu-ops/tree/main/.claude/skills/action/intel-gpu-device-selectionType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add intel/torch-xpu-ops --skill intel-gpu-device-selection -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install intel/torch-xpu-ops intel-gpu-device-selection --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/intel/torch-xpu-ops.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.claude/skills/action/intel-gpu-device-selection .agents/skills/intel-gpu-device-selection && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "intel-gpu-device-selection" agent skill from https://github.com/intel/torch-xpu-ops/tree/main/.claude/skills/action/intel-gpu-device-selection into .agents/skills/intel-gpu-device-selection/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "intel-gpu-device-selection", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add intel/torch-xpu-ops --skill intel-gpu-device-selection -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install intel/torch-xpu-ops intel-gpu-device-selection --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/intel/torch-xpu-ops.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.claude/skills/action/intel-gpu-device-selection .cursor/skills/intel-gpu-device-selection && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "intel-gpu-device-selection" agent skill from https://github.com/intel/torch-xpu-ops/tree/main/.claude/skills/action/intel-gpu-device-selection into .cursor/skills/intel-gpu-device-selection/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "intel-gpu-device-selection", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/intel/torch-xpu-ops.git --path .claude/skills/action/intel-gpu-device-selection--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add intel/torch-xpu-ops --skill intel-gpu-device-selection -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install intel/torch-xpu-ops intel-gpu-device-selection --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/intel/torch-xpu-ops.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.claude/skills/action/intel-gpu-device-selection .gemini/skills/intel-gpu-device-selection && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "intel-gpu-device-selection" agent skill from https://github.com/intel/torch-xpu-ops/tree/main/.claude/skills/action/intel-gpu-device-selection into .gemini/skills/intel-gpu-device-selection/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "intel-gpu-device-selection", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install intel/torch-xpu-ops intel-gpu-device-selectionInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add intel/torch-xpu-ops --skill intel-gpu-device-selection -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/intel/torch-xpu-ops.git skills-src && mkdir -p .github/skills && cp -r skills-src/.claude/skills/action/intel-gpu-device-selection .github/skills/intel-gpu-device-selection && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "intel-gpu-device-selection" agent skill from https://github.com/intel/torch-xpu-ops/tree/main/.claude/skills/action/intel-gpu-device-selection into .github/skills/intel-gpu-device-selection/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "intel-gpu-device-selection", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add intel/torch-xpu-ops --skill intel-gpu-device-selection -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install intel/torch-xpu-ops intel-gpu-device-selection --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/intel/torch-xpu-ops.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.claude/skills/action/intel-gpu-device-selection .opencode/skills/intel-gpu-device-selection && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "intel-gpu-device-selection" agent skill from https://github.com/intel/torch-xpu-ops/tree/main/.claude/skills/action/intel-gpu-device-selection into .opencode/skills/intel-gpu-device-selection/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "intel-gpu-device-selection", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
intel-gpu-device-selectionSelect the Intel GPU device to use when a system has multiple Intel GPU devices.
Intel GPU Device Selection is an agent skill from intel/torch-xpu-ops, published by the product's own GitHub organization. Select the Intel GPU device to use when a system has multiple Intel GPU devices. Use this skill when the user wants to run a workload on Intel GPU, mentions device selection, ZEAFFINITYMASK, or when multiple Level Zero GPU devices are detected and one must be chosen.
Its SKILL.md is about 510 tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including scripts (for example `scripts/l0_igpu_check.py`).
The licence is MIT.
3 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 0187b3b. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Ships 1 file in scripts/ (Python), which the agent can run.
Shell commands in SKILL.md call:
python3From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Intel GPU Device Selection loads about 508 tokens when it runs. Until then it costs about 74 tokens; SKILL.md has 199 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.
The full file from intel/torch-xpu-ops at commit 0187b3b, republished under its MIT licence (© intel). 199 words, ~508 tokens.
.claude/skills/intel-gpu-device-selection/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.Select a single Intel GPU device via ZE_AFFINITY_MASK when multiple Level Zero GPU devices are present.
This skill does NOT set ZE_FLAT_DEVICE_HIERARCHY. On PVC, the default is FLAT (each tile is a separate device). On other platforms, the default is COMPOSITE (tiles merged into one device). If the user needs to override this, they must set it explicitly before running this skill.
sycl-ls | grep -i level_zeroIf sycl-ls is not available, use the "source-oneapi" skill first.
Only consider lines matching [level_zero:gpu][level_zero:<index>].
To distinguish dGPU from iGPU, run the bundled script:
python3 .claude/skills/action/intel-gpu-device-selection/scripts/l0_igpu_check.pyOutput labels each GPU as iGPU or dGPU based on the Level Zero ZE_DEVICE_PROPERTY_FLAG_INTEGRATED flag.
Prompt format when user selection is needed:
Multiple Level Zero GPU devices found:
<device list from sycl-ls>
Which device should be used? Enter the device index (e.g., 0):export ZE_AFFINITY_MASK=<selected index>© intel, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 1 other file (scripts) in .claude/skills/action/intel-gpu-device-selection of intel/torch-xpu-ops.
Open the folder on GitHubat commit 0187b3b
Intel GPU Device Selection next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Intel GPU Device Selection this skillintel/torch-xpu-ops | 115 | — | ~508 | Automated safety check: Pass | MIT | |
| Optimize For GPUK-Dense-AI/scientific-agent-skills | 48k | 1 repos | ~3.4k | Automated safety check: Pass | MIT | |
| GPU Kubernetes Operationssickn33/agentic-awesome-skills | 47k | 2 repos | ~3.2k | Automated safety check: Pass | MIT | |
| Select Namethedaviddias/Front-End-Checklist | 74k | — | ~451 | Automated safety check: Pass | MIT | |
| Engine Selectionsickn33/agentic-awesome-skills | 47k | 1 repos | ~1.2k | Automated safety check: Pass | MIT | |
| Modal Serverless GPUOrchestra-Research/AI-Research-SKILLs | 13k | 5 repos | ~2.1k | Automated safety check: Pass | MIT |
K-Dense-AI/scientific-agent-skills
GPU-accelerates scientific Python on NVIDIA hardware and verifies that the result is correct and faster.
sickn33/agentic-awesome-skills
Operate GPU-backed Kubernetes clusters for AI inference and training with scheduling, autoscaling, node health, MIG partitioning, and cost controls.
thedaviddias/Front-End-Checklist
A skill your agent uses when reviewing rendered HTML, interactive components, or design-system patterns related to Provide accessible names for select elements.
sickn33/agentic-awesome-skills
Selects game engines and frameworks by platform, genre, and architecture (full canvas shell vs hybrid DOM shell + guest viewport).
Orchestra-Research/AI-Research-SKILLs
Serverless GPU cloud platform for running ML workloads. An agent skill from Orchestra-Research/AI-Research-SKILLs.
microsoft/onnxruntime
Runs the ONNX Runtime transformers Python tests against a GPU wheel and proves the cuDNN flash attention path was used rather than a silent fallback.
intel/torch-xpu-ops
Check PyTorch ciflow/xpu (xpu.yml) on the main branch, collect the failing XPU test cases from the most recent completed run(s), analyze the ROOT CAUSE of each failure with AI, and produce a list…
intel/torch-xpu-ops
Convert PyTorch ATDISPATCH macros to ATDISPATCHV2 format in ATen C++ code.
intel/torch-xpu-ops
Review pull requests for XPU operator or backend code. An agent skill from intel/torch-xpu-ops.
intel/torch-xpu-ops
Guide users through creating Agent Skills for Claude Code. An agent skill from intel/torch-xpu-ops.
intel/torch-xpu-ops
Read the evidence a nightly UT run produced, decide which failures share a root cause and which are machine breakage rather than product bugs, and write one issue draft per root cause to drafts.json.
intel/torch-xpu-ops
Review PyTorch upstream unit-test (UT) PRs that enable Intel GPU (XPU) on existing tests.
Select the Intel GPU device to use when a system has multiple Intel GPU devices. Intel GPU Device Selection is an agent skill from intel/torch-xpu-ops, published by the product's own GitHub organization. Select the Intel GPU device to use when a system has multiple Intel GPU devices.
Intel GPU Device Selection fits situations like: A system has multiple Intel GPU devices; the user wants to run a workload on Intel GPU; mentions device selection; multiple Level Zero GPU devices are detected and one must be chosen.
Run `npx skills add intel/torch-xpu-ops --skill intel-gpu-device-selection -a claude-code`. Or copy the skill folder (.claude/skills/action/intel-gpu-device-selection in intel/torch-xpu-ops) into .claude/skills/intel-gpu-device-selection in your project. Claude Code loads it when a task matches its description.
Run `npx skills add intel/torch-xpu-ops --skill intel-gpu-device-selection -a codex`. Or copy the skill folder (.claude/skills/action/intel-gpu-device-selection in intel/torch-xpu-ops) into .agents/skills/intel-gpu-device-selection in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add intel/torch-xpu-ops --skill intel-gpu-device-selection -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/intel-gpu-device-selection, .gemini/skills/intel-gpu-device-selection, .github/skills/intel-gpu-device-selection and .opencode/skills/intel-gpu-device-selection in your project.
Going by SKILL.md and its folder, Intel GPU Device Selection needs Python for the scripts in its folder and the command-line tools its instructions call (python3). Our summary lists: Python 3.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
Intel GPU Device Selection is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.
About 508 tokens (SKILL.md is roughly 2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Intel GPU Device Selection: Optimize For GPU (K-Dense-AI/scientific-agent-skills, 48k stars), GPU Kubernetes Operations (sickn33/agentic-awesome-skills, 47k stars), Select Name (thedaviddias/Front-End-Checklist, 74k stars) and Engine Selection (sickn33/agentic-awesome-skills, 47k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
intel (a GitHub organization, an official publisher) maintains it in intel/torch-xpu-ops, which has 115 GitHub stars. The repository holds 29 skills in this directory. The repository was last updated on October 6, 2026.
Source: intel/torch-xpu-ops on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.