@cucloud/cu-agent-helper
v0.1.0
Published
TUI interactive configuration tool for Claude and OpenClaw models
Downloads
1,470
Maintainers
Readme
CU Agent Helper
基于联通云AISP 服务api-key, 便捷选配置claude ,openclaw, opencode等模型入口。
功能特性
- 🎯 交互式 TUI 界面
- 🔑 自动配置 API Key 和模型
- 🌐 支持联通云平台接口
- 💻 跨平台支持 (Windows/macOS/Linux)
- ⚡ 自动重启 OpenClaw gateway
🎯 支持的工具
| 工具 | 选择模式 | 支持的模型 | 状态 | |------|----------|-----------|------| | Claude | 单选 | Anthropic | ✅ 已实现 | | OpenClaw | 多选 | OpenAI + Anthropic | ✅ 已实现 | | opencode| 多选 | OpenAI + Anthropic | ✅ 已实现 | | copaw | 多选 | OpenAI + Anthropic | ✅ 已实现 |
🔧 使用方法
安装+程序
# 安装 终端执行(iterm、git bash、powerShell等) npm install -g @cucloud/cu-agent-helper# 执行 终端执行(iterm、git bash、powerShell等) cu-agent-helper输入 API Key
- 输入你的 API 密钥并按回车
选择工具
- 使用 ↑↓ 或 j/k 导航
- 按回车选择
选择模型
- 单选模式(Claude):导航到模型,按回车
- 多选模式(OpenClaw/OpenCode):按空格选中/取消,回车确认
完成配置
- 自动生成配置文件
注意事项
- Claude 只支持 Anthropic 模型
- OpenClaw 建议优先使用 OpenAI 格式接口,无可用时使用 Anthropic 接口
- OpenClaw 配置完成后会自动重启 OpenClaw gateway
- OpenCode 配置完成在新文件夹下重新启动 OpenCode即可生
- copaw
配置文件位置
Claude
~/.claude/settings.json- 主配置文件~/claude.json- Onboarding 配置
OpenClaw
~/.openclaw/openclaw.json- 主配置文件
OpenCode
~/.config/opencode/opencode.json- 主配置文件
Copaw
~/.copaw/config.json- 主配置文件
