flight-profiler-vmtool

Installation
SKILL.md

flight-profiler-vmtool

Inspect live Python class instances at runtime. The primary use case is state inspection — find all instances of a given class and examine their current attributes — and method invocation — call methods on found instances via -e expressions. Also supports forcing a garbage collection cycle.

Prerequisites: Read the flight-profiler-attach skill first for platform requirements, installation, permissions, and connection details.

When to Use

  • You want to find all live instances of a specific class and inspect their current attribute values (e.g., connection status, queue size, internal flags)
  • You need to invoke a method on a live instance to trigger a diagnostic action (e.g., instances[0].get_stats(), instances[0].dump_state())
  • You want to check how many instances of a class exist (potential memory leak investigation)
  • You need to filter instances by attribute to find the ones in a specific state (e.g., all connections with status == "error")
  • You suspect objects aren't being garbage collected and want to force GC

Usage

flight_profiler <pid> --cmd "vmtool -a <action> [options]" --no-color
Installs
1
GitHub Stars
43
First Seen
Jun 16, 2026
flight-profiler-vmtool — alibaba/pyflightprofiler