@bryceli/claude
v0.1.5
Published
Claude Code and OpenCode setup CLI with practical interface-type support.
Readme
Claude + OpenCode Setup Template
This template now follows the original @muskapi/cli idea more closely:
- installs Claude Code
- installs OpenCode
- writes Claude Code config when the selected interface type is Claude-compatible
- always writes OpenCode config
- supports practical API interface types with short Chinese annotations
Supported interface types
- OpenAI Compatible (最常用)
- Anthropic Native (Claude Code 可直连)
- OpenAI Responses (新接口)
- Google Gemini (Gemini 原生)
- Ollama Native (本地最常见)
Practical behavior
- Claude Code is only configured for Anthropic-compatible endpoints.
- OpenCode is configured for all supported interface types.
- Base URLs are auto-filled based on the selected interface type.
- Local model providers try to auto-detect the first available model ID.
- For Ollama local usage:
- choose
Anthropic Nativeif you want to try Claude Code through Ollama's Anthropic-compatible API - choose
Ollama Nativeif you want the most practical OpenCode local setup
- choose
Publish and use
npx @bryceli/claude@latest auto