generate-profile

Generate a Chrome-compatible profiling trace for an SGLang server run.

9|Updated Feb 21, 2026
One-click install
npx skills add https://github.com/Fridge003/sglang-dev-tools --skill generate-profile-fridge003
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: generate-profile
Source: https://github.com/Fridge003/sglang-dev-tools/tree/main/ai-wheels/.claude/skills/generate-profile
Command: npx skills add https://github.com/Fridge003/sglang-dev-tools --skill generate-profile-fridge003

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Generate an end-to-end profiling trace for an SGLang server run.

Core Features & Use Cases

  • Launch an SGLang server and validate its readiness.
  • Run an automated accuracy sanity check and capture a Chrome-compatible profiling trace.
  • Return the path to the generated profile directory and provide its contents for verification.

Quick Start

Launch the SGLang server, run an accuracy check, and generate a profiling trace, then report the profile directory path.

Frequently Asked Questions about generate-profile

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

FAQPage Schema
How do I generate an end-to-end profiling trace for an SGLang server?

To generate an SGLang server profiling trace, launch the server, validate its readiness, run an automated accuracy sanity check, and capture a Chrome-compatible trace. The process returns a profile directory containing all generated performance artifacts.

What do I need to capture an SGLang server profile?

Capturing an SGLang server profile requires a working SGLang installation, at least one CUDA-capable GPU, and access to the server health endpoint and profiling utilities to successfully validate readiness and generate traces.

Can I validate SGLang server performance before capturing a profiling trace?

Yes, you can validate SGLang server performance by running an automated accuracy sanity check immediately after launching the server. This ensures the server is fully ready before you capture the Chrome-compatible profiling trace.

What format is the SGLang profiling trace output in?

The SGLang profiling trace is output in a Chrome-compatible trace format. The Skill delivers a profile directory containing these trace artifacts, allowing you to verify server performance directly within compatible viewers.

Does SGLang profiling work without a CUDA-capable GPU?

No, SGLang profiling requires at least one CUDA-capable GPU to execute the server run and capture the end-to-end performance trace. The GPU is a mandatory prerequisite for generating the profiling artifacts.

Why is my SGLang server profile not generating correctly?

Your SGLang server profile may not generate correctly if the server is not fully ready. Ensure you have access to the server health endpoint and successful completion of the accuracy sanity check before attempting to capture the profiling trace.