llm-pipeline-analysis
Inspect LLM torch profiler traces at forward-pass, layer, and kernel level. Use when you need layer timings, anchor-kernel…
Replay-first debug flow for SGLang serving problems. Use when a live or recent server shows health-check failures, latency or throughput regressions, queue growth, timeouts, distributed stalls, crash dumps, wrong outputs after deploys, or PD/EP/HiCache issues, and the job is to
Claude Code
$ npx -y skills add BBuf/AI-Infra-Auto-Driven-SKILLS --skill sglang-prod-incident-triage --agent claude-code
Codex
$ npx skills add BBuf/AI-Infra-Auto-Driven-SKILLS --skill sglang-prod-incident-triage -a codex -y
Cursor
$ npx skills add BBuf/AI-Infra-Auto-Driven-SKILLS --skill sglang-prod-incident-triage -a cursor -y
Gemini CLI
$ npx skills add BBuf/AI-Infra-Auto-Driven-SKILLS --skill sglang-prod-incident-triage -a gemini-cli -y
GitHub Copilot
$ npx skills add BBuf/AI-Infra-Auto-Driven-SKILLS --skill sglang-prod-incident-triage -a github-copilot -y
OpenCode
$ npx skills add BBuf/AI-Infra-Auto-Driven-SKILLS --skill sglang-prod-incident-triage -a opencode -y
Windsurf
$ npx skills add BBuf/AI-Infra-Auto-Driven-SKILLS --skill sglang-prod-incident-triage -a windsurf -y
name: sglang-prod-incident-triage description: Replay-first debug flow for SGLang serving problems. Use when a live or recent server shows health-check failures, latency or throughput regressions, queue growth, timeouts, distributed stalls, crash dumps, wrong outputs after deploys, or PD/EP/HiCache issues, and the job is to turn the problem into a replay plus the right next debug tool.
Use the maintained [source contracts](../../docs/upstream-source-contracts.md) when applying historical evidence to a current branch. The review/history corpora retain their own capture dates; they do not certify today's dispatch or numerical defaults. For kernel replacements, verify that the real model executes the candidate before treating end-to-end tests as coverage.
Use this skill to turn a live serving problem into a debug path you can replay.
Use one loop:
Do not start with profiling.
Version-sensitive live-server signals:
that forget to close sessions can look like unexplained KV growth
older Rust builds differ. Confirm the ingress binary and source revision before interpreting a 401 or 404 (see the endpoint reference).
This skill should work with more focused skills instead of re-implementing them:
compute-side path
Three examples are included:
Return:
Confirm the ingress and build first. Current Rust route assembly includes load, metrics (when enabled), HiCache and profile controls but no `/ready` route (it is only exempt from auth), so `/ready` returns 404 there; Python route parity is not universal. A 404 can mean an older build, an unmounted optional route or an ingress difference. Record status and response body, then consult the actual route module. Health/readiness are different checks.
If a live server is reachable, collect a read-only bundle before anything more intrusive:
python3 scripts/incident_artifact_tool.py collect-bundle \ --base-url http://127.0.0.1:30000 \ --outdir /tmp/incident_bundle python3 scripts/incident_artifact_tool.py summarize-bundle \ /tmp/incident_bundle
If the server is protected:
python3 scripts/incident_artifact_tool.py collect-bundle \ --base-url http://127.0.0.1:30000 \ --token "$SGLANG_BEARER_TOKEN" \ --outdir /tmp/incident_bundle
The bundle script collects:
If stale or corrupt HiCache contents are the working diagnosis, capture the bundle and relevant request dumps before calling `POST /hicache/storage-backend/clear`. That endpoint clears the attached backend's contents without detaching it; treat it as destructive and use it only when losing the cached contents is acceptable. Attach, detach, and clear details are in [references/endpoints-and-signals.md](references/endpoints-and-signals.md).
Use the summary for a quick read on:
If the summary says the bundle was captured while the server was idle, recollect it during traffic or move quickly to dump plus replay.
If no live server is reachable, start from the best dump or log already available:
Read [references/decision-tree.md](references/decision-tree.md) only if the problem class is still unclear:
Then preserve the request payload that actually triggers the problem:
Do not jump straight from a live symptom to low-level debugging without first saving something you can replay.
Read [references/endpoints-and-signals.md](references/endpoints-and-signals.md) when you need help reading the baseline bundle or the replay target.
Read [references/replay-trace-profile.md](references/replay-trace-profile.md) when you need the replay, trace, profile, or bisect paths.
Standard order:
1. collect baseline bundle 2. capture request dump or crash dump 3. restart a clean debug target if needed 4. replay the same issue 5. collect replay-time logs and dumps
Use replay when:
If a crash dump exists, summarize it first:
python3 scripts/inciden
**Agent-ready skills for LLM serving benchmarks, profiler triage, capacity planning, model Day-0 support, incident triage, and model PR history across SGLang, vLLM, TensorRT-LLM, and TokenSpeed — plus SGLang PR and article explainer videos.** Plain SKILL.md
Inspect LLM torch profiler traces at forward-pass, layer, and kernel level. Use when you need layer timings, anchor-kernel…
Framework-independent LLM serving benchmark skill for comparing SGLang, vLLM, TensorRT-LLM, TokenSpeed, or another serving…
Parse SGLang/vLLM startup logs to explain GPU memory use and request capacity. Use for KV cache budget, mem-fraction-static…
Analyze existing Torch Profiler Chrome traces or capture from SGLang, vLLM, TensorRT-LLM and TokenSpeed servers. Return kernel…
Return public original model architecture diagrams for user-specified LLM, VLM, MoE, diffusion, OCR, and SGLang/sgl-cookbook…
Build an operator-level compute template for an LLM and estimate FLOPs/MFU for a serving shape. Use when you need tensor shapes,…
Hugging Face Hub CLI (`hf`) for downloading, uploading, and managing models, datasets, spaces, buckets, repos, papers, jobs, and…
Internals of the Feast codebase — how each component works, where the key abstractions live, and the data flow through the…