Install any skill in seconds. Free to start, no credit card required.
Get Started Free →ONNX Runtime — cross-platform ML inference optimizer. Convert PyTorch, TensorFlow, scikit-learn models to ONNX. GPU, CPU, and mobile acceleration. Quantization, graph optimization, and custom ops.
.claude/skills/mkurman-onnx-runtime/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-01 | ✗→✓ | ▲ Improved | 13% | 0% |
| case-16 | ✓→✗ | ▼ Worse | 30% | 0% |
| case-02 | ✓→✓ | = Same ✓ | 16% | 0% |
| case-03 | ✓→✓ | = Same ✓ | -31% | 0% |
| case-04 | ✓→✓ | = Same ✓ | 16% | 0% |
ONNX Runtime is a cross-platform ML inference engine that runs models in the ONNX format. Supports CPU, GPU (CUDA, DirectML), and mobile inference with graph optimizations, quantization, and custom operators.
bashuv pip install onnxruntime # CPU uv pip install onnxruntime-gpu # CUDA # Convert first: from transformers, PyTorch, etc.
pythonimport onnxruntime as ort import numpy as np session = ort.InferenceSession("model.onnx") input_name = session.get_inputs()[0].name output_name = session.get_outputs()[0].name result = session.run([output_name], {input_name: np.random.randn(1, 3, 224, 224).astype(np.float32)}) print(result[0].shape)
python# GPU inference session = ort.InferenceSession("model.onnx", providers=["CUDAExecutionProvider"]) # Enable optimizations options = ort.SessionOptions() options.graph_optimization_level = ort.GraphOptimizationLevel.ORT_ENABLE_ALL session = ort.InferenceSession("model.onnx", sess_options=options)
pythonfrom onnxruntime.quantization import quantize_dynamic, QuantType quantize_dynamic("model.onnx", "model_quantized.onnx", weight_type=QuantType.QInt8) # ~4x smaller, minimal accuracy loss
| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-01 | fail→pass | 6,717 | 5,513 | -18% | 1 | 1 | 0% | 1,349 | 1,524 | +13% | 0 | 0 | — |
case-02 | pass→pass | 3,499 | 1,833 | -48% | 1 | 1 | 0% | 577 | 671 | +16% | 0 | 0 | — |
case-03 | pass→pass | 6,119 | 2,115 | -65% | 1 | 1 | 0% | 1,025 | 707 | -31% | 0 | 0 | — |
case-04 | pass→pass | 5,622 | 4,053 | -28% | 1 | 1 | 0% | 934 | 1,083 | +16% | 0 | 0 | — |
case-05 | pass→pass | 3,332 | 2,605 | -22% | 1 | 1 | 0% | 561 | 845 | +51% | 0 | 0 | — |
case-06 | pass→pass | 2,460 | 2,167 | -12% | 1 | 1 | 0% | 410 | 754 | +84% | 0 | 0 | — |
case-07 | pass→pass | 5,801 | 4,318 | -26% | 1 | 1 | 0% | 1,098 | 1,135 | +3% | 0 | 0 | — |
case-08 | pass→pass | 4,405 | 2,707 | -39% | 1 | 1 | 0% | 842 | 814 | -3% | 0 | 0 | — |
case-09 | pass→pass | 3,966 | 2,500 | -37% | 1 | 1 | 0% | 637 | 801 | +26% | 0 | 0 | — |
case-18 | pass→pass | 5,944 | 18,340 | +209% | 1 | 1 | 0% | 1,041 | 887 | -15% | 0 | 0 | — |
case-10 | pass→pass | 4,633 | 2,823 | -39% | 1 | 1 | 0% | 838 | 860 | +3% | 0 | 0 | — |
case-11 | pass→pass | 6,008 | 3,537 | -41% | 1 | 1 | 0% | 1,022 | 1,022 | 0% | 0 | 0 | — |
case-12 | pass→pass | 6,856 | 4,821 | -30% | 1 | 1 | 0% | 1,272 | 1,229 | -3% | 0 | 0 | — |
case-13 | pass→pass | 7,319 | 4,257 | -42% | 1 | 1 | 0% | 1,276 | 1,169 | -8% | 0 | 0 | — |
case-14 | pass→pass | 12,238 | 11,722 | -4% | 1 | 1 | 0% | 2,284 | 2,506 | +10% | 0 | 0 | — |
case-15 | pass→pass | 7,176 | 5,517 | -23% | 1 | 1 | 0% | 1,515 | 1,495 | -1% | 0 | 0 | — |
case-16 | pass→fail | 3,879 | 2,678 | -31% | 1 | 1 | 0% | 635 | 828 | +30% | 0 | 0 | — |
case-17 | pass→pass | 3,472 | 3,726 | +7% | 1 | 1 | 0% | 593 | 1,077 | +82% | 0 | 0 | — |
case-19 | pass→pass | 3,155 | 3,102 | -2% | 1 | 1 | 0% | 565 | 902 | +60% | 0 | 0 | — |
case-20 | pass→pass | 2,121 | 1,690 | -20% | 1 | 1 | 0% | 321 | 582 | +81% | 0 | 0 | — |
case-21 | pass→pass | 7,133 | 5,571 | -22% | 1 | 1 | 0% | 1,450 | 1,563 | +8% | 0 | 0 | — |
case-22 | pass→pass | 4,851 | 2,781 | -43% | 1 | 1 | 0% | 982 | 850 | -13% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 22 cases were attempted. The headline lift of 0 percentage points is the difference between those two pass rates over the 22 comparable cases. 1 case got worse with the skill loaded, and it is included in that figure.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
Other measured skills in the registry, with their headline benchmark lift.