@d-wwei/nim
BInvoke 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.
Install
agr install @d-wwei/nim --target claudeWrites 2 files into .claude/skills/, pinned to git-7e73933a.
- .claude/skills/nim/README.md
- .claude/skills/nim/SKILL.md
Document
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
- Get API Key: Register at build.nvidia.com and get your
nvapi-...key. - Set Environment Variable:
export NVIDIA_API_KEY="your_api_key_here"
Usage
查看可用模型
python3 scripts/nim_call.py list
调用模型
python3 scripts/nim_call.py <model_alias> "<prompt>"
支持的常用别名
(运行 list 命令查看完整实时列表)
glm5,kimi,r1-qwen-32b,llama33,phi4,qwq
Integration with CLAUDE.md
Add this to your project's CLAUDE.md:
- /nim <model> <prompt>: Call NVIDIA NIM models.
Trustgrade B
- passBody integrity
Whether the stored document is plausibly the kind of file the artifact declares, rather than something fetched by mistake.
- passType matchnot applicable to this artifact type
Whether the artifact is really the kind of thing its metadata claims it is.
- passFreshness
How long since the source repository was last pushed to.
- passPrompt injection
Scans the artifact's own text for instructions aimed at your agent rather than at you.
- warnLicenseno SPDX license detected
Whether the source repository declares an SPDX license permissive enough to redistribute.
How the grade is calculated
Each check contributes 0 points when it passes, 1 when it warns, and 2 when it fails. The total maps to a letter:
- Aevery check passed
- Bone warning
- Ctwo warnings
- Dprompt injection or body integrity failed, or three warnings
- Fone of those failed, and something else is wrong
These are automated hygiene checks, not a security audit, and not a dependency or vulnerability scan. A grade of A means nothing was flagged — not that the artifact is safe.
Versions
git-7e73933a49392026-07-30