Ako4all
TongmingLAIC/AKO4ALL
Drive an agentic loop that iteratively optimizes a GPU kernel for maximum speedup.
Build PyTorch from source with Intel XPU (GPU) support. An agent skill from intel/torch-xpu-ops.
$ npx skills add intel/torch-xpu-ops --skill xpu-build-pytorch -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install intel/torch-xpu-ops xpu-build-pytorch --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/xpu-build-pytorch .claude/skills/xpu-build-pytorch && 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 "xpu-build-pytorch" agent skill from https://github.com/intel/torch-xpu-ops/tree/main/.claude/skills/xpu-build-pytorch into .claude/skills/xpu-build-pytorch/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "xpu-build-pytorch", 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/xpu-build-pytorchType 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 xpu-build-pytorch -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install intel/torch-xpu-ops xpu-build-pytorch --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/xpu-build-pytorch .agents/skills/xpu-build-pytorch && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "xpu-build-pytorch" agent skill from https://github.com/intel/torch-xpu-ops/tree/main/.claude/skills/xpu-build-pytorch into .agents/skills/xpu-build-pytorch/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "xpu-build-pytorch", 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 xpu-build-pytorch -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install intel/torch-xpu-ops xpu-build-pytorch --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/xpu-build-pytorch .cursor/skills/xpu-build-pytorch && 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 "xpu-build-pytorch" agent skill from https://github.com/intel/torch-xpu-ops/tree/main/.claude/skills/xpu-build-pytorch into .cursor/skills/xpu-build-pytorch/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "xpu-build-pytorch", 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/xpu-build-pytorch--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 xpu-build-pytorch -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install intel/torch-xpu-ops xpu-build-pytorch --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/xpu-build-pytorch .gemini/skills/xpu-build-pytorch && 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 "xpu-build-pytorch" agent skill from https://github.com/intel/torch-xpu-ops/tree/main/.claude/skills/xpu-build-pytorch into .gemini/skills/xpu-build-pytorch/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "xpu-build-pytorch", 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 xpu-build-pytorchInstalls 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 xpu-build-pytorch -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/xpu-build-pytorch .github/skills/xpu-build-pytorch && 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 "xpu-build-pytorch" agent skill from https://github.com/intel/torch-xpu-ops/tree/main/.claude/skills/xpu-build-pytorch into .github/skills/xpu-build-pytorch/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "xpu-build-pytorch", 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 xpu-build-pytorch -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 xpu-build-pytorch --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/xpu-build-pytorch .opencode/skills/xpu-build-pytorch && 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 "xpu-build-pytorch" agent skill from https://github.com/intel/torch-xpu-ops/tree/main/.claude/skills/xpu-build-pytorch into .opencode/skills/xpu-build-pytorch/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "xpu-build-pytorch", 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.
xpu-build-pytorchBuild PyTorch from source with Intel XPU (GPU) support. An agent skill from intel/torch-xpu-ops.
Xpu Build Pytorch is an agent skill from intel/torch-xpu-ops, published by the product's own GitHub organization. Build PyTorch from source with Intel XPU (GPU) support. Use when the user asks to build PyTorch, set up the XPU build environment, rebuild after code changes, install PyTorch for XPU, or configure oneAPI. Handles prerequisites check, buildpytorch.env setup, build verification, and torch-xpu-ops development pin override.
Its SKILL.md is about 940 tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file (for example `reference.md`).
It sits in AI & LLM Engineering, covering Deep learning. It works with PyTorch and C++. The licence is Apache-2.0.
4 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit a033aa5. 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.
Shell commands in SKILL.md call:
pipgitpythonFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use pip and git, which can reach the network depending on how they are called.
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.
Xpu Build Pytorch loads about 939 tokens when it runs. Until then it costs about 85 tokens; SKILL.md has 270 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); files beside SKILL.md are not scanned.
The full file from intel/torch-xpu-ops at commit a033aa5, republished under its Apache-2.0 licence (© intel). 270 words, ~939 tokens.
.claude/skills/xpu-build-pytorch/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.The only build command is pip install -e . -v --no-build-isolation. Never use any other command.
The ## Build section of AGENTS.md covers the baseline: the build command, the
BUILD_SEPARATE_OPS flag, and the xpu.txt commit-pin override for local development.
This skill extends that with XPU-specific prerequisites (oneAPI) and a step-by-step
verification workflow.
Always check local memory for build configuration (env vars, paths, incremental-build shortcuts) before running the build. Apply what you find; if nothing applicable is in memory, ask the user.
# Confirm in PyTorch root (xpu.txt is unique to this repo)
test -f third_party/xpu.txt || echo "ERROR: Not in PyTorch root"
# Verify oneAPI installation (icpx not in PATH before sourcing vars — check directory instead)
test -d /opt/intel/oneapi/compiler || echo "WARNING: oneAPI not found at /opt/intel/oneapi/compiler"build_pytorch.envCreate in PyTorch root. Adjust paths for your system.
# Target hardware: pvc (Data Center GPU Max), dg2 (Arc GPU), etc.
# Omitting targets all supported architectures — safe default.
# export TORCH_XPU_ARCH_LIST=pvc
export USE_XPU=1
export USE_CUDA=0
# Adjust to your oneAPI installation path
source /opt/intel/oneapi/compiler/latest/env/vars.sh
# Alternative: source /opt/intel/oneapi/setvars.sh
# Optional PTI support: source /opt/intel/oneapi/pti/latest/env/vars.shAlways redirect build output to a log file so failures can be diagnosed:
source build_pytorch.env
pip install -e . -v --no-build-isolation 2>&1 | tee /tmp/pytorch_build_$(date +%Y%m%d_%H%M%S).log
echo "Build log saved to /tmp/pytorch_build_*.log"source build_pytorch.env
python -c "import torch; print('XPU available:', torch.xpu.is_available())"Expected: XPU available: True
build_pytorch.env before running tests — XPU ops are unavailable without the oneAPI runtime.git rebase or git checkout — stale C++ extensions produce unreliable or silently wrong test results.BUILD_SEPARATE_OPS=1 to shrink translation unit scope. Debug/RelWithDebInfo builds enable this automatically.BUILD_SEPARATE_OPS=1 pip install -e . -v --no-build-isolation 2>&1 | tee /tmp/pytorch_build_$(date +%Y%m%d_%H%M%S).logtorch/include/ — editable installs serve C++ headers from the installed path, not source.rm -rf /tmp/torchinductor_$USER/precompiled_headers/TORCH_XPU_ARCH_LIST commented out unless you know your target hardware — setting pvc on an Arc GPU produces a silently incorrect build.icpx, libsycl, DPC++ runtime)third_party/torch-xpu-ops populatedninja, cmake, pyyaml, typing_extensions)For developing torch-xpu-ops locally (commit pin override so CMake does not overwrite
your changes on every build), see reference.md.
© intel, Apache-2.0. 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 in .claude/skills/xpu-build-pytorch of intel/torch-xpu-ops.
Open the folder on GitHubat commit a033aa5
Xpu Build Pytorch 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 |
|---|---|---|---|---|---|---|
| Xpu Build Pytorch this skillintel/torch-xpu-ops | 115 | — | ~939 | Automated safety check: Pass | Apache-2.0 | |
| Ako4allTongmingLAIC/AKO4ALL | 369 | — | ~4k | Automated safety check: Pass | MIT | |
| Paddle Op DevPaddlePaddle/Paddle | 24k | — | ~1.3k | Automated safety check: Pass | Apache-2.0 | |
| Embedded AI Deploymentmatlab/agent-skills-playground | 181 | 1 repos | ~3.4k | Automated safety check: Pass | Custom licence | |
| Qualcomm QNN Backend Developmentpytorch/executorch | 5.1k | — | ~1.8k | Automated safety check: Pass | Custom licence | |
| Paddle Cross Ecosystem Custom OpPaddlePaddle/Paddle | 24k | — | ~883 | Automated safety check: Pass | Apache-2.0 |
TongmingLAIC/AKO4ALL
Drive an agentic loop that iteratively optimizes a GPU kernel for maximum speedup.
PaddlePaddle/Paddle
PaddlePaddle (飞桨) C++ 算子开发指南。提供从 YAML 配置、InferMeta 函数、Kernel 实现、Python API 封装、单元测试到编译验证的完整算子开发流程指导。在以下场景使用此 skill:(1) 为 Paddle 框架新增 C++ 算子 (2) 修改或调试已有 Paddle 算子 (3) 编写算子的 YAML…
matlab/agent-skills-playground
Deploy AI models to embedded hardware using MathWorks tools (MATLAB, Simulink, Embedded Coder).
pytorch/executorch
Helps build, test and extend the Qualcomm AI Engine Direct (QNN) backend in ExecuTorch, with routes for new ops, model export, Buck-vs-CMake parity fixes and per-layer accuracy debugging.
PaddlePaddle/Paddle
将原生 PyTorch 自定义算子库、Torch extension、生态库(TorchCodec/FlashInfer/DeepEP 等)以及 Kernel DSL 生态(Triton/TileLang/TVM FFI 等)以最小修改方式接入 PaddlePaddle。遇到以下场景务必使用:迁移外部算子库到 Paddle;分析 PFCCLab fork 与上游的兼容差异;处理…
amd/Quark
Install or verify the AMD Quark package and its dependencies.
intel/torch-xpu-ops
Select the Intel GPU device to use when a system has multiple Intel GPU devices.
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.
Categories
Build PyTorch from source with Intel XPU (GPU) support. An agent skill from intel/torch-xpu-ops. Xpu Build Pytorch is an agent skill from intel/torch-xpu-ops, published by the product's own GitHub organization. Build PyTorch from source with Intel XPU (GPU) support.
Xpu Build Pytorch fits situations like: the user asks to build PyTorch; set up the XPU build environment; rebuild after code changes; install PyTorch for XPU.
Run `npx skills add intel/torch-xpu-ops --skill xpu-build-pytorch -a claude-code`. Or copy the skill folder (.claude/skills/xpu-build-pytorch in intel/torch-xpu-ops) into .claude/skills/xpu-build-pytorch in your project. Claude Code loads it when a task matches its description.
Run `npx skills add intel/torch-xpu-ops --skill xpu-build-pytorch -a codex`. Or copy the skill folder (.claude/skills/xpu-build-pytorch in intel/torch-xpu-ops) into .agents/skills/xpu-build-pytorch 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 xpu-build-pytorch -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/xpu-build-pytorch, .gemini/skills/xpu-build-pytorch, .github/skills/xpu-build-pytorch and .opencode/skills/xpu-build-pytorch in your project.
Going by SKILL.md and its folder, Xpu Build Pytorch needs the command-line tools its instructions call (pip, git and python). Our summary lists: Python 3.
SKILL.md contains no URLs. Its commands use pip and git, which can reach the network depending on how they are called. 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. Review the folder before installing.
Xpu Build Pytorch is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 939 tokens (SKILL.md is roughly 3.8k 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 Xpu Build Pytorch: Ako4all (TongmingLAIC/AKO4ALL, 369 stars), Paddle Op Dev (PaddlePaddle/Paddle, 24k stars), Embedded AI Deployment (matlab/agent-skills-playground, 181 stars) and Qualcomm QNN Backend Development (pytorch/executorch, 5.1k 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 8, 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.