modelopt
v0.1.0Skills for Model Optimizer development, quantization, deployment, and evaluation.
By NVIDIA CorporationLicense: Apache-2.03.7k GitHub starsUpdated 42 minutes ago
Directory evidence
- Runtimes
- Codex and Claude Code
- Parsed components
- 19 skill or MCP entries
- Source updated
- Sep 3, 2026
- Manifest status
- Canonical path parsed
The directory validates manifest shape and source location. It does not execute the plugin or provide a security endorsement. Review the indexing methodology →
Install modelopt for Codex and Claude Code
codex plugin marketplace add NVIDIA/Model-Optimizer
codex plugin marketplace upgrade modelopt
codex plugin add modelopt@modeloptPaste and run these commands in a terminal with Codex. They add and refresh the modelopt catalog, then install this plugin.
Compatibility: the page URL and API slug “modelopt” remain stable.
- Codex:
modelopt@agent-plugin-marketplace→modelopt@modelopt
The installer fetches third-party code from the source repository shown on this page. This directory validates manifest structure and source location, but does not perform a security audit; review the manifest, components, and source before installing.
Get the source manually
git clone https://github.com/NVIDIA/Model-OptimizerClone the source repository, then follow its setup instructions to add the plugin to a compatible client. The plugin root is plugins/modelopt/.
Plugin files
├── .codex-plugin/plugin.json├── .claude-plugin/plugin.json├── skills/accessing-mlflow/SKILL.md├── skills/benchmark-model-kernels/SKILL.md├── skills/common/SKILL.md├── skills/compare-results/SKILL.md├── skills/day0-release/SKILL.md├── skills/debug/SKILL.md├── skills/deployment/SKILL.md├── skills/eagle3-new-model/SKILL.md├── skills/eagle3-review-logs/SKILL.md├── skills/eagle3-triage/SKILL.md├── skills/eagle3-validate/SKILL.md├── skills/evaluation/SKILL.md├── skills/launching-evals/SKILL.md├── skills/monitor/SKILL.md├── skills/ptq/SKILL.md├── skills/qad/SKILL.md├── skills/quant-recipe-search/SKILL.md├── skills/release-cherry-pick/SKILL.md└── .mcp.json
Included Skills18
Query and browse evaluation results stored in MLflow. Use when the user wants to look up runs by invocation ID, compare metrics across models, fetch artifacts (configs, logs, results), or set up the MLflow MCP server. ALWAYS triggers on mentions of MLflow, experiment results, run comparison, invocation IDs in the context of results, or MLflow MCP setup.
Inspect Hugging Face decoder layers on meta tensors and plan or run per-rank BF16, FP8, and NVFP4 GEMM or fused-MoE microbenchmarks with the bundled scripts and a local FlashInfer checkout. Use when choosing a model, GPU, TP, EP, or M/token-concurrency sweep; deriving common fused QKV and gate/up shapes without loading checkpoint weights; or using FlashInfer benchmark utilities. Do not use for end-to-end server throughput or request latency.
Shared ModelOpt support files. Use only when another ModelOpt skill directs you here.
Establish baseline-vs-candidate evaluation plans, delegate missing evaluations, compare validated results, and decide quantization feasibility. Use when the user asks to compare baseline vs quantized runs, explain an accuracy drop/regression, verify whether a quantized checkpoint is acceptable, or compare NEL/MLflow evaluation outputs. Do NOT use for generic single-model evaluation without comparison intent (use evaluation), live NEL status/debugging (use launching-evals), or generic MLflow browsing without a comparison goal (use accessing-mlflow).
Deterministic end-to-end driver for day-0 quantized-checkpoint releases — chains PTQ → evaluation → comparison with enforced gates between stages (the evaluation stage deploys the checkpoint itself), and returns a publish decision (ACCEPT / REGRESSION / ANOMALOUS / INFEASIBLE). Use when the user asks to "release a model at day-0", "quantize and validate model X is within N% of baseline and tell me if it's publishable", or "run the full day-0 workflow". Do NOT use for single-stage requests — quantizing only (use ptq), serving only (use deployment), evaluating only (use evaluation), or comparing two existing runs (use compare-results).
Run commands inside a remote Docker container via the file-based command relay (tools/debugger). Use when the user says "run in Docker", "run on GPU", "debug remotely", "run test in container", "check nvidia-smi", "run pytest in Docker", or needs to execute any command inside a Docker container that shares the repo filesystem. Requires the user to have started server.sh inside the container first.
Serve a quantized or unquantized LLM checkpoint as an OpenAI-compatible API endpoint using vLLM, SGLang, or TRT-LLM. Use when user says "deploy model", "serve model", "start vLLM server", "launch SGLang", "TRT-LLM deploy", "AutoDeploy", "benchmark throughput", "serve checkpoint", or needs an inference endpoint from a HuggingFace or ModelOpt-quantized checkpoint. Do NOT use for quantizing models (use ptq) or evaluating accuracy (use evaluation).
Add a new model to the EAGLE3 offline pipeline. Generates an hf_offline_eagle3.yaml launcher config for a new model checkpoint, choosing the right hidden state dump backend (TRT-LLM / HF / vLLM) and GPU configuration. Use when user wants to run EAGLE3 on a model that does not yet have a YAML in tools/launcher/examples/ or asks how to configure the pipeline for a new checkpoint.
Review EAGLE3 pipeline experiment logs from the launcher's experiments/ directory. Summarizes pass/fail status for all 4 tasks, diagnoses failures with root causes and fixes, and flags warnings. Use when the user asks to review job logs, check experiment results, or diagnose why a specific task failed.
Triage a failed EAGLE3 pipeline run. Identifies which step failed (data synthesis, hidden state dump, training, or benchmark), diagnoses root cause from logs, and suggests fixes. Use when user reports an EAGLE3 pipeline failure or asks why a specific step failed. Also helps debug new model support issues.
Validate that an EAGLE3 pipeline run completed successfully end-to-end. Checks all 4 steps produced expected artifacts, verifies acceptance rate meets threshold (>= 2.1), and produces a summary report. Use when user wants to verify a pipeline run or check benchmark results.
Evaluates accuracy of quantized or unquantized LLMs using NeMo Evaluator Launcher (NEL). Triggers on "evaluate model", "benchmark accuracy", "run MMLU", "evaluate quantized model", "run nel". Handles deployment, config generation, and evaluation execution. Not for quantizing models (use ptq), deploying/serving models (use deployment), or comparing completed baseline-vs-quantized results (use compare-results).
Run, monitor, analyze, and debug LLM evaluations via nemo-evaluator-launcher. Covers running evaluations, checking status and live progress, debugging failed runs, exporting artifacts and logs, and analyzing results. ALWAYS triggers on mentions of running evaluations, checking progress, debugging failed evals, analyzing or analysing runs or results, run directories or artifact paths on clusters, Slurm job issues, invocation IDs, or inspecting logs (client logs, server logs, SSH to cluster, tail logs, grep logs). Do NOT use for creating or modifying evaluation configs.
Monitor submitted jobs (PTQ, evaluation, deployment) on SLURM clusters. Use when the user asks "check job status", "is my job done", "monitor my evaluation", "what's the status of the PTQ", "check on job <slurm_job_id>", or after any skill submits a long-running job. Also triggers on "nel status", "squeue", or any request to check progress of a previously submitted job.
Use when the user asks to "quantize a model", "run PTQ", "post-training quantization", "NVFP4 quantization", "FP8 quantization", "INT8 quantization", "INT4 AWQ", "quantize LLM", "quantize MoE", "quantize VLM", or needs to produce a quantized HuggingFace checkpoint from a pretrained model using ModelOpt. Do NOT use for multi-candidate recipe exploration or optimization (use quant-recipe-search).
Run explicitly requested ModelOpt Quantization-Aware Distillation (QAD) on Slurm through Megatron Bridge to recover a measured BF16-to-PTQ accuracy gap. Use only when the user explicitly asks for QAD, including its topology, data preparation, Slurm launch, resume, checkpoint export, or recovery decisions.
Use when the user asks to find, search for, or optimize the best quantization recipe for a model, including direct requests like "find the best quantization recipe and generate a PTQ checkpoint." Guides the multi-candidate loop: choose compute-vs-memory success metrics, select ModelOpt recipe baselines, design AutoQuant/manual recipe deltas, interpret sensitivity, and decide next candidates. Do NOT use for a single known PTQ recipe run (use ptq), serving (use deployment), creating/running evals (use evaluation or launching-evals), monitoring jobs (use monitor), MLflow browsing (use accessing-mlflow), or comparing completed baseline-vs-candidate scores only (use compare-results).
Cherry-pick merged PRs labeled for a release branch into that branch, then open a PR and apply the cherry-pick-done label. Use when asked to "cherry-pick PRs for release/X.Y.Z", "pick PRs to release branch", or "cherry-pick labeled PRs".
MCP servers1
- command
- uvx
- args
- --from git+https://github.com/NVIDIA/Model-Optimizer.git#subdirectory=tools/mcp modelopt-mcp
Plugin manifests2
{
"name": "modelopt",
"version": "0.1.0",
"description": "Skills for Model Optimizer development, quantization, deployment, and evaluation.",
"author": {
"name": "NVIDIA Corporation",
"url": "https://github.com/NVIDIA/Model-Optimizer"
},
"homepage": "https://github.com/NVIDIA/Model-Optimizer",
"repository": "https://github.com/NVIDIA/Model-Optimizer",
"license": "Apache-2.0",
"keywords": [
"modelopt",
"quantization",
"evaluation",
"deployment",
"llm"
],
"skills": "./skills/",
"mcpServers": "./.mcp.json",
"interface": {
"displayName": "ModelOpt",
"shortDescription": "Optimize, deploy, and evaluate models.",
"longDescription": "Provides Model Optimizer workflows for post-training quantization, deployment, evaluation, result comparison, and release validation.",
"developerName": "NVIDIA",
"category": "Developer Tools",
"capabilities": [
"Interactive",
"Write"
],
"defaultPrompt": [
"Quantize this model with ModelOpt.",
"Deploy and evaluate this checkpoint.",
"Compare the baseline and quantized results."
],
"brandColor": "#76B900"
}
}{
"$schema": "https://json.schemastore.org/claude-code-plugin-manifest.json",
"name": "modelopt",
"displayName": "ModelOpt",
"version": "0.1.0",
"description": "Skills for Model Optimizer development, quantization, deployment, and evaluation.",
"author": {
"name": "NVIDIA Corporation"
},
"homepage": "https://github.com/NVIDIA/Model-Optimizer",
"repository": "https://github.com/NVIDIA/Model-Optimizer",
"license": "Apache-2.0",
"keywords": [
"modelopt",
"quantization",
"evaluation",
"deployment",
"llm"
],
"mcpServers": {
"modelopt": {
"command": "uvx",
"args": [
"--from",
"git+https://github.com/NVIDIA/Model-Optimizer.git#subdirectory=tools/mcp",
"modelopt-mcp"
]
}
}
}For maintainers
If you maintain this plugin, link to this source-backed listing from your README so users can review its manifest and indexed components.
[modelopt on Agent Plugins Marketplace](https://pluginsmp.com/plugins/modelopt)