rei

Configure Rei Qwen3 Coder as an OpenAI-compatible provider in Clawdbot.

5|Updated Jan 27, 2026
One-click install
npx skills add https://github.com/0xReisearch/rei-moltbot --skill rei-0xreisearch
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rei
Source: https://github.com/0xReisearch/rei-moltbot/tree/main
Command: npx skills add https://github.com/0xReisearch/rei-moltbot --skill rei-0xreisearch

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires jq, and includes scripts (resource) components.

What problem does it solve?

Rei users hit setup friction when trying to use Rei Labs’ OpenAI-compatible endpoint inside Moltbot/Clawdbot, especially when 403 errors require a specific User-Agent header.

Core Features & Use Cases

  • Provision Rei as a model provider: Adds the Rei provider configuration (including required User-Agent: Clawdbot/1.0) and the rei-qwen3-coder model to your local Clawdbot config.
  • Enable model switching: Adds Rei to agents.defaults.models so you can switch models via chat or scripts.
  • Fix and recover safely: Provides setup and revert scripts so you can restore the previous config if something breaks.

Quick Start

Run the setup script with your Rei API key: use your Clawdbot skills path to execute ./skills/rei/scripts/setup.sh YOUR_REI_API_KEY.

Frequently Asked Questions about rei

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fix 403 errors when connecting an OpenAI-compatible API to Clawdbot?

403 errors against OpenAI-compatible endpoints in Clawdbot often occur when the required User-Agent header is missing. Adding the specific User-Agent: Clawdbot/1.0 header to your provider configuration resolves the failing requests.

How do I configure a custom model provider in Clawdbot?

To configure a custom model provider in Clawdbot, update ~/.clawdbot/clawdbot.json with the provider's base URL, OpenAI-compatible API type, required headers, and model metadata, then restart the gateway to apply the changes.

Why does my model switching fail after adding a new provider to Clawdbot?

Model switching fails if the new provider is not added to the agents.defaults.models allowlist in your Clawdbot config. Updating this allowlist enables switching to the newly configured models via chat or scripts.

Can I use Rei Qwen3 Coder with Moltbot for day-to-day usage?

Yes, you can use Rei Qwen3 Coder with Moltbot by provisioning it as an OpenAI-compatible model provider. This configuration eliminates failing requests and supports allowlisted model switching during day-to-day operations.

Do I need jq to set up Rei as a model provider?

Yes, jq is required to run the setup and revert scripts that modify your Clawdbot configuration. These scripts safely apply the Rei provider settings and can restore your previous config if something breaks.

How do I revert Clawdbot configuration changes if a model provider setup breaks?

You can revert configuration changes by running the provided revert script. This restores your previous Clawdbot config file safely if the new model provider setup causes issues with your gateway.