← Open Source

BBuf/AI-Infra-Auto-Driven-SKILLS on GitHub: Python, Infrastructure, Observability, Inference service optimization, Benchmarks, DevOps, Kernel, Memory management.

InfrastructureObservabilityInference service optimizationPython
Momentum
+3stars in 24 hours+0.2%
1.22k
Stars
114
Forks
+21
This week
5
Contributors
Created 2026-04-01 · Updated 2026-12-05 · #3203 today
Top developers
BBufDayuxiaoshuichanghuaixin
README

AI-Infra-Auto-Driven-SKILLS

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 directories that give a coding agent the operational memory for real AI-infra work: fair cross-framework benchmarks, kernel-level profiler reads, operator FLOPs, model support plans, and the upstream PRs that already solved a similar problem. Kernel campaigns live in the sibling KDA-Pilot; per-model diffusion runs live in sglang-diffusion-optimization-flows/.

Releases

v0.1.6 — Release notes (中文), covering the new explainer-video skill. Previous releases: v0.1.5, v0.1.0.

Skills

Skill Use it when
llm-serving-auto-benchmark Find the best deployment command for one model across SGLang, vLLM, TensorRT-LLM, TokenSpeed under the same workload, GPUs, and SLA.
llm-serving-capacity-planner Explain startup memory, KV cache budget, request capacity, or OOM pressure from SGLang/vLLM logs.
llm-torch-profiler-analysis Capture or read a torch profiler trace and get kernel, overlap-opportunity, and fusion-opportunity tables checked against a catalog of known SGLang/vLLM/TensorRT-LLM/TokenSpeed/FlashInfer optimizations.
llm-pipeline-analysis Break a trace into forward passes, layers, and kernels with anchor boundaries and Perfetto ranges.
torch-profiler-layer-track Add verified layer-number guides and compact GPU lanes to a trace for Perfetto navigation.
model-compute-simulation Estimate operator shapes, FLOPs, and MFU for a serving shape, or map kernels back to operators.
sglang-model-day0-support Turn a new model architecture into an SGLang Day-0 PR DAG, validation matrix, and release lock.
sglang-prod-incident-triage Turn queue growth, timeouts, wrong outputs, crashes, or stalls into a replay and the next debug step.
model-architecture-diagram Return original public architecture diagrams for popular LLM, VLM, MoE, OCR, and diffusion families.
sglang-explainer-video Turn an SGLang PR number or a technical article into a Chinese explainer video that fully explains its algorithms and code (length follows the material), with edge-tts narration, word-synced bilingual captions, a cover designed for each video, and ending links to the source and the cookbook, rendered with HyperFrames.

Model PR History

model-pr-optimization-history/ is one queryable knowledge base (installed as model-pr-history-knowledge) with 118 bilingual dossiers: SGLang 45, vLLM 44, TensorRT-LLM 15, TokenSpeed 14. Each lists a model family's implementation files, every PR that changed them, and per-PR evidence cards. New generated entries are explicitly marked as source inventories pending manual diff review. Read it before patching a model path or calling an optimization new.

cd model-pr-optimization-history
python3 scripts/query.py --list
python3 scripts/query.py --framework vllm "qwen3 fused qk norm"

Dossiers are regenerated from upstream git history with tools/rebuild_model_pr_history_from_git.py; see update_prompt.md for the full refresh procedure and docs/upstream-source-contracts.md for the inspected source revisions.

Install

Claude Code plugin:

/plugin marketplace add BBuf/AI-Infra-Auto-Driven-SKILLS
/plugin install ai-infra-auto-driven-skills@ai-infra-auto-driven-skills

Any skill runtime (Claude Code, Codex, Kimi, ...): link or copy the skill directories into its skill directory.

git clone https://github.com/BBuf/AI-Infra-Auto-Driven-SKILLS.git
cd AI-Infra-Auto-Driven-SKILLS
SKILL_DIR=~/.claude/skills   # or ${CODEX_HOME:-~/.codex}/skills
mkdir -p "$SKILL_DIR"
for d in skills/*/ skills/model-optimization/*/; do
  [ -f "$d/SKILL.md" ] && ln -sfn "$PWD/${d%/}" "$SKILL_DIR/$(basename "$d")"
done
ln -sfn "$PWD/model-pr-optimization-history" "$SKILL_DIR/model-pr-history-knowledge"

Evidence Rules

  • Benchmark rows record model, framework commit, GPUs, workload, rate or concurrency, SLA status, both commands, and raw artifacts.
  • Profiler reports keep prefill and decode separate and never reuse an older trace for a new capture.
  • Performance claims are scoped to the exact model, hardware, precision, workload, and framework revisions; accuracy is checked on the real path.
  • Historical PR evidence keeps its audit date; a source refresh is not a GPU rerun.

Related Projects

  • KDA-Pilot hosts standalone kernel loops, kernel knowledge, and NCU workflows.

Star History

Nearby in the ranking
Similar items

AI Rank for iPhone

Follow AI model rankings

Download on the App Store