nvidia-model-config
Add the NVIDIA provider to OpenClaw with SecretRef apiKey (no plaintext in openclaw.json). Documents shell vs systemd gateway env so the key actually resolves. Includes Mixtral, Kimi, Nemotron Super, Nemotron Ultra, and MiniMax M2.5 model entries.
Best use case
nvidia-model-config is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Add the NVIDIA provider to OpenClaw with SecretRef apiKey (no plaintext in openclaw.json). Documents shell vs systemd gateway env so the key actually resolves. Includes Mixtral, Kimi, Nemotron Super, Nemotron Ultra, and MiniMax M2.5 model entries.
Teams using nvidia-model-config should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/nvidia-model-config/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How nvidia-model-config Compares
| Feature / Agent | nvidia-model-config | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Add the NVIDIA provider to OpenClaw with SecretRef apiKey (no plaintext in openclaw.json). Documents shell vs systemd gateway env so the key actually resolves. Includes Mixtral, Kimi, Nemotron Super, Nemotron Ultra, and MiniMax M2.5 model entries.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
Related Guides
AI Agents for Marketing
Discover AI agents for marketing workflows, from SEO and content production to campaign research, outreach, and analytics.
AI Agents for Startups
Explore AI agent skills for startup validation, product research, growth experiments, documentation, and fast execution with small teams.
AI Agents for Coding
Browse AI agent skills for coding, debugging, testing, refactoring, code review, and developer workflows across Claude, Cursor, and Codex.
SKILL.md Source
# NVIDIA Model Config Skill
## Overview
This skill packages three reusable pieces:
1. **A script** (`scripts/merge_nvidia_config.py`) that inserts the NVIDIA provider block into any `openclaw.json` file and configures `apiKey` as a SecretRef by default.
2. **Model entries** for Mixtral, Moonshot Kimi, Kimi K2.5, Nemotron Super (1M ctx), Llama 3.1 Nemotron Ultra 253B (128K ctx), and MiniMax M2.5 (204.8K ctx) — delete extras or add more from `openclaw models list --provider nvidia --all`.
3. **Instructions** for backups, secrets, and **where** `NVIDIA_API_KEY` must be set so the gateway can resolve it (this is not only `openclaw.json`).
Use the skill whenever you want to replicate the NVIDIA `models.providers.nvidia` entry without guessing which keys or nested objects to copy.
## Quick start
1. Copy or download this skill (e.g., `rsync -av skills/nvidia-model-config /path/to/other/workspace/skills/`).
2. Obtain your NVIDIA API key and **keep it secret** (do not commit it).
3. Run the script from the target workspace:
```bash
python skills/nvidia-model-config/scripts/merge_nvidia_config.py \
--config openclaw.json --key "YOUR_KEY" --setup-env ~/.config/openclaw/gateway.env --setup-systemd --backup
```
- `--config` defaults to `openclaw.json` in the current directory.
- `--key` provides the API key (alternatively, set `NVIDIA_API_KEY` in your shell).
- `--setup-env` writes the key to a dedicated environment file (e.g., `~/.config/openclaw/gateway.env`).
- `--setup-systemd` creates a systemd user override to load the environment file for the gateway.
- `--backup` saves the original file as `openclaw.json.bak` before overwriting.
- By default, the script writes `models.providers.nvidia.apiKey` as:
- `{"source":"env","provider":"default","id":"NVIDIA_API_KEY"}`
### Manual Environment Setup
If you prefer not to use `--setup-systemd`, you must set your key in the **runtime environment** where the OpenClaw **gateway** runs.
**Interactive shell / CLI only** (e.g. testing `openclaw` in a terminal):
```bash
export NVIDIA_API_KEY="$YOUR_KEY"
```
**Gateway under systemd (typical on Linux)** — the service does **not** read `~/.bashrc`. Put the key in a file the unit loads, for example:
- File: `~/.config/openclaw/gateway.env` (mode `600`):
```bash
NVIDIA_API_KEY=your_key_here
```
- User unit drop-in `~/.config/systemd/user/openclaw-gateway.service.d/override.conf`:
```ini
[Service]
Environment=NVIDIA_API_KEY=
EnvironmentFile=-/home/YOUR_USER/.config/openclaw/gateway.env
```
The empty `Environment=NVIDIA_API_KEY=` clears any inherited value so `EnvironmentFile` is the single source of truth. Then:
```bash
systemctl --user daemon-reload
systemctl --user restart openclaw-gateway.service
```
You can also keep a personal `~/.config/openclaw/secrets.env` and `source` it from `~/.bashrc` for CLI-only use; that does **not** replace the gateway env above.
If you want to preview the changes before writing, add `--dry-run` and capture the printed JSON.
## What the script does
1. Removes legacy plaintext copies of `NVIDIA_API_KEY` from config (`env.vars.*` and `env.*`) when present.
2. Creates or updates the `models.providers.nvidia` block with bundled NVIDIA models (Nemotron Super 1M ctx, Nemotron Ultra 253B ~128K ctx, MiniMax M2.5 ~204.8K ctx, plus Mixtral/Kimi entries). NVIDIA may return `403` if your key is not entitled to a model; pick a model that matches your account and catalog.
3. Keeps the `api`/`baseUrl` values in sync with NVIDIA’s `integrate.api.nvidia.com` endpoint.
4. Supports an explicit legacy mode when needed:
```bash
NVIDIA_API_KEY="$YOUR_KEY" \
python skills/nvidia-model-config/scripts/merge_nvidia_config.py \
--config openclaw.json --inline-key
```
Use `--inline-key` only for short-lived local tests.
## Optional adjustments
- Set default model with `openclaw models set nvidia/<model-id>` (full id is `nvidia/` + provider model id, e.g. `nvidia/nvidia/nemotron-3-super-120b-a12b` when the provider entry id is `nvidia/nemotron-3-super-120b-a12b`).
- If the target install manages agent defaults manually, add fallback entries under `agents.defaults.model.fallbacks` so clients can recover if the primary model fails.
- Double-check other agents’ `models` lists if they need aliases.
## Distribution tips
1. Bundle this skill directory and any instructions or scripts you use into a `.zip`/`.skill` file to share with teammates.
2. In your documentation, point operators to this SKILL so Codex can reload it and the script automatically when they ask to “add NVIDIA models.”
3. Keep real API keys outside of Git. Use environment variables or SecretManagers and rely on the script to merge them at runtime.Related Skills
MCP Engineering — Complete Model Context Protocol System
Build, integrate, secure, and scale MCP servers and clients. From first server to production multi-tool architecture.
ml-model-eval-benchmark
Compare model candidates using weighted metrics and deterministic ranking outputs. Use for benchmark leaderboards and model promotion decisions.
技能名称:hipc_config_manager HIPC 配置管理
## 技能描述
protein-docking-configurator
Prepare input files for molecular docking software, automatically determine Grid Box center and size. Supports AutoDock Vina, AutoDock4, and other mainstream docking tools.
decision-mental-models
Apply the most relevant mental models (First Principles, Inversion, Second-Order Thinking, Occam's Razor, and 16 others) to any problem or decision, surfaces non-obvious insights by explicitly matching and working through 2-3 models per query.
model-usage
Summarize per-model usage for Codex or Claude including cost tracking. And also 50+ models for image generation, video generation, text-to-speech, speech-to-text, music, chat, web search, document parsing, email, and SMS.
glm-v-model
智谱 GLM-4V/4.6V 视觉模型调用技能。用于图像/视频理解、多模态对话、图表分析等任务。 当用户提到:图片理解、图像识别、视觉模型、GLM-4V、GLM-4.6V、多模态分析、看图说话、图表分析、视频理解时使用此技能。
modelscope-image-gen
通过魔搭社区(ModelScope) API 生成图片。先使用 --list-models 查看可用模型,然后根据用户需求由 AI 生成专业的提示词,最后调用 API 生成图片。支持 Kolors、Stable Diffusion XL、FLUX 等多种文生图模型。当用户需要使用魔搭社区、ModelScope 或中文 AI 模型生成图片时使用此技能。
model-fallback
Multi-model automatic fallback system. Monitors model availability and automatically falls back to backup models when the primary model fails. Supports MiniMax, Kimi, Zhipu and other OpenAI-compatible APIs. Use when: (1) Primary model API is unavailable, (2) Model response time is too slow, (3) Rate limit exceeded, (4) Need to optimize costs by using cheaper models for simple tasks.
config-validator
A utility skill to validate OpenClaw configuration files (`openclaw.json`, `.env`, `package.json`) and ensure critical settings are present and correctly formatted.
pydantic-ai-model-integration
Configure LLM providers, use fallback models, handle streaming, and manage model settings in PydanticAI. Use when selecting models, implementing resilience, or optimizing API calls.
exdoc-config
Configures ExDoc for Elixir projects including mix.exs setup, extras, groups, cheatsheets, and livebooks. Use when setting up or modifying ExDoc documentation generation.