Official agent skill

Extract Asm Syclkernel Aot

by intel in intel/torch-xpu-ops

Extract GPU ISA from AOT-compiled SYCL binaries using NEO driver runtime dump.

OfficialApache-2.0Auto-check passed

Install Extract Asm Syclkernel Aot

skills CLI
$ npx skills add intel/torch-xpu-ops --skill extract-asm-syclkernel-aot -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install intel/torch-xpu-ops extract-asm-syclkernel-aot --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/intel/torch-xpu-ops.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/extract-asm-syclkernel-aot .claude/skills/extract-asm-syclkernel-aot && rm -rf skills-src

Use ~/.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/

Facts

Skill name
extract-asm-syclkernel-aot
GitHub stars
115
Token cost
~623 tokens
SKILL.md length
202 words
Files
1
Skills in repo
29
Repo updated
First seen
Licence
Apache-2.0

At a glance

Extract GPU ISA from AOT-compiled SYCL binaries using NEO driver runtime dump.

  • Works in 4 steps: Verify tools → Dump zebin ELFs via NEO driver → Disassemble → …
  • The kernel is a SYCL symbol (ZTS...) from an AOT binary such as libtorchxpu.so
  • SKILL.md covers Key facts, When to use, When NOT to use and Steps
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Extract Asm Syclkernel Aot is an agent skill from intel/torch-xpu-ops, published by the product's own GitHub organization. Extract GPU ISA from AOT-compiled SYCL binaries using NEO driver runtime dump. Use when the kernel is a SYCL symbol (ZTS...) from an AOT binary such as libtorchxpu.so, SYCL-TLA FMHA, or any DPC++ binary compiled with -fsycl-targets=spir64gen -Xs "-device <gpu".

Its SKILL.md is about 620 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It works with C++. The licence is Apache-2.0.

When your agent uses it

  • The kernel is a SYCL symbol (ZTS...) from an AOT binary such as libtorchxpu.so
  • Any DPC++ binary compiled with -fsycl-targets=spir64gen -Xs -device <gpu

Example prompts

  • “-device <gpu”
  • “/extract-asm-syclkernel-aot”

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. Verify tools
  2. Dump zebin ELFs via NEO driver
  3. Disassemble
  4. Identify the target kernel

What it can do on your machine

Read from SKILL.md and the folder at commit a033aa5. It shows what the files ask for, not the result of running them.

  • Tool permissions

    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.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are bash).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Extract Asm Syclkernel Aot loads about 623 tokens when it runs. Until then it costs about 73 tokens; SKILL.md has 202 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~73
When it runs · the whole SKILL.md, loaded when a task matches
~623

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.

Safety

Auto-check passed

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.

SKILL.md

The full file from intel/torch-xpu-ops at commit a033aa5, republished under its Apache-2.0 licence (© intel). 202 words, ~623 tokens.

Download SKILL.mdSave it as .claude/skills/extract-asm-syclkernel-aot/SKILL.md (or your agent's skills folder).
name
extract-asm-syclkernel-aot
description
Extract GPU ISA from AOT-compiled SYCL binaries using NEO driver runtime dump. Use when the kernel is a SYCL symbol (_ZTS...) from an AOT binary such as libtorch_xpu.so, SYCL-TLA FMHA, or any DPC++ binary compiled with -fsycl-targets=spir64_gen -Xs "-device <gpu>".

Extract ASM from AOT-Compiled SYCL Binaries

Key facts

  • GPU ISA (zebin) was already compiled at build time by IGC and embedded in the host binary.
  • IGC_ShaderDumpEnable does NOT work — IGC is never invoked at runtime.
  • Extraction uses NEO driver debug keys to dump the zebin ELF at runtime, then ocloc disasm to produce readable ASM.

When to use

  • Kernel is a mangled SYCL symbol (_ZTS…) from an AOT-compiled binary whose AOT target matches the current device:
    • libtorch_xpu.so / libtorch_xpu_ops.so (default PyTorch XPU build)
    • SYCL-TLA FMHA .so
    • Standalone DPC++ executable built with -fsycl-targets=spir64_gen

When NOT to use

  • AOT target does not match current device (e.g. binary built for PVC, running on BMG) → runtime falls back to JIT → use extract-asm-syclkernel-jit
  • Binary has no AOT code at all → use extract-asm-syclkernel-jit
  • Kernel is oneDNN ngen (gemm_kernel, gen_conv_kernel) → use extract-asm-onednn
  • Kernel is Triton (triton_*) → use extract-asm-triton

Steps

Step 1: Verify tools
bash
command -v ocloc >/dev/null || { echo "ocloc not found; source oneapi-vars.sh"; exit 1; }
Step 2: Dump zebin ELFs via NEO driver

Run the workload with NEO debug keys. Only kernels actually dispatched to the GPU will be dumped — no unused kernels appear.

bash
OUT="<workdir>/aot_$(date +%Y%m%d_%H%M%S)"
mkdir -p "$OUT" && cd "$OUT"

DumpZEBin=1 NEOReadDebugKeys=1 <repro_cmd>
ls *.elf
Step 3: Disassemble
bash
# Detect device name (bmg, dg2, pvc, etc.)
DEVICE=$(sycl-ls 2>/dev/null | grep -oP '(?<=\[)[^]]+' | head -1 | awk '{print tolower($NF)}')
DEVICE=${DEVICE:-bmg}  # fallback

for elf in *.elf; do
  name=$(basename "$elf" .elf)
  ocloc disasm -file "$elf" -dump "${name}_dump" -device "$DEVICE"
done
Step 4: Identify the target kernel

ASM files are at <name>_dump/.text._ZTSxxxx.asm. Demangle to find yours:

bash
for f in *_dump/.text._ZTS*.asm; do
  mangled=$(basename "$f" .asm | sed 's/^\.text\.//')
  echo "$f  →  $(c++filt "$mangled")"
done

Match the demangled name to the kernel you are analyzing.

© 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

Files

Just SKILL.md in .claude/skills/extract-asm-syclkernel-aot of intel/torch-xpu-ops.

Open the folder on GitHubat commit a033aa5

Compare with similar skills

Extract Asm Syclkernel Aot 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.

Extract Asm Syclkernel Aot compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Extract Asm Syclkernel Aot this skillintel/torch-xpu-ops115—~623Automated safety check: PassApache-2.0
Paddle BuildPaddlePaddle/Paddle24k—~1kAutomated safety check: PassApache-2.0
Fory Releaseapache/fory4.6k—~2.9kAutomated safety check: PassApache-2.0
ONNX Runtime Shape Inference Safety Auditmicrosoft/onnxruntime22k—~3.3kAutomated safety check: PassMIT
Code Audit3stoneBrother/code-audit8931 repos~2.7kAutomated safety check: PassNone
Qt C++ Code Reviewx-tools-author/x-tools1.1k2 repos~4.3kAutomated safety check: PassBSD-3-Clause

Similar skills

  • Paddle Build

    PaddlePaddle/Paddle

    A skill your agent uses when needing to compile, rebuild, or install Paddle from source after code changes.

    24k GitHub stars~1k tokensUpdated 8 days ago
    AI & LLM EngineeringAuto-check passed
  • Fory Release

    apache/fory

    Prepare an Apache Fory release candidate from a clean release branch, including the version bump, RC tag, JVM staging, ASF source artifacts, SVN upload, and vote email.

    4.6k GitHub stars~2.9k tokensUpdated yesterday
    Auto-check passed
  • Official

    Finds and fixes out-of-range output writes in ONNX Runtime operator shape-inference functions where a getNumOutputs guard admits too few outputs.

    22k GitHub stars~3.3k tokensUpdated today
    SecurityAuto-check passed
  • Code Audit

    3stoneBrother/code-audit

    Professional code security audit skill covering 55+ vulnerability types.

    893 GitHub starsUsed in 1 repo~2.7k tokens
    SecurityAuto-check passed
  • Qt C++ Code Review

    x-tools-author/x-tools

    Read-only review of Qt6 C++ code that combines a deterministic lint script with six parallel analysis agents and reports only high-confidence issues.

    1.1k GitHub starsUsed in 2 repos~4.3k tokens
    DevelopmentAuto-check passed
  • Translation

    doxygen/doxygen

    Keeps all Doxygen and Doxywizard translations up to date across three mechanisms: translator C++ classes (src/translatorxx.h), Qt .ts locale files for the Doxywizard GUI (addon/doxywizard/i18n/)…

    6.6k GitHub stars~5.2k tokensUpdated 8 days ago
    Writing & ContentAuto-check passed

More from intel/torch-xpu-ops

All 29 skills in this repo
  • Intel GPU Device Selection

    intel/torch-xpu-ops

    Official

    Select the Intel GPU device to use when a system has multiple Intel GPU devices.

    115 GitHub stars~508 tokensUpdated today
    Auto-check passed
  • Xpu CI Health Check

    intel/torch-xpu-ops

    Official

    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…

    115 GitHub stars~1.5k tokensUpdated today
    Auto-check passed
  • At Dispatch V2

    intel/torch-xpu-ops

    Official

    Convert PyTorch ATDISPATCH macros to ATDISPATCHV2 format in ATen C++ code.

    115 GitHub starsUsed in 3 repos~2.2k tokens
    Auto-check passed
  • PR Review

    intel/torch-xpu-ops

    Official

    Review pull requests for XPU operator or backend code. An agent skill from intel/torch-xpu-ops.

    115 GitHub stars~4.2k tokensUpdated today
    Auto-check passed
  • Skill Writer

    intel/torch-xpu-ops

    Official

    Guide users through creating Agent Skills for Claude Code. An agent skill from intel/torch-xpu-ops.

    115 GitHub starsUsed in 3 repos~2.4k tokens
    Auto-check passed
  • Ut Issue Authoring

    intel/torch-xpu-ops

    Official

    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.

    115 GitHub stars~2k tokensUpdated today
    Auto-check passed

Works with

Questions about Extract Asm Syclkernel Aot

What does Extract Asm Syclkernel Aot do?

Extract GPU ISA from AOT-compiled SYCL binaries using NEO driver runtime dump. Extract Asm Syclkernel Aot is an agent skill from intel/torch-xpu-ops, published by the product's own GitHub organization. Extract GPU ISA from AOT-compiled SYCL binaries using NEO driver runtime dump.

When should I use Extract Asm Syclkernel Aot?

Extract Asm Syclkernel Aot fits situations like: the kernel is a SYCL symbol (ZTS...) from an AOT binary such as libtorchxpu.so; any DPC++ binary compiled with -fsycl-targets=spir64gen -Xs -device <gpu.

How do I install Extract Asm Syclkernel Aot in Claude Code?

Run `npx skills add intel/torch-xpu-ops --skill extract-asm-syclkernel-aot -a claude-code`. Or copy the skill folder (.claude/skills/extract-asm-syclkernel-aot in intel/torch-xpu-ops) into .claude/skills/extract-asm-syclkernel-aot in your project. Claude Code loads it when a task matches its description.

How do I install Extract Asm Syclkernel Aot in Codex?

Run `npx skills add intel/torch-xpu-ops --skill extract-asm-syclkernel-aot -a codex`. Or copy the skill folder (.claude/skills/extract-asm-syclkernel-aot in intel/torch-xpu-ops) into .agents/skills/extract-asm-syclkernel-aot in your project. Codex loads it when a task matches its description.

Can I use Extract Asm Syclkernel Aot in Cursor, Gemini CLI or GitHub Copilot?

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 extract-asm-syclkernel-aot -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/extract-asm-syclkernel-aot, .gemini/skills/extract-asm-syclkernel-aot, .github/skills/extract-asm-syclkernel-aot and .opencode/skills/extract-asm-syclkernel-aot in your project.

What does Extract Asm Syclkernel Aot need to run?

SKILL.md names no scripts, command-line tools or credentials: Extract Asm Syclkernel Aot is instructions for the agent only.

Does Extract Asm Syclkernel Aot access the network?

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.

Is Extract Asm Syclkernel Aot safe to install?

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.

What licence does Extract Asm Syclkernel Aot use?

Extract Asm Syclkernel Aot 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.

How many tokens does Extract Asm Syclkernel Aot use?

About 623 tokens (SKILL.md is roughly 2.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Extract Asm Syclkernel Aot?

Skills that share tags, products or a category with Extract Asm Syclkernel Aot: Paddle Build (PaddlePaddle/Paddle, 24k stars), Fory Release (apache/fory, 4.6k stars), ONNX Runtime Shape Inference Safety Audit (microsoft/onnxruntime, 22k stars) and Code Audit (3stoneBrother/code-audit, 893 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Extract Asm Syclkernel Aot?

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.