Qwen Code E2E Testing
QwenLM/qwen-code
Guides end-to-end testing of the Qwen Code CLI in headless mode with real model calls, MCP test servers and inspection of raw API traffic.
Generate an e2e profiling trace of an SGLang server run. An agent skill from sgl-project/sglang.
$ npx skills add sgl-project/sglang --skill generate-profile -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install sgl-project/sglang generate-profile --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/sgl-project/sglang.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/generate-profile .claude/skills/generate-profile && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "generate-profile" agent skill from https://github.com/sgl-project/sglang/tree/main/.agents/skills/generate-profile into .claude/skills/generate-profile/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "generate-profile", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/sgl-project/sglang/tree/main/.agents/skills/generate-profileType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add sgl-project/sglang --skill generate-profile -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install sgl-project/sglang generate-profile --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/sgl-project/sglang.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/generate-profile .agents/skills/generate-profile && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "generate-profile" agent skill from https://github.com/sgl-project/sglang/tree/main/.agents/skills/generate-profile into .agents/skills/generate-profile/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "generate-profile", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add sgl-project/sglang --skill generate-profile -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install sgl-project/sglang generate-profile --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/sgl-project/sglang.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/generate-profile .cursor/skills/generate-profile && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "generate-profile" agent skill from https://github.com/sgl-project/sglang/tree/main/.agents/skills/generate-profile into .cursor/skills/generate-profile/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "generate-profile", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/sgl-project/sglang.git --path .agents/skills/generate-profile--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add sgl-project/sglang --skill generate-profile -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install sgl-project/sglang generate-profile --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/sgl-project/sglang.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/generate-profile .gemini/skills/generate-profile && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "generate-profile" agent skill from https://github.com/sgl-project/sglang/tree/main/.agents/skills/generate-profile into .gemini/skills/generate-profile/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "generate-profile", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install sgl-project/sglang generate-profileInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add sgl-project/sglang --skill generate-profile -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/sgl-project/sglang.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/generate-profile .github/skills/generate-profile && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "generate-profile" agent skill from https://github.com/sgl-project/sglang/tree/main/.agents/skills/generate-profile into .github/skills/generate-profile/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "generate-profile", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add sgl-project/sglang --skill generate-profile -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install sgl-project/sglang generate-profile --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/sgl-project/sglang.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/generate-profile .opencode/skills/generate-profile && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "generate-profile" agent skill from https://github.com/sgl-project/sglang/tree/main/.agents/skills/generate-profile into .opencode/skills/generate-profile/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "generate-profile", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
generate-profileGenerate an e2e profiling trace of an SGLang server run. An agent skill from sgl-project/sglang.
Generate Profile is an agent skill from sgl-project/sglang. Generate an e2e profiling trace of an SGLang server run. Launches a server, validates accuracy, captures a Chrome-compatible trace, and returns the profile path.
Its SKILL.md is about 1.1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Testing & QA, covering End-to-end testing. It works with SGLang and Qwen. The repository describes itself as: SGLang is a high-performance serving framework for large language models and multimodal models. The licence is Apache-2.0.
6 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit f620d73. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
python3curlpipFrom the folder's file list and the shell code blocks in SKILL.md.
Links to these hosts (documentation or services it may open):
ui.perfetto.devFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Generate Profile loads about 1.1k tokens when it runs. Until then it costs about 45 tokens; SKILL.md has 394 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from sgl-project/sglang at commit f620d73, republished under its Apache-2.0 licence (© sgl-project). 394 words, ~1,103 tokens.
.claude/skills/generate-profile/SKILL.md (or your agent's skills folder).This skill launches an SGLang server, validates it with a quick accuracy test, generates a profiling trace, and returns the profile file path.
pip install -e . or equivalent)CUDA_VISIBLE_DEVICES=<gpu_id> sglang serve --model-path <model> --port <port> &Qwen/Qwen3-8B (good balance of speed and quality)30000Poll the health endpoint until the server is ready:
for i in $(seq 1 120); do
if curl -s http://127.0.0.1:<port>/health 2>/dev/null | grep -q "ok\|healthy"; then
echo "Server ready"
break
fi
sleep 5
doneThe server prints "The server is fired up and ready to roll!" to stdout when ready. The health endpoint returns 200 once the server can accept requests.
Typical startup time: 30-90 seconds depending on model size and whether CUDA graphs are being compiled.
sgl-eval run gsm8k --base-url http://127.0.0.1:<port>/v1 --num-examples 20python3 -m sglang.test.send_one --profileThis command:
/tmp/<timestamp>/<timestamp>-TP-0.trace.json.gz — Chrome trace format (open in chrome://tracing or Perfetto)server_args.json — the server configuration usedOutput format:
Dump profiling traces to /tmp/<timestamp>The profile path is printed to stdout. Parse it from the output.
Optional flags:
--profile-steps N — number of profiling steps (default: 5)--profile-by-stage — profile by stage (prefill/decode separately)--profile-prefix <path> — custom output prefixpkill -9 -f "sglang.launch_server\|sglang serve\|sglang.srt"Wait a moment and verify no sglang processes remain:
sleep 2 && pgrep -af "sglang serve" || echo "Server killed"Return the profile directory path (e.g., /tmp/1773999986.4769795) and list its contents so the user knows what files were generated.
# 1. Launch server
source cleanup/bin/activate
CUDA_VISIBLE_DEVICES=1 sglang serve --model-path Qwen/Qwen3-8B --port 30000 &
# 2. Wait for ready
for i in $(seq 1 120); do
curl -s http://127.0.0.1:30000/health | grep -q "ok" && break
sleep 5
done
# 3. Accuracy check
python3 -m sglang.test.run_eval --host 127.0.0.1 --port 30000 --eval-name gsm8k --num-examples 20
# Expected: Accuracy > 0.8
# 4. Profile
python3 -m sglang.test.send_one --profile
# Output: "Dump profiling traces to /tmp/1773999986.4769795"
# 5. Cleanup
pkill -9 -f "sglang.launch_server\|sglang serve\|sglang.srt"
sleep 2
# 6. Check output
ls -la /tmp/1773999986.4769795/
# 1773999986.4851577-TP-0.trace.json.gz (Chrome trace)
# server_args.json (server config)--port <port> and use --host 127.0.0.1 --port <port> for test commands--tp <N> for tensor parallelism; trace files will be generated per TP rank--profile-steps 10 for more steps in the trace--profile-by-stage to separate prefill and decode phasesOpen the .trace.json.gz file in:
chrome://tracing (load the file)Both support the gzipped Chrome trace format natively.
© sgl-project, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .agents/skills/generate-profile of sgl-project/sglang.
Open the folder on GitHubat commit f620d73
We found 2 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 2 other GitHub owners. This page covers the copy in sgl-project/sglang, which our catalogue first saw on October 7, 2026.
Generate Profile next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Generate Profile this skillsgl-project/sglang | 37k | 2 repos | ~1.1k | Automated safety check: Pass | Apache-2.0 | |
| Qwen Code E2E TestingQwenLM/qwen-code | 28k | — | ~2.1k | Automated safety check: Pass | Apache-2.0 | |
| tmux Real User TestingQwenLM/qwen-code | 28k | — | ~2.3k | Automated safety check: Pass | Apache-2.0 | |
| Wally Device E2ERunanywhereAI/wally | 1.6k | — | ~845 | Automated safety check: Pass | MIT | |
| Wally E2ERunanywhereAI/wally | 1.6k | — | ~3.8k | Automated safety check: Pass | MIT | |
| Run Agmente E2Erebornix/Agmente | 545 | — | ~414 | Automated safety check: Pass | MIT |
QwenLM/qwen-code
Guides end-to-end testing of the Qwen Code CLI in headless mode with real model calls, MCP test servers and inspection of raw API traffic.
QwenLM/qwen-code
Drives Qwen Code in a real tmux session the way a user would and saves a readable step-by-step transcript of each screen for maintainers to review.
RunanywhereAI/wally
Run wally's LLM e2e on Apple Neural Engine (NeuRT) and Snapdragon Hexagon NPU (QHexRT) devices.
RunanywhereAI/wally
Verify a built wally binary against a pinned C++ desktop kit on macOS and Windows.
rebornix/Agmente
Run Agmente iOS end-to-end tests against a local ACP agent (Gemini, Claude, Qwen, or Vibe), validate core RPC flow, and perform mandatory cleanup.
BBuf/AI-Infra-Auto-Driven-SKILLS
Breaks LLM torch profiler traces down by forward pass, layer and kernel, with timing tables and Perfetto time ranges for the layers you want to inspect.
sgl-project/sglang
Replay-first debug flow for SGLang serving problems. An agent skill from sgl-project/sglang.
sgl-project/sglang
Unified LLM torch-profiler triage skill for sglang, vllm, TensorRT-LLM, and TokenSpeed.
sgl-project/sglang
Start and persistently pursue a goal to babysit an SGLang pull request until selected GitHub Actions workflows pass on the latest PR head.
sgl-project/sglang
Compute the optimal --mamba-full-memory-ratio (or --max-mamba-cache-size pin) for a hybrid attention + linear-attention (Mamba / GDN / KDA) model's two serving memory pools, from the workload and…
sgl-project/sglang
Debug hanging issues in SGLang distributed inference (TP/PP/DP/EP).
sgl-project/sglang
Conventions for SGLang environment variables — where to define, how to access, how to name, and how to deprecate.
Categories
Generate an e2e profiling trace of an SGLang server run. An agent skill from sgl-project/sglang. Generate Profile is an agent skill from sgl-project/sglang. Generate an e2e profiling trace of an SGLang server run.
Generate Profile fits situations like: tasks that involve End-to-end testing.
Run `npx skills add sgl-project/sglang --skill generate-profile -a claude-code`. Or copy the skill folder (.agents/skills/generate-profile in sgl-project/sglang) into .claude/skills/generate-profile in your project. Claude Code loads it when a task matches its description.
Run `npx skills add sgl-project/sglang --skill generate-profile -a codex`. Or copy the skill folder (.agents/skills/generate-profile in sgl-project/sglang) into .agents/skills/generate-profile in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add sgl-project/sglang --skill generate-profile -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/generate-profile, .gemini/skills/generate-profile, .github/skills/generate-profile and .opencode/skills/generate-profile in your project.
Going by SKILL.md and its folder, Generate Profile needs the command-line tools its instructions call (python3, curl and pip). Our summary lists: Python 3.
SKILL.md names 1 domain. As links in the text: ui.perfetto.dev. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Generate Profile is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.1k tokens (SKILL.md is roughly 4.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Generate Profile: Qwen Code E2E Testing (QwenLM/qwen-code, 28k stars), tmux Real User Testing (QwenLM/qwen-code, 28k stars), Wally Device E2E (RunanywhereAI/wally, 1.6k stars) and Wally E2E (RunanywhereAI/wally, 1.6k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
sgl-project (a GitHub organization) maintains it in sgl-project/sglang, which has 36,907 GitHub stars. The repository holds 32 skills in this directory. The repository was last updated on October 9, 2026.
Source: sgl-project/sglang on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.