Slime
Luciole-Studio/Misaka-Agent
RL post-training for LLMs with Megatron and SGLang. An agent skill from Luciole-Studio/Misaka-Agent.
Migrate a legacy-template SGLang cookbook page (monolithic per-model generator under docs/src/snippets/autoregressive/) onto the config-driven template (shared deployment.jsx / playground.jsx…
$ npx skills add sgl-project/sglang --skill cookbook-migrate-model -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install sgl-project/sglang cookbook-migrate-model --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/cookbook-migrate-model .claude/skills/cookbook-migrate-model && 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 "cookbook-migrate-model" agent skill from https://github.com/sgl-project/sglang/tree/main/.agents/skills/cookbook-migrate-model into .claude/skills/cookbook-migrate-model/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cookbook-migrate-model", 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/cookbook-migrate-modelType 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 cookbook-migrate-model -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install sgl-project/sglang cookbook-migrate-model --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/cookbook-migrate-model .agents/skills/cookbook-migrate-model && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "cookbook-migrate-model" agent skill from https://github.com/sgl-project/sglang/tree/main/.agents/skills/cookbook-migrate-model into .agents/skills/cookbook-migrate-model/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cookbook-migrate-model", 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 cookbook-migrate-model -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install sgl-project/sglang cookbook-migrate-model --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/cookbook-migrate-model .cursor/skills/cookbook-migrate-model && 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 "cookbook-migrate-model" agent skill from https://github.com/sgl-project/sglang/tree/main/.agents/skills/cookbook-migrate-model into .cursor/skills/cookbook-migrate-model/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cookbook-migrate-model", 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/cookbook-migrate-model--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 cookbook-migrate-model -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install sgl-project/sglang cookbook-migrate-model --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/cookbook-migrate-model .gemini/skills/cookbook-migrate-model && 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 "cookbook-migrate-model" agent skill from https://github.com/sgl-project/sglang/tree/main/.agents/skills/cookbook-migrate-model into .gemini/skills/cookbook-migrate-model/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cookbook-migrate-model", 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 cookbook-migrate-modelInstalls 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 cookbook-migrate-model -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/cookbook-migrate-model .github/skills/cookbook-migrate-model && 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 "cookbook-migrate-model" agent skill from https://github.com/sgl-project/sglang/tree/main/.agents/skills/cookbook-migrate-model into .github/skills/cookbook-migrate-model/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cookbook-migrate-model", 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 cookbook-migrate-model -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 cookbook-migrate-model --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/cookbook-migrate-model .opencode/skills/cookbook-migrate-model && 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 "cookbook-migrate-model" agent skill from https://github.com/sgl-project/sglang/tree/main/.agents/skills/cookbook-migrate-model into .opencode/skills/cookbook-migrate-model/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cookbook-migrate-model", 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.
cookbook-migrate-modelMigrate a legacy-template SGLang cookbook page (monolithic per-model generator under docs/src/snippets/autoregressive/) onto the config-driven template (shared deployment.jsx / playground.jsx…
Cookbook Migrate Model is an agent skill from sgl-project/sglang. Migrate a legacy-template SGLang cookbook page (monolithic per-model generator under docs/src/snippets/autoregressive/) onto the config-driven template (shared deployment.jsx / playground.jsx engines + per-model config). Use when asked to migrate, convert, or port an existing cookbook page — NOT for brand-new models (use cookbook-add-model for those). Run with /cookbook-migrate-model <Model page name, e.g. GLM-5.1.
Its SKILL.md is about 4k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including reference files (for example `references/dimension-mapping.md`).
It sits in Frontend & Design, covering React components. It works with SGLang and Zhipu GLM. 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.
9 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:
gitghFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use git and gh, which can reach the network depending on how they are called.
From 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.
Cookbook Migrate Model loads about 4k tokens when it runs, and up to ~9.9k if it reads all its reference files. Until then it costs about 111 tokens; SKILL.md has 2,059 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). 2,059 words, ~3,985 tokens.
.claude/skills/cookbook-migrate-model/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.Convert one legacy cookbook page to the config-driven format, faithfully. The legacy page — its generator widget and its measured benchmark blocks — is the single source of truth. You are transcribing it into the new data model, not improving it.
Reuses the cookbook-add-model skill's assets (read them on demand):
../cookbook-add-model/templates/config.jsx.tmpl, page.mdx.tmpl, benchmarks.jsx.tmpl../cookbook-add-model/references/authoring-reference.md (config/cells/playground contract)../cookbook-add-model/references/mintlify-authoring.md (MDX rules)Migration-specific references in this skill:
The round's per-model inventory (scope, batch order, quirks, measured-data survey) is tracked by the migration maintainer outside the repo — expect it in your dispatch prompt, or ask for it.
launch_server→sglang serve, --model→--model-path, --tp-size→--tp, abbreviated
--speculative-algo→--speculative-algorithm,
--expert-parallel-size→--ep). Accuracy-degrading flags
(--kv-cache-dtype fp8_e4m3, W4A4-style runtime quant) follow a
deterministic rule — enforced in migration, no asking: offered as a
legacy selectable option → never select it (cells mirror the
accuracy-safe side), and the option survives as a Playground axis —
an existing one where it fits, else add one via a separate prior engine
PR (rule 4); a legacy choice never degrades to a tips mention. Baked
into the recipe's default/unconditional command → keep it verbatim
(the recipe was measured with it, and fp8 KV halves KV memory —
stripping could OOM it). See dimension-mapping.md §2 caveats.sglang_version is a reproducible anchor — the bar is reproducibility,
not "must be a release":v0.5.9 / 0.5.9), commit hash, OR — for
Day-0 support (the enabling PR isn't merged and no release is cut
yet) — a specific PR (PR #27944) or commit you can gh pr checkout
/ git checkout <sha>. Commit is most precise; a PR pin is fine for day-0."main branch", "main (2026-06-11)", open-ended
"0.5.8+" — is NOT reproducible: drop the WHOLE result (speed AND
accuracy), not just speed. Keep benchmarkCommands so ⚡Reproduce still
guides re-measurement against a pinned build.
Never inherit cross-model numbers — measurements the legacy page
attributes to a different model (e.g. a K2.6 page carrying K2.5-measured
speed) are dropped regardless of version. When kept, sglang_version is the
legacy page's string verbatim. Docker tags only the ones the legacy page
pinned (unmapped hw falls back to :dev).verified: true ONLY when (a) the
legacy page has concrete measured data for that exact 5-dim combo AND
(b) the cell's flags equal the deployment command used for that measurement
— modulo {{HOST_IP}}/{{PORT}}, the five alias rewrites, and parser
flags: --reasoning-parser/--tool-call-parser are stripped from every
cell (Playground-only feature; when the measured run had them on, say so in
the benchmarks file header). When the measured command diverges from the
generator default, the verified cell follows the measured command; the
generator default stays as the sibling strategy/cell or a tips note. Everything else is unverified (yellow) —
including combos that look memory-infeasible; keep them verbatim and list
them in the PR body for the re-verification track._deployment.jsx / _playground.jsx must not
change in a migration PR. Model-specific features are config DATA consumed
by generic axis handlers (MegaMoE precedent), so they need NO engine change.
A titled single-select that strips a flag family — KV Cache DType
(--kv-cache-dtype), mamba (--mamba-radix-cache-strategy), … — is already
covered by the merged generic flagSelects axis: declare it in the
config (a list of { id, title, stripPrefixes, options }; see the Qwen3.5
mamba example), no engine PR. Only a genuinely new control shape that
flagSelects can't express would need a one-time generic primitive (never a
model-named handler) on a separate prior PR (engine-axis.md).github.cookbookModel must be set (<hf-org>/<page-slug>, e.g.
qwen/qwen3.5) and the block never pruned — without it Submit ↗ mislabels
as deepseek-v4. The issue template itself needs NO edits (free-form input).low-latency /
high-throughput ONLY on a signal present in the legacy source (an
explicit performance toggle, a named recipe, or prose stating the
operating point); no signal → balanced. Never derive a slant from
your own hardware intuition — re-tiering on measured evidence is the
hardware owner's follow-up PR, not part of a migration
(dimension-mapping.md §4).docs/src/snippets/autoregressive/<slug>-deployment.jsx)
end-to-end: every option dimension (radio vs checkbox vs dynamic), every
gate/SUPPORT matrix, the full emitted command per reachable combo (env
prefixes, # Error pseudo-commands included).dockerImages (pinned, not
upgraded); §3.2 tips → new §2; §4 invocation examples → new §3 (keep real
Output Examples verbatim); §5 benchmark blocks → transcribe each measured
block: deploy command used, bench command (dataset/isl/osl/num-prompts/
concurrency), P50 (median) TTFT/TPOT, output tok/s, hardware, version string.grep -rn "<PageName>" docs/ --include='*.mdx' —
find links/#fragments into this page (mint broken-links does NOT check
fragments). Fix referrers or add <a id="old-anchor" /> shims in the same PR.Apply references/dimension-mapping.md. Key
decision — which legacy toggle becomes the strategies dimension: a toggle
that changes other parts of the command (TP, mem) must (the Playground
can't do coupled changes), and so does a toggle the legacy page itself labels
with operating-point words — e.g. a dpattention radio whose options are
subtitled "Low Latency" / "High Throughput" (GLM-5.1 / Kimi-K2.6 pattern) —
even when its flags are uncoupled (--attn-dp-size N is a pure
flag add). Any other toggle that only adds/removes its own flags becomes a
Playground axis with the flags baked into cells when the legacy default was
ON — EXCEPT parsers:
--reasoning-parser/--tool-call-parser are NEVER baked into cells, they are
Playground-only (DSv4 convention). Every legacy control survives as an
interactive control — a dimension or a Playground axis, never a tips-only
mention — and a model-specific control is config data, not engine code
(MegaMoE W4A4 is all DSv4 config on the existing moe axis). It's pure
config whenever it fits an existing axis's data schema. A titled
single-select that strips a flag family (Nemotron3's "KV Cache DType",
mamba --mamba-radix-cache-strategy, …) fits the merged generic flagSelects
axis — so it too is config-only (declare a flagSelects list). Only a control
whose shape flagSelects still can't express would need a ONE-TIME generic
primitive (never a model-named handler) on a separate PRIOR engine PR, keeping
the migration PR data-only (hard rule 4, engine-axis.md). The strategy count follows the page's
operating points: one recipe → a single balanced; two → low-latency +
high-throughput; three → the full trio (the ideal). The tiers apply per
(hw × variant × quant) combination — a single-recipe combination on a
multi-strategy page parks under its semantically honest tier (no
latency/throughput slant → balanced; the page's list is the union). When the
legacy toggle is MTP / speculative decoding, the direction is a deterministic
default — apply without asking: MTP on → low-latency, MTP off →
high-throughput (reversed only with maintainer confirmation). Tier
placement is signal-driven (hard rule 6). Never invent a recipe just to fill
strategy chips (see dimension-mapping.md §4). Record the outcome as a
strategy mapping table for the PR body — one row per group of
combinations sharing the same legacy signal (e.g. "all GPU combos: MTP
toggle → low-latency / high-throughput"; "xeon: (none) → balanced"), with a
one-line rationale each; don't enumerate 60 identical rows. The table is what
hardware owners sign off on at review.
generateCommand() into a throwaway Node
script that enumerates combos and emits the cells:[...] literal (output
must stay a pure literal — Mintlify forbids runtime spreads/calls). Apply the
verified-cell override in the script. See the pilot scripts embedded in the
worked example of dimension-mapping.md §5.git show main:<path> — NOT HEAD:, the migration branch deletes
the file, see dimension-mapping.md §5 item 7), stub React hooks, run it for
every combo, and diff token-by-token against the new cells. Expected deltas
only: the appended --host {{HOST_IP}}/--port {{PORT}}, the
engine-injected multi-node trio, the §2 alias rewrites (the entrypoint
rewrite doesn't appear in cell tokens — cells hold flags only; the audit
script normalizes it on the legacy side), and the intentional verified-cell
override. Paste the PASS count + the audit script in the PR body
(collapsed <details>).modelNames key; no --nnodes/--node-rank/ --dist-init-addr/--host/--port literals; every {{KEY}} declared; every
supportedHardware id has ≥1 cell.One entry per measured block only (cells without entries already render
"pending" — bare {match} stubs are unnecessary). tokens_per_sec_per_gpu =
total (in+out) tok/s/GPU = output tok/s ÷ (tp × nnodes) × (isl+osl)/osl — stored directly (the card shows it as-is). TTFT/TPOT
take the P50 (median) rows; set config.latencyPercentile (default "P50"; use
"Mean" only for legacy Mean-recorded data — temporary, being migrated to P50; an
entry-level latencyPercentile overrides the page value per cell).
Put the workload's
num_prompts into workload. config.accuracyLabels is required whenever
the benchmarks carry accuracy data — the engine ships no default eval set
(#27842), so missing labels means the accuracy rows silently don't render;
extra context (sample counts, suites that don't fit) goes in the entry's
notes. Zero-measured-data pages: skip the file and the benchmarks prop
entirely, but keep benchmarkCommands so ⚡Reproduce still guides users.
From page.mdx.tmpl: keep the original title (nav identity), write a fresh
SEO description (top-level — delete any legacy metatags.description), no
tag: NEW (a migration is not a launch), no mode:. Install accordion
carries the legacy install content + pinned images. Keep the template's
DSv4-style strategy bullets — serving semantics first (single-user chat /
typical multi-user / batch throughput), trimmed to the strategies the page
ships, plus at most a one-line note on what each strategy changes on this
model; do NOT rewrite them as toggle-/migration-centric explanations.
Legacy §5 benchmark prose is deleted (numbers → benchmark card, commands →
⚡Reproduce); legacy prose deploy commands are deleted (doc↔config parity —
fold their unique flags into §2 tips). Invocation examples + real outputs carry
over verbatim, but wrapped in Accordions — §3 commands and outputs are
collapsible (required, DeepSeek-V4 pattern): code in an
<Accordion title="… (Python)">, output in a following
<Accordion title="Example Output">; legacy pages kept them inline.
Remove docs/src/snippets/autoregressive/<slug>-deployment.jsx and its
import. grep -rn "<slug>-deployment" docs/ must return nothing (config
provenance comments must not name the deleted path). Site wiring needs no
changes: docs.json path/title unchanged, vendor card + logo already exist.
grep -rn '__[A-Z_]*__' on the new files (no template tokens).cd docs && mint validate && mint broken-links (pre-existing breaks on
main are not yours — say so in the PR).mint dev browser smoke: initial selection = the verified cell (first in
cells[]) with green badge; multi-node cells show the injected trio +
header; AMD cells show env prefixes; Docker mode wraps with the pinned image
and passes cell env as --env; condition-hidden combos grey out; benchmark
card values; NO parser flags in any Deploy command; Playground parser
toggles ADD the parser flags (green additions) while spec toggles strike
the baked spec flags (red); Submit ↗ prefills this model. Probe pitfall: drive at most
ONE programmatic click per evaluation and wait for React to settle —
multiple clicks in one synchronous script batch and read stale DOM.One PR per model. PR body: migration framing, verified policy applied, the
strategy mapping table (step 2), the audit PASS count + script, any
inherited-infeasible combos flagged for re-verification. Then run /cookbook-review-pr <N> and fix findings.
FYI: docs previews only build for in-repo (sgl-project/sglang) branches —
a fork-headed PR is perfectly fine but renders no preview; a maintainer can
re-push the branch in-repo if a preview is wanted for review.
Any new convention, engine behavior, or pitfall you discover while migrating (naming decisions, audit-script gotchas, review-rule conflicts, …) MUST be fed back into this skill — same PR if it's skill-file-only, or an immediate follow-up commit on the skill's branch/PR. The next agent runs on what's written here, not on your session's context.
© 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
SKILL.md and 1 other file (references) in .agents/skills/cookbook-migrate-model 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.
Cookbook Migrate Model 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 |
|---|---|---|---|---|---|---|
| Cookbook Migrate Model this skillsgl-project/sglang | 37k | 2 repos | ~4k | Automated safety check: Pass | Apache-2.0 | |
| SlimeLuciole-Studio/Misaka-Agent | 158 | 1 repos | ~2.7k | Automated safety check: Pass | MIT | |
| React Best Practices V2diegosouzapw/awesome-omni-skills | 159 | — | ~3.5k | Automated safety check: Pass | MIT | |
| Vercel React Best Practicessanity-io/sanity | 6.4k | 129 repos | ~1.6k | Automated safety check: Pass | MIT | |
| React Best Practicesmastra-ai/mastra | 29k | — | ~1.9k | Automated safety check: Pass | Custom licence | |
| South Admin CRUD Generatorsouthliu/south-admin-react | 580 | — | ~1.7k | Automated safety check: Pass | MIT |
Luciole-Studio/Misaka-Agent
RL post-training for LLMs with Megatron and SGLang. An agent skill from Luciole-Studio/Misaka-Agent.
diegosouzapw/awesome-omni-skills
Vercel React Best Practices workflow skill. An agent skill from diegosouzapw/awesome-omni-skills.
sanity-io/sanity
React and Next.js performance optimization guidelines from Vercel Engineering.
mastra-ai/mastra
React performance optimization guidelines from Mastra Engineering.
southliu/south-admin-react
Generates a full CRUD page - page component, data model and API client - from the south-admin-react project's own VS Code snippet templates.
langflow-ai/langflow
Review frontend code (.tsx, .ts, .js files) for quality, performance, and correctness against Langflow's frontend conventions.
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
Migrate a legacy-template SGLang cookbook page (monolithic per-model generator under docs/src/snippets/autoregressive/) onto the config-driven template (shared deployment.jsx / playground.jsx…. Cookbook Migrate Model is an agent skill from sgl-project/sglang.jsx engines + per-model config).
Cookbook Migrate Model fits situations like: asked to migrate; port an existing cookbook page — NOT for brand-new models (use cookbook-add-model for those).
Run `npx skills add sgl-project/sglang --skill cookbook-migrate-model -a claude-code`. Or copy the skill folder (.agents/skills/cookbook-migrate-model in sgl-project/sglang) into .claude/skills/cookbook-migrate-model in your project. Claude Code loads it when a task matches its description.
Run `npx skills add sgl-project/sglang --skill cookbook-migrate-model -a codex`. Or copy the skill folder (.agents/skills/cookbook-migrate-model in sgl-project/sglang) into .agents/skills/cookbook-migrate-model 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 cookbook-migrate-model -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/cookbook-migrate-model, .gemini/skills/cookbook-migrate-model, .github/skills/cookbook-migrate-model and .opencode/skills/cookbook-migrate-model in your project.
Going by SKILL.md and its folder, Cookbook Migrate Model needs the command-line tools its instructions call (git and gh). Our summary lists: Docker.
SKILL.md contains no URLs. Its commands use git and gh, which can reach the network depending on how they are called. 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.
Cookbook Migrate Model 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 4k tokens (SKILL.md is roughly 16k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 5.9k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Cookbook Migrate Model: Slime (Luciole-Studio/Misaka-Agent, 158 stars), React Best Practices V2 (diegosouzapw/awesome-omni-skills, 159 stars), Vercel React Best Practices (sanity-io/sanity, 6.4k stars) and React Best Practices (mastra-ai/mastra, 29k 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.