system-profile

Profiles specified execution targets to diagnose bottlenecks across CPU, memory, GPU, and interconnect communication.

Updated May 29, 2026
One-click install
npx skills add https://github.com/Mang30/myskills --skill system-profile-mang30
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: system-profile
Source: https://github.com/Mang30/myskills/tree/main/skills/system-profile
Command: npx skills add https://github.com/Mang30/myskills --skill system-profile-mang30

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It helps you identify performance bottlenecks and inefficiencies across CPU, memory, GPU compute, and interconnect by profiling a specific target and producing a structured, actionable report.

Core Features & Use Cases

  • Targeted profiling for diverse workloads: Profile scripts, running processes, GPU usage, memory behavior, and interconnect performance by choosing appropriate external tools and, when needed, code instrumentation.
  • Bottleneck-aware instrumentation: Insert minimal-overhead instrumentation to measure wall time, CPU time, transfers, bandwidth, and collective communication characteristics when external tooling is insufficient.
  • Structured performance reporting: Summarize CPU overhead, memory redundancy, interconnect transfer/latency/bandwidth, hotspots, and recommendations, saving artifacts to profile_output/.

Quick Start

Ask the skill to profile your workload by providing a clear target such as a training script name, a PID, or a service descriptor like "vllm serving".

Frequently Asked Questions about system-profile

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

FAQPage Schema
How do I find GPU bottlenecks and memory redundancy in my training script?

System profiling diagnoses GPU bottlenecks and memory redundancy by dynamically selecting external profiling tools and inserting code instrumentation to measure compute behavior, memory usage, and wall time. It generates a structured report with actionable recommendations saved to the profile_output directory.

What is the best way to profile a running process for CPU overhead and interconnect communication?

Profiling a running process for CPU overhead and interconnect communication requires targeting the specific PID and applying minimal-overhead instrumentation to capture transfer latency, bandwidth, and collective communication characteristics. This produces a structured performance summary identifying hotspots and inefficiencies.

Can I use code instrumentation to measure bandwidth when external profiling tools are insufficient?

Code instrumentation measures bandwidth, transfers, and collective communication characteristics when external profiling tools are insufficient. All modified or created files are tracked in a mandatory instrumentation changelog to ensure transparent profiling artifact capture.

How do I profile end-to-end framework execution where bottlenecks span multiple components?

Profiling end-to-end framework execution identifies bottlenecks spanning multiple components by dynamically selecting appropriate external profiling tools and optional code instrumentation. It evaluates CPU overhead, memory usage, GPU compute behavior, and interconnect communication to produce a comprehensive performance report.

Does system profiling work with standalone scripts and GPU-focused workloads?

System profiling works with standalone scripts, GPU-focused workloads, running processes, and end-to-end framework execution. You initiate profiling by providing a clear target such as a script name, a PID, or a service descriptor like vllm serving.