the-art-of-debugging
Debug crashes, hangs, and memory errors in Python and PyTorch fast
All Skills in This Repository (1)
Pure Emerald Level IndicatorsFrequently Asked Questions
FAQPage SchemaHow to install The Art of Debugging?โผ
Run `npx skills add stas00/the-art-of-debugging --all -g -y` in your terminal to install this debugging skill globally for your AI agent.
How to fix a CUDA out of memory error?โผ
This skill teaches your agent to distinguish forward vs backward OOM, tune memory fragmentation settings, and trace exactly which tensors consumed GPU memory.
How to find why my Python program hangs?โผ
It uses py-spy to dump live stack traces from a stuck process without changing any code, revealing the exact line where execution is blocked.
Can AI debug multi-GPU training deadlocks?โผ
Yes. The skill guides your agent to test node communication, dump every rank's stack at once, and spot mismatched collective operations causing the deadlock.
Does this work with Claude Code and Cursor?โผ
Yes. It follows the universal SKILL.md standard and runs in Claude Code, Cursor, Codex, and other compatible AI coding agents.
Related Repositories in Software Engineering
View All in Software Engineeringโopenclaw
Run a personal AI assistant across your devices and chat apps
superpowers
Gives coding agents a disciplined workflow from idea to merged code
react
AI agent skills for building, testing, and porting React core