| Crates.io | cckit |
| lib.rs | cckit |
| version | 0.1.0 |
| created_at | 2025-11-19 11:56:05.904986+00 |
| updated_at | 2025-11-19 11:56:05.904986+00 |
| description | Code Kit Written by rust for Claude model Switch, Support 智普LLM, MiniMax, Kimi 提供的 Claude model |
| homepage | |
| repository | |
| max_upload_size | |
| id | 1939990 |
| size | 110,276 |
Code Kit Written in Rust for Claude Model Switching - Support 智普LLM, MiniMax, Kimi 提供的 Claude model
A CLI tool for managing and switching between different Claude model providers and their configurations.
# Clone the repository
git clone https://github.com/your-username/cckit.git
cd cckit
# Build the CLI
cargo build --release
# The binary will be available at target/release/cckit
# Show help
cckit --help
# List all configured providers
cckit list
# Show current active provider
cckit current
# Configure a provider
cckit configure <provider> --api-key <key> [--model <model>] [--base-url <url>]
# Switch to a provider
cckit switch <provider>
# Show provider configuration
cckit show <provider>
# Test provider connection
cckit test <provider>
# Configure 智普LLM
cckit configure zhipu --api-key "your-api-key" --model "GLM-4.6"
# Switch to 智普LLM
cckit switch zhipu
# Configure MiniMax
cckit configure minimax --api-key "your-api-key" --model "MiniMax-M2"
# Switch to MiniMax
cckit switch minimax
# Configure Kimi
cckit configure kimi --api-key "your-api-key" --model "kimi-for-coding"
# Switch to Kimi
cckit switch kimi
# Configure Claude (official)
cckit configure claude --api-key "sk-ant-api03-your-key" --model "claude-3-5-sonnet-20241022"
# Switch to Claude
cckit switch claude
# Export configuration to file
cckit export --output backup.json
# Import configuration from file
cckit import backup.json
# Reset to default Claude configuration
cckit reset
The CLI stores configurations in ~/.cckit/config.json and updates Claude's settings in ~/.claude/settings.json.
| Provider | Default Model | Default Base URL | Auth Method | Capabilities |
|---|---|---|---|---|
| 智普LLM | GLM-4.6 | https://open.bigmodel.cn/api/anthropic | ANTHROPIC_AUTH_TOKEN | Chat, Code Generation, Chinese Support |
| MiniMax | MiniMax-M2 | https://api.minimaxi.com/anthropic | ANTHROPIC_AUTH_TOKEN | Chat, Code Generation, Multi-language |
| Kimi | kimi-for-coding | https://api.kimi.com/coding/ | ANTHROPIC_API_KEY | Chat, Long Context, Code Generation |
| Claude | claude-3-5-sonnet-20241022 | Official | ANTHROPIC_API_KEY | Chat, Code Generation, Analysis, Multimodal |
~/.cckit/config.jsonsettings.json with environment variables# Install dependencies
cargo build
# Run tests
cargo test
# Check formatting
cargo fmt --check
# Run clippy
cargo clippy
# Build release version
cargo build --release
This project is licensed under the MIT License - see the LICENSE file for details.
If you encounter any issues or have questions, please open an issue on the GitHub repository.