This is a comprehensive profiling assistant that goes beyond running nvidia-smi or cProfile. It intelligently chooses profiling strategies based on your target, whether that's a Python script, a running process, or an entire framework like vLLM. What makes it useful is that it doesn't just run external tools. It will actually write and inject instrumentation code into your target to measure things like CPU-GPU transfer patterns, NCCL collective latency, or memory redundancy across devices. It tracks all its modifications in a changelog table so you can see exactly what it changed and revert everything when you're done. The output is structured around four dimensions: CPU overhead, memory overhead, interconnect traffic, and GPU compute, with actionable recommendations ranked by impact.

skills.sh installs
503
GitHub stars
18.9K
last updated
Aug 21, 2026

Install

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

Installs into .claude/skills of the current project.

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.

Sponsors

Details

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

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

All 41
1comet-ml avatarinstrumentcomet-ml/opik-skillsAdd Opik tracing to an existing codebase. Detects language (Python/TypeScript), identifies LLM frameworks, adds appropriate decorators and integrations, marks e389skills.sh installs
2liangdabiao avatarstock-question-refinerliangdabiao/claude-code-stock-deep-research-agent股票投资调研问题细化技能。将用户提供的股票名称/代码细化为结构化的8阶段投资尽调指令。通过提问澄清投资风格(价值/成长/困境反转)、持有周期(短/中/长线)、风险偏好、研究重点,生成符合专业投资研究标准的结构化调研任务。当用户提到股票分析、投资研究、股票尽调时使用此技能。369skills.sh installs
3kastalien-research avatarzod4kastalien-research/thoughtbox-dot-claudeComprehensive guide for Zod 4 schema validation library. This skill should be used when migrating from Zod 3, learning Zod 4 idioms, or building new validation 289skills.sh installs
4kastalien-research avatareffect-tskastalien-research/thoughtbox-dot-claudeComprehensive guide for Effect-TS, the functional TypeScript library. Use when building Effect applications, especially MCP servers. Covers correct APIs, common288skills.sh installs
5wanshuiyin avatarcomm-lit-review-claude-singlewanshuiyin/auto-claude-code-research-in-sleepCommunications-domain literature review with Claude-style knowledge-base-first retrieval. Use when the task is about communications, wireless, networking, satel200skills.sh installs
6google-research avatartimesfm-forecastinggoogle-research/timesfmtimesfm forecasting187skills.sh installs