system-profile

Profile scripts, processes, GPU, memory, and interconnects for performance bottlenecks.

Updated Jun 7, 2026
One-click install
npx skills add https://github.com/czh-ee-2023/zotero-aris --skill system-profile-czh-ee-2023
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: system-profile
Source: https://github.com/czh-ee-2023/zotero-aris/tree/main/.claude/skills/system-profile
Command: npx skills add https://github.com/czh-ee-2023/zotero-aris --skill system-profile-czh-ee-2023

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires cProfile, py-spy, line_profiler, tracemalloc, memory_profiler, memray, nvidia-smi, nvitop, torch.profiler, nsys, strace, iostat, vmstat, and includes scripts (resource) components.

What problem does it solve?

This Skill provides performance analysis of scripts, processes, GPUs, memory, and interconnects, identifying bottlenecks and inefficiencies.

Core Features & Use Cases

  • Profiling Python scripts: Analyze the performance of Python code.
  • Process profiling: Benchmark running processes or services.
  • GPU/Memory/Interconnect analysis: Assess system components like GPU and memory.
  • Use Case: If a machine learning training job is running slower than expected, use this Skill to determine the source of the delay.

Quick Start

To profile the performance of the 'train.py' script, say "Profile train.py."

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 find performance bottlenecks?

To profile a Python script, this Skill utilizes tools like cProfile, py-spy, and line_profiler to analyze code execution and pinpoint exact performance bottlenecks. Simply specify the target script to begin the system profiling process.

What's the best way to analyze GPU utilization and memory overhead during machine learning training?

Analyzing GPU utilization and memory overhead is achieved using nvidia-smi, nvitop, and torch.profiler. This Skill assesses these system components to identify inefficiencies and bottlenecks in machine learning workloads during operation.

Can I use this to profile a running process or service instead of a script?

Yes, you can profile a running process or service. This Skill benchmarks active system processes using tools like strace, iostat, and vmstat to assess system performance and identify operational bottlenecks.

How does memory profiling work with tracemalloc and memray?

Memory profiling works by tracking memory allocation and overhead using tracemalloc, memory_profiler, and memray. This Skill evaluates memory usage patterns to identify leaks and inefficient resource consumption within the target system.

Do I need specific tools installed to measure interconnect bandwidth and CPU utilization?

Yes, measuring interconnect bandwidth and CPU utilization requires appropriate profiling tools. This Skill leverages specific system dependencies like nsys to assess these components and provide insights into system performance constraints.