https://github.com/duckcoding-dev/moltbot-duckcoding-auth
DuckCoding CodeX provider 插件,用于 OpenClaw / Clawdbot(原 Moltbot)。
https://github.com/duckcoding-dev/moltbot-duckcoding-auth
clawdbot codex duckcoding gpt openai openclaw plugin
Last synced: 2 months ago
JSON representation
DuckCoding CodeX provider 插件,用于 OpenClaw / Clawdbot(原 Moltbot)。
- Host: GitHub
- URL: https://github.com/duckcoding-dev/moltbot-duckcoding-auth
- Owner: DuckCoding-dev
- License: mit
- Created: 2026-01-30T13:35:26.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2026-02-01T15:03:54.000Z (3 months ago)
- Last Synced: 2026-02-03T05:40:51.007Z (2 months ago)
- Topics: clawdbot, codex, duckcoding, gpt, openai, openclaw, plugin
- Language: TypeScript
- Homepage: https://duckcoding.com
- Size: 12.7 KB
- Stars: 10
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# moltbot-duckcoding-auth
[](https://www.npmjs.com/package/moltbot-duckcoding-auth)
[](https://www.npmjs.com/package/moltbot-duckcoding-auth)
[](https://github.com/DuckCoding-dev/moltbot-duckcoding-auth/blob/main/LICENSE)
DuckCoding CodeX provider 插件,用于 [OpenClaw](https://github.com/openclaw/openclaw) / Clawdbot(原 Moltbot)。
通过 DuckCoding API 访问 CodeX 模型。官网:https://duckcoding.com
## 安装
```bash
openclaw plugins install moltbot-duckcoding-auth
```
或通过 npm 安装:
```bash
npm install moltbot-duckcoding-auth
```
启用插件:
```bash
openclaw plugins enable moltbot-duckcoding-auth
```
> 如果你使用 clawdbot,将命令中的 `openclaw` 替换为 `clawdbot`。
## 认证
安装后使用 DuckCoding API Key 认证:
```bash
openclaw models auth login --provider duckcoding --set-default
```
请使用 **CodeX专用(Droid/OpenClaw)** 的 Key。
## 支持的模型
| Provider | Model ID | 描述 |
|----------|----------|------|
| CodeX | `duckcoding/gpt-5.2-codex` | GPT 5.2 CodeX (400K context) |
## 使用
```bash
# 使用默认模型(GPT 5.2 CodeX)
openclaw agent --message "你好"
# 指定模型
openclaw agent --model duckcoding/gpt-5.2-codex --message "你好"
# 查看可用模型
openclaw models list | grep duckcoding
```
## 环境变量
也可以通过环境变量设置 API Key:
```bash
export DUCKCODING_API_KEY=your-api-key
```
## License
MIT