Official agent skill

Extract Asm Syclkernel Jit

by intel in intel/torch-xpu-ops

Extract GPU ISA from JIT-compiled SYCL kernels. An agent skill from intel/torch-xpu-ops.

OfficialApache-2.0Auto-check passed

Install Extract Asm Syclkernel Jit

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

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

GitHub CLI
$ gh skill install intel/torch-xpu-ops extract-asm-syclkernel-jit --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-jit .claude/skills/extract-asm-syclkernel-jit && 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-jit
GitHub stars
115
Token cost
~823 tokens
SKILL.md length
240 words
Files
1
Skills in repo
29
Repo updated
First seen
Licence
Apache-2.0

At a glance

Extract GPU ISA from JIT-compiled SYCL kernels. An agent skill from intel/torch-xpu-ops.

  • Works in 3 steps: Pin the actually-launched kernel. → Re-run with IGC dump (cold cache). → Match kernel name to .asm file.
  • Extracting ASM from SYCL JIT kernels
  • SKILL.md covers How this fits the compilation…, 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 Jit is an agent skill from intel/torch-xpu-ops, published by the product's own GitHub organization. Extract GPU ISA from JIT-compiled SYCL kernels. The binary only contains SPIR-V; IGC compiles it to native ISA at first launch. The zebin only exists in memory at runtime, so IGCShaderDumpEnable=1 is required to capture it. Use when extracting ASM from SYCL JIT kernels, torch-xpu-ops built with TORCHXPUARCHLIST=none, or standalone DPC++ without AOT flags.

Its SKILL.md is about 820 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

  • Extracting ASM from SYCL JIT kernels
  • Torch-xpu-ops built with TORCHXPUARCHLIST=none
  • Standalone DPC++ without AOT flags

Example prompts

  • “/extract-asm-syclkernel-jit”

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. Pin the actually-launched kernel.
  2. Re-run with IGC dump (cold cache).
  3. Match kernel name to .asm file.

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 Jit loads about 823 tokens when it runs. Until then it costs about 97 tokens; SKILL.md has 240 words of instructions outside code blocks.

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

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). 240 words, ~823 tokens.

Download SKILL.mdSave it as .claude/skills/extract-asm-syclkernel-jit/SKILL.md (or your agent's skills folder).
name
extract-asm-syclkernel-jit
description
Extract GPU ISA from JIT-compiled SYCL kernels. The binary only contains SPIR-V; IGC compiles it to native ISA at first launch. The zebin only exists in memory at runtime, so IGC_ShaderDumpEnable=1 is required to capture it. Use when extracting ASM from SYCL JIT kernels, torch-xpu-ops built with TORCH_XPU_ARCH_LIST=none, or standalone DPC++ without AOT flags.

Extract ASM from JIT-Compiled SYCL Kernels

Same compilation stack as AOT (SYCL → LLVM IR → SPIR-V → IGC → zebin), but execution happens at first kernel launch. The zebin only exists transiently in memory — you MUST re-run with IGC_ShaderDumpEnable=1 to capture it to disk.

How this fits the compilation stack

Build time:
  SYCL source → LLVM IR → SPIR-V
                              ↓
                    embedded in binary (no native code yet)

First launch (runtime):
  SPIR-V → IGC (JIT) → zebin (in memory only!)
                              ↓
            IGC_ShaderDumpEnable=1 → dumps to disk ← this is what we capture
                              ↓
                         .asm file (with // file:line comments from IGC)

Why IGC_ShaderDumpEnable=1 is required: Unlike AOT where the zebin is statically extractable from the binary, JIT zebin only exists in GPU driver memory. Without the dump flag, it's never written to disk.

Bonus: JIT dump produces .asm files with inline // file:line comments (IGC's EmitPass annotates them directly).

When to use

  • Kernel is _ZTS… AND one of:
    • Binary has NO __CLANG_OFFLOAD_BUNDLE (pure JIT build)
    • Binary has AOT bundle but target does not match current device (e.g. built for PVC, running on BMG — runtime falls back to JIT via SPIR-V)
  • Common cases:
    • torch-xpu-ops built with TORCH_XPU_ARCH_LIST=none
    • Standalone DPC++ without -fsycl-targets=spir64_gen
    • Device not in the AOT target list (e.g. TORCH_XPU_ARCH_LIST=pvc on BMG)

When NOT to use

  • Binary has AOT code matching current device → use extract-asm-syclkernel-aot
  • Kernel is oneDNN ngen → use extract-asm-onednn (different stack)
  • Kernel is Triton → use extract-asm-triton

Steps

Prerequisite: The router (extract-xpu-kernel-asm) has already confirmed that the JIT path is active for the current device. This skill assumes IGC will be invoked at runtime.

  1. Pin the actually-launched kernel.

    Use unitrace (preferred) or SYCL_UR_TRACE (fallback):

    bash
    unitrace -d <repro_cmd>
    # Or fallback:
    SYCL_UR_TRACE=-1 <repro_cmd> 2>&1 | grep -oP 'pKernelName = 0x[0-9a-f]+ \(\K[^)]+' | sort -u

    Pick the hot kernel name (<KERNEL>).

  2. Re-run with IGC dump (cold cache).

    bash
    OUT="<workdir>/$(basename "$BIN")_$(date +%Y%m%d_%H%M%S)"
    mkdir -p "$OUT/igc"
    
    NEO_CACHE_PERSISTENT=0 \
    IGC_ShaderDumpEnable=1 \
    IGC_DumpToCustomDir="$OUT/igc" \
    ONEAPI_DEVICE_SELECTOR=level_zero:0 \
      <repro_cmd> 2>&1 | tee "$OUT/run.log"
    
    ls "$OUT/igc"/*.asm | wc -l
  3. Match kernel name to .asm file.

    bash
    MATCH=$(grep -l "$KERNEL" "$OUT/igc"/OCL_asm*_simd*_entry_*.asm | head -1)
    test -n "$MATCH" || { echo "no asm matches $KERNEL"; exit 1; }
    echo "asm-file: $MATCH"

© 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-jit of intel/torch-xpu-ops.

Open the folder on GitHubat commit a033aa5

Compare with similar skills

Extract Asm Syclkernel Jit 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 Jit compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Extract Asm Syclkernel Jit this skillintel/torch-xpu-ops115—~823Automated 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 7 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 Jit

What does Extract Asm Syclkernel Jit do?

Extract GPU ISA from JIT-compiled SYCL kernels. An agent skill from intel/torch-xpu-ops. Extract Asm Syclkernel Jit is an agent skill from intel/torch-xpu-ops, published by the product's own GitHub organization. Extract GPU ISA from JIT-compiled SYCL kernels.

When should I use Extract Asm Syclkernel Jit?

Extract Asm Syclkernel Jit fits situations like: extracting ASM from SYCL JIT kernels; torch-xpu-ops built with TORCHXPUARCHLIST=none; standalone DPC++ without AOT flags.

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

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

How do I install Extract Asm Syclkernel Jit in Codex?

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

Can I use Extract Asm Syclkernel Jit 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-jit -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-jit, .gemini/skills/extract-asm-syclkernel-jit, .github/skills/extract-asm-syclkernel-jit and .opencode/skills/extract-asm-syclkernel-jit in your project.

What does Extract Asm Syclkernel Jit need to run?

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

Does Extract Asm Syclkernel Jit 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 Jit 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 Jit use?

Extract Asm Syclkernel Jit 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 Jit use?

About 823 tokens (SKILL.md is roughly 3.3k 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 Jit?

Skills that share tags, products or a category with Extract Asm Syclkernel Jit: 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 Jit?

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.