A collection of Claude Code / Codex skills for AI-agent-driven SGLang development on Huawei Ascend NPU.
These skills encode the institutional knowledge needed to develop, debug, and optimize the SGLang LLM serving engine and its Ascend NPU kernel library (sgl-kernel-npu) — so an AI coding agent can act as a competent NPU engineer without you having to re-explain the environment every session.
The repository currently contains 61 top-level skills and 82 SKILL.md playbooks, including nested ATB, OpenMMLab, and SSH workflow skills. The SGLang and Ascend skill set is synchronized from the local Codex skill library.
| Area | Skills | Purpose |
|---|---|---|
| SGLang | sglang-skill, sglang-task-discovery, sglang-feature-tutorial, sglang-model-tutorial, sglang-debug-ascend, sglang-accuracy-debugging, sglang-npu-adapter, sglang-ascend-to-main-port, sglang-perfermance-ascend, sglang-pr-describer, sglang-pr-summary, sglang-ascend-pr-review, sglang-benchmark-result-analysis |
Contribution discovery, tutorials, development, remote validation, accuracy/performance debugging, model adaptation, upstream porting, PR drafting/analysis/review, and benchmark comparison. |
| Ascend platform | ascend-docker, ascend-a5-optimization, ascend-profiling-anomaly, npu-smi, hccl-test |
Containers, A5 optimization, profiling analysis, NPU health checks, and collective-communication testing. |
| AscendC / CANN | ascendc-operator-dev, ascendc-operator-code-review, cann-a5-operator-compile, cann-operator-env-config |
End-to-end operator development, review, compilation, precision/performance work, and CANN environment setup. |
| ATB / ACLNN | ascend-transformer-boost, cann-nnal-installer |
ATB operator workflows, ACLNN migration, CSV testing, debugging, and NNAL installation. |
| Triton / CATLASS | add-triton-npu-kernel, triton-operator-dev, catlass-operator-dev, vector-triton-ascend-ops-optimizer |
NPU kernels and operators: design, generation, testing, correctness evaluation, and optimization. |
| Model ecosystem | drivingsdk-ascend-model-migration, npu-adapter-reviewer, vllm-ascend-deploy, import-vllm-ascend-operator |
Model migration/training, OpenMMLab installation, NPU adaptation review, vLLM-Ascend deployment, and operator import. |
| Research | ai-infra-paper-reading |
Evidence-backed three-pass reading of AI infrastructure papers, causal performance analysis, and SGLang/NPU engineering takeaways. |
All skills are executed by Claude Code or Codex. Classify them by who consumes the output, not by who starts the conversation. A skill may be useful in both workflows, but its primary output determines the recommended category.
| Output audience | Definition | Representative skills | Typical result |
|---|---|---|---|
| Developers | The output is a report, explanation, comparison, review, or recommendation that a developer uses to decide what to implement, prioritize, validate, or discuss next. | sglang-task-discovery, sglang-feature-tutorial, sglang-model-tutorial, sglang-pr-describer, sglang-pr-summary, sglang-ascend-pr-review, sglang-benchmark-result-analysis, and ai-infra-paper-reading |
Contribution backlog, design explanation, PR draft/review, benchmark comparison, or paper-derived engineering decision. |
| AI agents | The output is an implementation, environment change, test result, deployment, migration, or debugging action that closes a concrete engineering task. | sglang-skill, sglang-debug-ascend, sglang-accuracy-debugging, sglang-npu-adapter, sglang-ascend-to-main-port, ascend-docker, npu-smi, hccl-test, and the AscendC/Triton operator development skills |
NPU environment setup, code migration or implementation, focused validation, performance debugging, or deployment artifact. |
Engineers can invoke a skill explicitly by name (for example, use sglang-ascend-pr-review to review PR #123) or describe the task normally and let the coding agent select it from the frontmatter description.
.\install_skill.ps1This installs the local repository's complete skills/ directory to both ~/.claude/skills/ and ~/.codex/skills/.
To install directly from GitHub instead, use:
.\install_skill.ps1 https://github.com/AndyLi429/sgl-auto-drive-npuThis fetches every skill under skills/ from the GitHub API and writes each SKILL.md to both ~/.claude/skills/<name>/ and ~/.codex/skills/<name>/.
Clone the repo and copy the skill directories you need:
git clone https://github.com/AndyLi429/sgl-auto-drive-npu.git
cp -r sgl-auto-drive-npu/skills/sglang-skill ~/.claude/skills/
# repeat for other skillsIf you use both Claude Code and Codex, keep their skill sets in sync:
bash sync_skills_claude_to_codex.sh- Claude Code CLI (skills are invoked automatically when relevant)
- SSH access to an Ascend 910C node with Docker (for
sglang-debug-ascend) - CANN toolkit and
torch_npuinstalled inside the container (for NPU validation)
Each skill is a SKILL.md file placed in ~/.claude/skills/<name>/. Claude Code loads skills at session start and invokes the right one based on what you ask. No manual activation needed — just describe what you want to do and the agent picks up the correct playbook.
Note
Skills are local to your machine. Nothing in this repo runs automatically — the agent reads and follows the skill instructions only when you trigger it in a conversation.
- sgl-project/sglang — upstream SGLang serving engine
- Ascend/sgl-kernel-npu — Ascend NPU kernel library for SGLang