Use this skill when the user wants to profile Python memory usage, find memory leaks, generate flame graphs, or analyze Python application memory behavior.
58 stars
0 votes
0 copies
1 view
Added September 6, 2026
toolspythonbash
Security analysis
A96/100
mediumInstalls packages at runtime which could introduce malicious dependencies
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Quickstart?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/javimosch-quickstart-fa23df39)
---
name: memray
description: Use this skill when the user wants to profile Python memory usage, find memory leaks, generate flame graphs, or analyze Python application memory behavior.
---
# memray Plugin
Memory profiler for Python applications with live flame graphs and reports.
## Commands
### Run
- `memray run profile` — Profile a Python script
### Flamegraph
- `memray flamegraph generate` — Generate a flame graph from a snapshot
### Table
- `memray table generate` — Generate a table report from a snapshot
## Usage Examples
- "Profile this Python script for memory usage"
- "Generate a flame graph from the memory snapshot"
- "Show memory allocations in a table"
## Installation
```bash
pip install memray
```
## Examples
```bash
# Profile a script
memray run my_script.py
# Profile and generate live flamegraph
memray run --live my_script.py
# Generate flame graph from snapshot
memray flamegraph output.bin
# Generate table report
memray table output.bin
# Show statistics
memray stats output.bin
# Track specific function
memray run -f my_function my_script.py
```