Rei Qwen3 Coder for Openclaw

A specialized skill for integrating Rei Qwen3 Coder as a model provider with automated setup and switching capabilities.

0xreisearch
v1.0.3
Jan 27, 2026
1
2.6k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install rei

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install rei using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Rei Qwen3 Coder?

The Rei Qwen3 Coder skill enables developers to seamlessly integrate Rei's high-performance coding models into their local AI agent infrastructure. By utilizing Openclaw Skills, this integration provides an OpenAI-compatible interface to the coder.reilabs.org endpoint, facilitating advanced coding assistance with a massive 200,000 token context window.

This skill automates the complex configuration required to maintain secure connections, including the injection of mandatory User-Agent headers to prevent 403 Forbidden errors. It serves as a bridge between the raw model API and the agent's internal model management system, ensuring that Qwen3 Coder is available for complex reasoning and software development tasks.

Rei Qwen3 Coder Use Cases

  • Adding a high-context coding model to your agent's available toolset.
  • Automating the configuration of OpenAI-compatible endpoints with custom header requirements.
  • Rapidly switching between different LLM providers via CLI or chat interface.
  • Troubleshooting and resolving 403 access errors from model provider gateways.

How Rei Qwen3 Coder Works

  1. The skill executes a setup script that captures the user's API key and updates the local provider configuration.
  2. It automatically adds the Rei model ID to the agent's allowlist to enable switching.
  3. A specific User-Agent header is injected into the request schema to comply with Rei's security requirements.
  4. The gateway service is restarted to load the new provider parameters.
  5. The agent gains the ability to route prompts to Rei using internal aliasing and slash commands.

Rei Qwen3 Coder Setup

To install this integration via Openclaw Skills, run the following command in your terminal:

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

Alternatively, you can ask your AI agent to handle the installation by typing:

"Set up Rei with API key: YOUR_KEY"

For manual installation, ensure your ~/.clawdbot/clawdbot.json includes the https://coder.reilabs.org/v1 base URL and the User-Agent: Clawdbot/1.0 header.

Rei Qwen3 Coder Data Schema & Taxonomy

The skill manages model metadata and connection settings within the local configuration file. Below is the schema for the provider object:

Property Value Description
provider_id rei Unique identifier for the provider
baseUrl https://coder.reilabs.org/v1 The API endpoint for Qwen3 Coder
api openai-completions Compatibility protocol used
contextWindow 200,000 Maximum tokens supported in context
maxTokens 8,192 Maximum completion tokens

Rei Qwen3 Coder Advanced Features

  • Script-based model switching allowing for programmatic transitions between Rei and other providers like Opus.
  • Automated allowlist management to ensure new models are instantly accessible to agents.
  • Built-in revert functionality to restore previous gateway configurations in case of errors.
  • Agent-driven configuration that allows setting up API keys through natural language conversation.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*