Skip to content
Back to skills

Rei

ASecurity

Set up Rei Qwen3 Coder as a model provider. Use when configuring coder.reilabs.org, adding Rei to Clawdbot, or troubleshooting 403 errors from Rei endpoints.

  • 33 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 5, 2026
ai-agentsbashapi

Works with

  • api

Security analysis

A100/100

Pro scans all 4 files and shows the line behind each finding

Scanned September 5, 2026

npx -y skills add dvcrn/openclaw-skills-marketplace --skill rei --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Rei?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Rei
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/dvcrn-rei/badge)](https://www.skillsdirectory.com/skills/dvcrn-rei)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: rei
description: "Set up Rei Qwen3 Coder as a model provider. Use when configuring coder.reilabs.org, adding Rei to Clawdbot, or troubleshooting 403 errors from Rei endpoints."
---

# Rei Qwen3 Coder

Rei provides Qwen3 Coder via an OpenAI-compatible endpoint at `coder.reilabs.org`.

## Setup via Script

```bash
./skills/rei/scripts/setup.sh YOUR_REI_API_KEY
```

This adds the provider, adds it to the model allowlist, and restarts the gateway.

## Setup via Agent

Ask your agent:

> "Set up Rei with API key: YOUR_KEY"

The agent will read this skill and run the setup script for you.

## Switching Models

**Via chat:**
```
/model rei
/model opus
```

**Via script:**
```bash
./skills/rei/scripts/switch.sh rei
./skills/rei/scripts/switch.sh opus
```

**Via agent:**
> "Switch to Rei" or "Switch back to Opus"

## Revert

If something breaks, restore the backup:

```bash
./skills/rei/scripts/revert.sh
```

## Manual Setup

Add to `~/.clawdbot/clawdbot.json`:

```json
{
  "models": {
    "providers": {
      "rei": {
        "baseUrl": "https://coder.reilabs.org/v1",
        "apiKey": "YOUR_API_KEY",
        "api": "openai-completions",
        "headers": { "User-Agent": "Clawdbot/1.0" },
        "models": [{
          "id": "rei-qwen3-coder",
          "name": "Rei Qwen3 Coder",
          "contextWindow": 200000,
          "maxTokens": 8192
        }]
      }
    }
  },
  "agents": {
    "defaults": {
      "models": {
        "rei/rei-qwen3-coder": { "alias": "rei" }
      }
    }
  }
}
```

Then restart: `clawdbot gateway restart`

## Troubleshooting

**403 errors:** The `User-Agent: Clawdbot/1.0` header is required. The setup script adds this automatically. If you configured manually, make sure the header is present.

**"Model not allowed":** Rei must be in `agents.defaults.models` to switch to it. The setup script handles this. For manual setup, add the allowlist entry shown above.

Files in this skill

  • SKILL.md1.9 KB
  • scripts/revert.sh482 B
  • scripts/setup.sh1.9 KB
  • scripts/switch.sh589 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…