关于
This skill helps developers write native Metal/MPS kernels for PyTorch operators on Apple Silicon, covering both adding new MPS support and migrating from MPSGraph. It guides through the complete workflow including native_functions.yaml dispatch, host-side operators, and Metal kernel implementation. Use it when porting CUDA kernels or implementing Metal shaders for better performance and maintainability.
快速安装
Claude Code
推荐npx skills add pytorch/pytorch -a claude-code/plugin add https://github.com/pytorch/pytorchgit clone https://github.com/pytorch/pytorch.git ~/.claude/skills/metal-kernel在 Claude Code 中复制并粘贴此命令以安装该技能
GitHub 仓库
Frequently asked questions
What is the metal-kernel skill?
metal-kernel is a Claude Skill by pytorch. Skills package instructions and resources that Claude loads on demand, so Claude can perform metal-kernel-related tasks without extra prompting.
How do I install metal-kernel?
Use the install commands on this page: add metal-kernel to Claude Code as a plugin, or clone its repository into your skills directory, then restart Claude so it picks up the skill.
What category does metal-kernel belong to?
metal-kernel is in the Documentation category, tagged general.
Is metal-kernel free to use?
Yes. metal-kernel is listed on AIMCP and free to install. It runs inside Claude, so no separate service account is required to use the skill itself.
相关推荐技能
Railway Docs Skill可实时获取最新的Railway官方文档,确保回答的准确性。当开发者询问Railway功能特性、工作原理或分享docs.railway.com链接时,应优先使用此技能。它通过专门的LLM优化文档源提供最新信息,避免依赖过时记忆来回答技术问题。
该Skill为在n8n平台的Python代码节点中编写代码提供专家指导,特别适用于需要使用_input/_json/_node语法、Python标准库或了解n8n中Python限制的场景。它强调JavaScript应作为首选方案,仅当需要特定Python功能或对Python语法更熟悉时才使用Python。Skill提供了快速入门模板和关键注意事项,帮助开发者在n8n中高效编写Python代码。
Archon Skill为开发者提供了基于RAG的语义搜索和项目任务管理功能,可通过REST API访问知识库。它支持文档搜索、网站爬取、文件上传和版本控制,适用于技术文档查询和项目管理场景。首次使用时需要配置Archon主机地址,建议在处理外部文档时优先使用该Skill。
这个Skill为n8n工作流中的JavaScript代码节点提供专业指导,涵盖数据处理、HTTP请求和日期操作等核心场景。它详细解释了如何正确使用n8n特有的`$input`/`$json`语法、`$helpers`工具以及DateTime对象,并包含关键的错误排查和模式选择建议。开发者通过该Skill能快速掌握Code节点的正确返回格式、数据访问方法和常见陷阱解决方案。
