// fetch failed
Couldn't render the SKILL.md content here right now. You can view the raw markdown or open the source folder on GitHub.
Write Metal/MPS kernels for PyTorch operators. Use when adding MPS device support to operators, implementing Metal shaders, or porting CUDA kernels to Apple Silicon. Covers native_functions.yaml dispatch, host-side operators, and Metal kernel implementation.
// install — copy + paste into any project
mkdir -p .claude/skills && curl -fsSL https://raw.githubusercontent.com/pytorch/pytorch/HEAD/.claude/skills/metal-kernel/SKILL.md -o .claude/skills/metal-kernel.mdDrops the SKILL.md into .claude/skills/metal-kernel.md. Works with Claude Code, Cursor, and any agent that loads SKILL.md files from .claude/skills/.
// fetch failed
Couldn't render the SKILL.md content here right now. You can view the raw markdown or open the source folder on GitHub.