Skip to main content
python-performance-optimizationby Seth HobsonDevelopmentGitHub stars: 40.5k

Python Performance Optimization skill: what it does and how to install it

Profiles and optimises Python code with CPU, memory and line profiling, then applies targeted performance improvements.

Summary generated from the skill's documentation.

Install

$ npx skills add wshobson/agents --skill python-performance-optimization

Run it in a terminal. If your agent is already running, start a new session so it picks the skill up.

About this skill

What it does. Guides Python performance work through timing, CPU and memory profiling, line-level analysis and call graphs. It uses measured bottlenecks to choose algorithm, data-structure, caching, I/O or parallelisation changes, and tracks execution time, memory use, CPU utilisation and I/O wait.

When to use it. Use it for slow code, latency, high memory use, leaks, database or I/O costs, data pipelines and production performance. It also covers generators, built-ins, lru_cache, NumPy and py-spy, while cautioning against optimising before profiling.

History

Repo stars

40.5k+245 since 5 Oct 2026

Stars are counted for the whole repository, which holds 26 skills.

Show as a table
Repo stars by day
DateRepo stars
12 Oct 202640,457
11 Oct 202640,368
10 Oct 202640,319
9 Oct 202640,307
8 Oct 202640,296
7 Oct 202640,267
6 Oct 202640,238
5 Oct 202640,212

Installs

34.6k

Tracking since . A chart appears once there are 7 days of data.

Installs via skills.sh

Similar skills