generate-profile

Launch an SGLang server, validate readiness, and generate a Chrome-compatible profiling trace.

410|14|Updated Apr 8, 2026
One-click install
npx skills add https://github.com/OpenMOSS/MOSS-VL --skill generate-profile-openmoss
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: generate-profile
Source: https://github.com/OpenMOSS/MOSS-VL/tree/main/sglang/.claude/skills/generate-profile
Command: npx skills add https://github.com/OpenMOSS/MOSS-VL --skill generate-profile-openmoss

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Generating comprehensive performance profiles for an SGLang server by automating server launch, readiness validation, and profiling trace collection, reducing manual profiling effort.

Core Features & Use Cases

  • End-to-end profiling workflow: automatically launches the server, verifies readiness, runs a quick sanity check, and captures a Chrome-compatible trace.
  • Reproducible traces: saves the trace and configuration for later analysis and comparison across runs.
  • Use Case: DevOps or ML engineers profiling latency and throughput for SGLang deployments to identify bottlenecks and optimize inference speed.

Quick Start

Run a full profiling cycle to produce a trace for the current SGLang server setup and retrieve 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 profile an SGLang server to get a Chrome trace?

To profile an SGLang server, this Skill automates the launch, validates readiness via a health endpoint, and generates a Chrome-compatible profiling trace. It handles the end-to-end workflow to produce reproducible performance data for later analysis.

What do I need to run end-to-end profiling on an SGLang server?

End-to-end SGLang server profiling requires a working SGLang installation, at least one CUDA GPU, access to a health endpoint, and storage space for the generated trace directory. The environment must support server launch and readiness validation.

Can I capture reproducible performance traces for SGLang inference?

Yes, you can capture reproducible performance traces for SGLang inference. The Skill saves the trace and configuration during each profiling run, allowing you to compare latency and throughput data across multiple runs to identify bottlenecks.

What is the best way to automate SGLang server profiling for latency optimization?

The best way to automate SGLang server profiling is using an end-to-end workflow that launches the server, runs a sanity check, and captures a Chrome-compatible trace. This reduces manual profiling effort and provides trace-driven optimization data.

Does SGLang profiling work with a single CUDA GPU setup?

Yes, SGLang profiling works with a single CUDA GPU setup. The Skill requires at least one CUDA GPU to execute the profiling cycle, validate server readiness, and generate the performance trace directory for model serving optimization.