Moe Swarm โ Development skill for Claude Code
Claude Code agents that optimize CUDA/Triton kernels.
How to install Moe Swarm
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open neycyanshi/moe-swarm and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Moe Swarm does
Claude Code agents that optimize CUDA/Triton kernels. DeepSeek-V3 FP8 MoE: 3.17x faster than FlashInfer's CUTLASS.
Alternatives in Development
- Claude Code Rust โ ๐ Rust ๅ จ้้ๆ็ Claude Code - ๆง่ฝๆๅ 2.5x๏ผไฝ็งฏๅๅฐ 97% High-performance Rust implementation of Claude Code with 2.5x f 1.4k โ
- Claude Flow Swarm 625 โ
- Swarm Collect โ Collect and synthesize results from a completed swarm 508 โ
README
MoE-Swarm
Claude Code agents that optimize CUDA/Triton kernels. DeepSeek-V3 FP8 MoE: 3.17x faster than FlashInfer's CUTLASS.
Seven agents per round compete on the FP8 fused-MoE layer of DeepSeek-V3, on one NVIDIA H200. The speedup over `cutlass_fused_moe` is averaged over the 19 workloads of the [MLSys 2026 FlashInfer contest](https://github.com/flashinfer-ai/flashinfer-bench) (Track A), all 19 correct.
The repo holds the agent harness and the kernel it produced. The harness is built around this one kernel's spec; pointing it at another kernel means writing a new spec and roofline model for it.
Speedup is the mean of `baseline_latency / our_latency` over the 19 workloads, measured on one H200 with the SM clock locked at 1400 MHz. The contest's own baseline (TRT-LLM) runs only on Blackwell, so these numbers are not comparable with the contest leaderboard. On the largest prefill workload the call drops from 2383 to 1580 ยตs, with both GEMMs above 1 PFLOP/s.
Where the speed came from:
| step | score | what changed |
|---|---|---|
| PyTorch port of the reference | 0.13ร | dequantizes each expert's weights to bf16 before every matmul |
| Triton kernel, first agent rounds | 2.84ร | FP8 weights read from HBM once, no dequantized copy, fused SwiGLU and combine, no host syncs, CUDA graph |
| three more agent rounds | 3.01ร | launch overhead, tile shapes, the combine epilogue |
| hand-written CUDA prefill path | 3.17ร | warp-specialized TMA + wgmma for T โฅ 512 |
Most of the gain is the first jump, and it is about memory traffic. Before every matmul, v1 converted each active expert's FP8 weights into a bf16 copy in HBM: 1 byte read, 2 bytes writte
Related Skills
Vllm Turing
Turing (sm75) speedups for vLLM: Qwen3.8-27B W8A8 on 2x RTX 2080 Ti with custom CUDA kernels, long-context ver
Triton Flash Attention V2
Implement FlashAttention v2 kernels in Triton with online softmax, causal masking, GQA head routing, multi-str
Triton Fused Epilogue Kernels
Fuse epilogue ops (normalization, gating, residual, activation, dropout) into Triton attention/matmul kernels
Blender Skill
Blender automation marketplace for Claude Code โ blender-remote MCP, CAD import, materials, and Cycles/CUDA re
GPU Check
Check GPU availability + driver version โ ROCm untuk AMD RX 6700S, CUDA untuk NVIDIA GTX 1650.
Siphon
Siphon: a raw-C, zero-dependency GGUF inference engine for Linux. Runs giant models on modest hardware by spli
Related Agents
Fk Kernel Engineer
Writes and integrates GPU kernels (Triton, TileLang, CuTe DSL, CUDA C++, CUDA graphs, torch.compile) under can
Kernel Triton Specialist
Metal Expert
Read-only Metal reviewer. Use when reviewing custom GPU rendering, MTKView, shaders, compute kernels, command