mcpbeat

Pytorch Loss Implementation

cxcscmu/skilllearnbench-pytorch-loss-implementation

How to implement custom loss functions in PyTorch. Use this skill whenever the user asks to implement a loss function, write a custom criterion, or mentions PyTorch tensor operations for backpropagation.

459 tokens
context cost
the whole folder, loaded on every use
1
files
instructions only
0
copies elsewhere
how many repositories repackaged it
77
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/cxcscmu/SkillLearnBench --skill pytorch-loss-implementation

How to use it

Copy the folder

Take cxcscmu/skilllearnbench-pytorch-loss-implementation from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.