rei

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.

3,891 stars
Complexity: easy

About this skill

The 'rei' skill streamlines the process of integrating Rei Qwen3 Coder as a custom model provider within an AI agent's environment, such as Clawdbot. Rei offers a powerful Qwen3 Coder model through an OpenAI-compatible endpoint, making it accessible to agents that support such APIs. This skill provides a simple script-based setup that automatically adds the Rei provider, includes it in the model allowlist, and restarts the gateway, reducing manual configuration errors. Beyond initial setup, the skill also includes functionalities to easily switch between Rei and other models, either through chat commands or scripts. It also provides a 'revert' option to restore previous configurations if issues arise. For users who prefer manual setup or need deeper understanding, the skill details the exact JSON configuration required for `clawdbot.json`, including necessary headers and model parameters. This skill is crucial for agents needing access to specialized coding models like Rei Qwen3 Coder for enhanced code generation, debugging, or general development tasks. By automating the setup and management, it allows developers and agents to quickly leverage new model capabilities without complex manual configurations.

Best use case

The primary use case is for AI agents and their users who need to integrate and utilize the Rei Qwen3 Coder model for advanced coding tasks. This skill benefits developers and AI practitioners who want to expand their agent's model repertoire, particularly for those using Clawdbot, ensuring quick and correct configuration and access to a specialized coding LLM.

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 will be successfully configured as an available model provider, accessible by your AI agent, ready for use in coding tasks.

Practical example

Example input

Set up Rei with API key: YOUR_REI_API_KEY

Example output

Rei Qwen3 Coder provider added, allowlisted, and gateway restarted. You can now use `/model rei`.

When to use this skill

  • When configuring `coder.reilabs.org` as a new model provider for your AI agent.
  • When adding Rei Qwen3 Coder to your Clawdbot setup.
  • When troubleshooting 403 errors from Rei endpoints (ensures `User-Agent` header is correctly set).
  • When you need to easily switch between Rei Qwen3 Coder and other models.

When not to use this skill

  • If you do not use an AI agent that supports custom OpenAI-compatible model providers (e.g., Clawdbot).
  • If you do not require access to the Rei Qwen3 Coder model.
  • If you already have Rei Qwen3 Coder successfully configured and operational.
  • For tasks that do not involve code generation or coding-related interactions.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/rei/SKILL.md --create-dirs "https://raw.githubusercontent.com/openclaw/skills/main/skills/0xreisearch/rei/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/rei/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How rei Compares

Feature / AgentreiStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityeasyN/A

Frequently Asked Questions

What does this skill do?

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.

How difficult is it to install?

The installation complexity is rated as easy. You can find the installation instructions above.

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

SKILL.md Source

# 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.

Related Skills

find-skills

3891
from openclaw/skills

Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill.

General Utilities

filesystem

3891
from openclaw/skills

Advanced filesystem operations for listing files, searching content, batch processing, and directory analysis. Supports recursive search, file type filtering, size analysis, and batch operations like copy/move/delete. Use when you need to: list directory contents, search for files by name or content, analyze directory structures, perform batch file operations, or analyze file sizes and distribution.

General Utilities

Budget & Expense Tracker — AI Agent Financial Command Center

3891
from openclaw/skills

Track every dollar, enforce budgets, spot spending patterns, and build wealth — all through natural conversation with your AI agent.

General Utilities

yt-dlp

3891
from openclaw/skills

A robust CLI wrapper for yt-dlp to download videos, playlists, and audio from YouTube and thousands of other sites. Supports format selection, quality control, metadata embedding, and cookie authentication.

General Utilities

time-checker

3891
from openclaw/skills

Check accurate current time, date, and timezone information for any location worldwide using time.is. Use when the user asks "what time is it in X", "current time in Y", or needs to verify timezone offsets.

General Utilities

pihole-ctl

3891
from openclaw/skills

Manage and monitor local Pi-hole instance. Query FTL database for statistics (blocked ads, top clients) and control service via CLI. Use when user asks "how many ads blocked", "pihole status", or "update gravity".

General Utilities

mermaid-architect

3891
from openclaw/skills

Generate beautiful, hand-drawn Mermaid diagrams with robust syntax (quoted labels, ELK layout). Use this skill when the user asks for "diagram", "flowchart", "sequence diagram", or "visualize this process".

General Utilities

memory-cache

3891
from openclaw/skills

High-performance temporary storage system using Redis. Supports namespaced keys (mema:*), TTL management, and session context caching. Use for: (1) Saving agent state, (2) Caching API results, (3) Sharing data between sub-agents.

General Utilities

mema

3891
from openclaw/skills

Mema's personal brain - SQLite metadata index for documents and Redis short-term context buffer. Use for organizing workspace knowledge paths and managing ephemeral session state.

General Utilities

file-organizer-skill

3891
from openclaw/skills

Organize files in directories by grouping them into folders based on their extensions or date. Includes Dry-Run, Recursive, and Undo capabilities.

General Utilities

media-compress

3891
from openclaw/skills

Compress and convert images and videos using ffmpeg. Use when the user wants to reduce file size, change format, resize, or optimize media files. Handles common formats like JPG, PNG, WebP, MP4, MOV, WebM. Triggers on phrases like "compress image", "compress video", "reduce file size", "convert to webp/mp4", "resize image", "make image smaller", "batch compress", "optimize media".

General Utilities

edge-tts

3891
from openclaw/skills

Text-to-speech conversion using node-edge-tts npm package for generating audio from text. Supports multiple voices, languages, speed adjustment, pitch control, and subtitle generation. Use when: (1) User requests audio/voice output with the "tts" trigger or keyword. (2) Content needs to be spoken rather than read (multitasking, accessibility, driving, cooking). (3) User wants a specific voice, speed, pitch, or format for TTS output.

General Utilities