
alibaba/pyflightprofiler
3 skills3 installs129 starsGitHub
Install
npx skills add https://github.com/alibaba/pyflightprofilerSkills in this repo
1Flight Profiler StackThis skill captures a snapshot of the stack frames of a running Python process, including thread stacks, native C-level frames on Linux, and async coroutine stacks. A developer uses it to see what each thread is doing and diagnose hangs, deadlocks, or stuck async tasks without stopping the process. It also reveals which thread holds the GIL and the file paths of executing business code.1installs2Flight Profiler VmtoolThis skill inspects live Python class instances in a running process to examine object-level runtime state. A developer uses it to find all instances of a class, read their attributes, invoke diagnostic methods, or filter instances by state such as connections with an error status. It can also force a garbage collection cycle to investigate suspected leaks.1installs3Flight Profiler WatchThis skill displays the input arguments, return value, and execution cost of a Python method invocation in a live process. A developer uses it to observe what a function receives, what it returns, how long it takes, and to catch only exception-throwing calls, all without changing the source. It is the most frequently used PyFlightProfiler diagnostic command.1installs