A Moltbot skill to set up Rei as a model provider.
Rei provides an OpenAI-compatible endpoint at coder.reilabs.org. This skill handles the setup, including the required User-Agent header that prevents 403 errors.
Soon!Copy the rei/ folder to your Clawdbot skills directory.
Run the setup script with your Rei API key:
./skills/rei/scripts/setup.sh YOUR_UNIT_API_KEYThis will:
- Add the Rei provider to your Clawdbot config
- Add Rei to the model allowlist (so you can switch to it)
- Restart the gateway
Via chat:
/model rei
/model opus
Via script:
./skills/rei/scripts/switch.sh rei
./skills/rei/scripts/switch.sh opusVia agent:
"Switch to Rei"
If something breaks, restore the config backup:
./skills/rei/scripts/revert.sh| Issue | Solution |
|---|---|
| 403 errors | The User-Agent: Clawdbot/1.0 header is required. Re-run setup or check your config. |
| "Model not allowed" | Rei must be in agents.defaults.models. Re-run setup to add it to the allowlist. |
MIT