TopRank Skills

Home / Claw Skills / Autres / nim
Official OpenClaw rules 15%

nim

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.

Stars

0

Installs

0

Status

ACTIVE

Visibility

PUBLIC

安装方式

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 nim 技能。 若已安装,则直接安装 nim 技能。

Overview

Skill Key
d-wwei/openclaw-nim-skill
Author
d-wwei
Source Repo
openclaw/skills
Version
-
Source Path
skills/d-wwei/openclaw-nim-skill
Latest Commit SHA
050b6a49fe4522f3c3241cff7708f05c10f01df0

Extracted Content

SKILL.md excerpt

# 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](https://build.nvidia.com) and get your `nvapi-...` key.
2. **Set Environment Variable**:
   ```bash
   export NVIDIA_API_KEY="your_api_key_here"
   ```

## Usage

### Direct Command
```bash
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`:
```markdown
- /nim <model> <prompt>: Call NVIDIA NIM models.
```

README excerpt

# OpenClaw NVIDIA NIM Skill

🚀 **Token-Saving Superpower for OpenClaw/Claude Code**

This skill integrates the **NVIDIA NIM (Inference Microservices)** platform into your OpenClaw environment. It allows you to "outsource" heavy tasks like summarization, long-form explanation, or deep reasoning to specialized models (GLM-5, Kimi-k2.5, DeepSeek R1, etc.) for FREE, saving up to 90%+ of your main agent's context tokens.

## 🌟 Features

- **Multi-Model Support**: Switch between top Chinese and Global models instantly.
- **Zero Dependencies**: Pure Python implementation using `urllib`.
- **Token Efficiency**: Keeps your main conversation lean by handling long inputs/outputs externally.

## 📦 Installation

1. Clone this repo into your `skills/` directory.
2. Get your free API Key from [NVIDIA Build](https://build.nvidia.com/).
3. Add `export NVIDIA_API_KEY="your-key"` to your `.zshrc` or `.bashrc`.

## 🛠 Usage

In your OpenClaw session:
> "Use /nim with kimi to summarize this long file: [path]"

Or via CLI:
```bash
python3 scripts/nim_call.py kimi "Summarize the history of AI"
```

## 📜 License
MIT

Related Claw Skills