360 Secure SkillHub
360 安全技能中心

NVIDIA NIM Skill

该 Skill 通过 Python 脚本和 NVIDIA_API_KEY 环境变量调用 NVIDIA NIM API,把提示词转发给 GLM-5、Kimi-k2.5、DeepSeek R1、Llama 3.1、Phi-4 等模型并返回文本,用于委派任务、节省主代理 token。需要网络和 API 密钥;未声明多轮对话、模型参数自定义或密钥托管能力。

分类:效率
d-wwei
d-wwei
热度 46.97
最近更新 2026-05-18 12:07:10

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add d-wwei/openclaw-nim-skill
兼容性
通用兼容
联网要求
需要联网
数据出网
必须出网
Metadata
name
nim
description
Invoke various LLMs (GLM-5, Kimi-k2.5, Llama 3.1, etc.) via NVIDIA NIM API to save main agent tokens and leverage specialized model capabilities.

NVIDIA NIM Skill for OpenClaw

This skill allows OpenClaw to delegate tasks to external models hosted on the NVIDIA NIM platform.

Setup

  1. Get API Key: Register at build.nvidia.com and get your nvapi-... key.
  2. Set Environment Variable:
    export NVIDIA_API_KEY="your_api_key_here"
    

Usage

Direct Command

python3 scripts/nim_call.py <model_alias> "<prompt>"

Supported Aliases

  • glm5: Zhipu AI GLM-5
  • kimi: Moonshot Kimi-k2.5
  • r1: DeepSeek R1 (Llama-8B Distill)
  • llama: Llama 3.1 405B
  • phi: Microsoft Phi-4

Integration with CLAUDE.md

Add this to your project's CLAUDE.md:

- /nim <model> <prompt>: Call NVIDIA NIM models.