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.
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
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/rei/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How rei Compares
| Feature / Agent | rei | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | easy | N/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
Top AI Agents for Productivity
See the top AI agent skills for productivity, workflow automation, operational systems, documentation, and everyday task execution.
Best AI Skills for ChatGPT
Find the best AI skills to adapt into ChatGPT workflows for research, writing, summarization, planning, and repeatable assistant tasks.
AI Agents for Freelancers
Browse AI agent skills for freelancers handling client research, proposals, outreach, delivery systems, documentation, and repeatable admin work.
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
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.
filesystem
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.
Budget & Expense Tracker — AI Agent Financial Command Center
Track every dollar, enforce budgets, spot spending patterns, and build wealth — all through natural conversation with your AI agent.
yt-dlp
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.
time-checker
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.
pihole-ctl
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".
mermaid-architect
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".
memory-cache
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.
mema
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.
file-organizer-skill
Organize files in directories by grouping them into folders based on their extensions or date. Includes Dry-Run, Recursive, and Undo capabilities.
media-compress
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".
edge-tts
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.