system-profile

Profile Python scripts, processes, or hardware across CPU, memory, GPU, and interconnect.

Updated Mar 1, 2026
One-click install
npx skills add https://github.com/hve4638/hve-cc-marketplace --skill system-profile-hve4638
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: system-profile
Source: https://github.com/hve4638/hve-cc-marketplace/tree/main/aris/skills/system-profile
Command: npx skills add https://github.com/hve4638/hve-cc-marketplace --skill system-profile-hve4638

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Profile a target and summarize the results. Target: $ARGUMENTS. Produces structured performance reports with actionable recommendations to help optimize software and hardware workloads.

Core Features & Use Cases

  • Instrument and profile targets across CPU, memory, GPU, and interconnect to identify bottlenecks.
  • Automatically generate instrumentation code when needed and run end-to-end profiling to collect actionable metrics.
  • Provide clear summaries and recommendations for optimizing Python scripts, services, and hardware utilization.

Quick Start

Provide a target (e.g., train.py, pid 1234, or a GPU service) and the system-profile will instrument and profile it to generate a performance report.

Frequently Asked Questions about system-profile

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I profile a Python script to identify performance bottlenecks?

Profiling a Python script requires identifying the target and selecting appropriate methods like cProfile or py-spy to measure CPU and memory performance. The process generates an instrumentation changelog and a summarized report with actionable optimization recommendations.

What is the best way to profile GPU and interconnect usage for a running process?

Profiling GPU and interconnect usage for a running process involves selecting appropriate profiling methods and utilizing tools like nvidia-smi to measure hardware performance. This generates a structured report detailing bottlenecks and actionable optimization recommendations.

Can I profile a running process by its PID without modifying the application source code?

Yes, you can profile a running process by targeting its PID using external tools like py-spy or nvidia-smi to measure CPU, memory, or GPU performance. This avoids code modification while still producing a summarized performance report with optimization recommendations.

Does CPU and memory profiling with tracemalloc require manual code instrumentation?

CPU and memory profiling with tracemalloc may require manual code instrumentation when needed to capture actionable metrics accurately. The system automatically generates the necessary instrumentation code and provides a changelog alongside the summarized performance report.

When do I need to profile hardware components like interconnects instead of just CPU?

You need to profile hardware components like interconnects instead of just CPU when diagnosing complex performance bottlenecks that involve data transfer limitations across GPUs. Selecting appropriate profiling methods ensures the final report accurately identifies these hardware-level bottlenecks.