cookbook-add-model

Add a new model to the SGLang Cookbook (docs/, Mintlify), config-driven format — instantiate the model-agnostic template into a per-model config (+ benchmarks) JSX under src/snippets/configs/, an MDX page, the docs.json nav entry, NEW-tag hygiene, and the homepage vendor card. Interactive, multi-phase. Run with /cookbook-add-model.

Install
npx skills add 'https://github.com/sgl-project/sglang/tree/main/.claude/skills/cookbook-add-model'
Download bundle ↓
main · a9fb1c3Scanned 2026-09-17

Contributors

GitHub-linked commit authors for this SKILL.md at the saved revision. Co-authors and history before file renames are not included.

File history ↗
View on GitHub
← Back to SKILL.md
---title: __MODEL_DISPLAY__description: "Deploy __MODEL_DISPLAY__ with SGLang Diffusion."metatags:    description: "Serve __MODEL_DISPLAY__ for __PRIMARY_CAPABILITY__ with SGLang Diffusion."--- import { DiffusionModelTags } from '/src/snippets/diffusion/model-tags.jsx';import { Deployment } from '/src/snippets/_deployment.jsx';import { config } from '/src/snippets/configs/__HF_ORG__/__MODEL_SLUG__.jsx'; <DiffusionModelTags tags={["__MODALITY__", "__PRIMARY_TASK__", "__DIFFERENTIATOR__", "__IMPORTANT_BOUNDARY__"]} /> ## 1. Quick start Install with `uv pip install "sglang[diffusion]" --prerelease=allow`, then choosea verified recipe below. <Deployment config={config} /> ## 2. Model capabilities [__MODEL_DISPLAY__](__MODEL_URL__) is __CONCRETE_MODEL_DESCRIPTION__. Its strongest use case is __MEASURED_OR_DOCUMENTED_STRENGTH__. Choose it when __SELECTION_GUIDANCE__. The main tradeoff is __CAPABILITY_OR_DEPLOYMENT_BOUNDARY__. | Checkpoint or mode | Best fit | Important boundary || --- | --- | --- || `__MODEL_ID__` | __USE_CASE__ | __LIMIT__ | ## 3. Deployment details Document topology-dependent defaults, platform-specific installation details,and only the hardware recipes that need explanation beyond the builder. ## 4. Request examples __REQUEST_EXAMPLES__ ## 5. Feature details Document quality contracts, installation requirements, and benchmark scope forthe Server and Request choices exposed in the builder. Keep `torch.compile` andother experimental controls here until they have a broadly compatible recipe. 
Referenced from SKILL.md