# Py Spy

> Sampling profiler for Python programs. Generate flame graphs, speedscope, and raw JSON output. Non-interactive, scriptable.

- Skill: `javimosch/py-spy` (Agent Skill)
- Install (CLI): `npx skillmds@latest add javimosch/py-spy`
- Raw SKILL.md: https://api.skillmd.com/api/skills/javimosch/py-spy/raw
- Safety review: PASS (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: javimosch (https://skillmd.com/u/javimosch)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/javimosch/py-spy

---

# py-spy Plugin
Sampling profiler for Python programs. Generate flame graphs, speedscope, and raw JSON output. Non-interactive, scriptable.
## Commands
- `py self version` — Print version
- `py _ _` — Passthrough to py-spy
## Installation
```bash
brew install py-spy
```

