rei 技能排查
- 作者仓库星标 39
- 作者仓库 awesome-omni-skill
Rei
Rei is served via an OpenAI-compatible endpoint at coder.reilabs.org.
Setup via Script
./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:
./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:
./skills/rei/scripts/revert.sh
Manual Setup
Add to ~/.clawdbot/clawdbot.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.
- 流狐分类
- AI 智能
- 作者声明 Agent
- 未找到明确声明;不据此推断已兼容或已测试
- 静态检查
- 88 / 100 · 启发式扫描,不代表运行安全
- 作者 / 版本 / 许可
- @diegosouzapw · 未声明 license
- 流狐 Token 估算
- 低消耗
- 流狐接入估算
- 需简单配置
- 是否需要外部 API Key
- 需要 · Vendor-specific
- 检测到的系统要求
- 未声明
- 底层运行要求
- 未声明
- 检测到的文件与系统行为
-
- 只读
- 检测到的网络行为
- 允许外网请求
- 安装命令数
- 无(仅作为资料)
档案由构建时根据 SKILL.md 与安装命令自动衍生,可能与作者实际意图存在差异。
需要注意: 未限定 allowed-tools,默认拥有全部工具权限。
作者没有在当前 SKILL.md 中定义固定输出样例。 This adds the provider, adds it to the model allowlist, and restarts the gateway.
Ask your agent: "Set up Rei with API key: YOURKEY" The agent will read this skill and run the setup script for you.
Via chat: Via script: Via agent:
If something breaks, restore the backup:
Add to ~/.clawdbot/clawdbot.json: Then restart: clawdbot gateway restart
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…
# Rei
Rei is served 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. 作者原文负责流程事实;流狐只索引当前章节、要点、文件与命令。
章节 -> Setup via Script → Setup via Agent → Switching Models → Revert → Manual Setup → Troubleshooting
要点 -> Via chat · Via script · Via agent · 403 errors · "Model not allowed"
文件/命令 -> coder.reilabs.org · ~/.clawdbot/clawdbot.json · clawdbot gateway restart · User-Agent: Clawdbot/1.0 · agents.defaults.models
内容 SHA-256 -> 6bd26a53d651
原文结构
适用与边界
原文中的明确线索
coder.reilabs.org、~/.clawdbot/clawdbot.json、clawdbot gateway restart、User-Agent: Clawdbot/1.0、agents.defaults.models