Skip to content

Structured performance profiling of scripts, processes, GPUs, memory, and interconnects with instrumentation where needed.

CCM score
55 of 100
skills.sh installs
537
GitHub stars
20.1K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers CPU, memory, interconnect, and GPU compute analysis, starting from the target's code and runtime behavior
  • Includes external tools such as cProfile, py-spy, tracemalloc, nvidia-smi, torch.profiler, and nsys, plus custom timing and transfer instrumentation
  • Enforces a changelog of every file touched for profiling, so instrumentation can be reviewed and reverted
  • Designed for diagnosing bottlenecks in Python training, inference, and multi-GPU workloads on your machine

Install

$ npx -y skills add wanshuiyin/auto-claude-code-research-in-sleep --skill system-profile -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

System Profile

Profile the specified target and summarize the results. Target: $ARGUMENTS

Instructions

You are a profiling assistant. Based on the user's target, choose appropriate profiling strategies, including writing instrumentation code when needed, then run profiling, analyze results, and produce a summary.

Step 1: Determine the profiling target

Parse $ARGUMENTS to understand what to profile. Examples:

  • A Python script or module
  • A running process (PID or service name)
  • A specific function or code block
  • An entire framework or system (e.g., "autogen", "vllm serving") — profile its end-to-end execution, identify bottlenecks across components
  • "gpu" / "interconnect" / "memory" for focused profiling

If $ARGUMENTS is empty or unclear, ask the user.

Step 2: Choose profiling methods

Select from external tools and/or code instrumentation as appropriate. Don't limit yourself to the examples below — use whatever makes sense for the target.

Details

Repository
github.com/wanshuiyin/auto-claude-code-research-in-sleep
Categories
Debugging, Data Science & Analytics, Python
First seen
Jun 3, 2026

Questions

What does the system-profile skill do?

The system-profile skill profiles a target such as a script, a running process, a GPU, memory, or an interconnect for performance analysis. It chooses external tools and writes instrumentation code when needed, then produces a summary with tables and ranked recommendations.

How do I install the system-profile skill?

Run npx -y skills add wanshuiyin/auto-claude-code-research-in-sleep --skill system-profile -y in a project. After that, the agent can profile a script, process, GPU, or memory target when you ask for profiling, benchmarking, or bottleneck analysis.

Where does system-profile stand in the Debugging category?

The system-profile skill is listed in the Debugging category on Claude Marketplaces, alongside diagnosing-bugs, azure-messaging, safe-debug, systematic-debugging and sentry-cli. It focuses on performance profiling rather than fixing bugs.

What does the skill record when it modifies code for profiling?

When it inserts instrumentation, the skill marks inline edits with clear comments and saves artifacts such as flamegraphs and traces to a profile_output folder. It also produces a changelog listing every modified or created file so you can review and revert the changes.

More from wanshuiyin/auto-claude-code-research-in-sleep

All 41

Similar to System Profile

More Debugging