據 AlphaMoat 統計,截至 2026-10,Kimi Integration 累計下載 9,953 次、獲 5 個星標,按累計下載量在本次參與排名的 10,914 個 AI 技能中排名第 2,746 位,在「AI 智慧體」分類(1,632 個)中排名第 364 位。
列表預設按累計下載量排序,也可按星標排序;詳情頁排名按累計下載量計算。
| 平台 | 累計下載 | 星標 | 評論 |
|---|---|---|---|
| ClawHub ↗ | 4562 | 5 | - |
| SkillHub ↗ | 9953 | 5 | — |
各平台的計數口徑不同,統計時間不一致。
分兩條線說明接入方式:通用模型走 OpenAI 相容介面,Kimi Code 用專用端點做編碼任務,兩者需要的金鑰來源不同。前提是 Clawdbot 已安裝並配置好,接入前要先到對應平台取到金鑰。
資料釋出於 2026-10-27
以下是根據技能文件生成的示例,不代表實際執行結果。
2026-09 起統計方法調整:同名技能按作者分別統計,並覆蓋全部技能。圖中虛線為調整前的月份,與之後的資料不直接比較,也不計算跨越調整的增長。
| 月份 | 累計下載 | 環比 | 星標 |
|---|---|---|---|
| 2026-10 | 9953 | — | 5 |
| 2026-09 | 6407 | — | 5 |
| 2026-08 | 5723 | +1.9% | 5 |
| 2026-07 | 5615 | +4.1% | 5 |
| 2026-06 | 5394 | +3.7% | 5 |
| 2026-05 | 5202 | — | 5 |
| 2026-03 | 4480 | — | 5 |
以下是作者釋出的原始檔案,按純文字顯示,本站未做修改或稽核;其中的連結不可點選,命令請核實後再執行。抓取於 2026-10-23。
--- name: kimi-integration description: Step-by-step guide for integrating Moonshot AI (Kimi) and Kimi Code models into Clawdbot. Use when someone asks how to add Kimi models, configure Moonshot AI, or set up Kimi for Coding in Clawdbot. --- # Kimi Model Integration Complete guide for adding Moonshot AI (Kimi) and Kimi Code models to Clawdbot. ## Overview
Kimi offers two separate model families:
1. **Moonshot AI (Kimi K2)** - General-purpose models via OpenAI-compatible API
2. **Kimi Code** - Specialized coding model with dedicated endpoint
Both require API keys from different sources.
## Prerequisites
- Clawdbot installed and configured
- API keys (see Getting API Keys section)
## Getting API Keys
### Moonshot AI (Kimi K2)
1. Visit https://platform.moonshot.cn
2. Register an account
3. Navigate to API Keys section
4. Create a new API key
5. Copy the key (starts with `sk-...`)
### Kimi Code
1. Visit https://api.kimi.com/coding
2. Register an account
3. Navigate to API Keys section
4. Create a new API key
5. Copy the key (starts with `sk-...`)
**Note:** Moonshot and Kimi Code use separate keys and endpoints.
## Integration Steps
### Option 1: Moonshot AI (Kimi K2 models)
#### Step 1: Set environment variable
```bash
export MOONSHOT_API_KEY="sk-your-moonshot-key-here"
```
Or add to `.env` file:
```bash
echo 'MOONSHOT_API_KEY="sk-your-moonshot-key-here"' >> ~/.env
```
#### Step 2: Add provider configuration
Edit your `clawdbot.json` config:
```json5
{
"agents": {
"defaults": {
"model": {
"primary": "moonshot/kimi-k2.5"
}
}
},
"models": {
"mode": "merge",
"providers": {
"moonshot": {
"baseUrl": "https://api.moonshot.cn/v1",
"apiKey": "${MOONSHOT_API_KEY}",
"api": "openai-completions",
"models": [
{
"id": "moonlight-v1-32k",
"name": "Moonlight V1 32K",
"contextWindow": 32768
},
{
"id": "moonshot-v1-8k",
"name": "Moonshot V1 8K",
"contextWindow": 8192
},
{
"id": "moonshot-v1-32k",
"name": "Moonshot V1 32K",
"contextWindow": 32768
},
{
"id": "moonshot-v1-128k",
"name": "Moonshot V1 128K",
"contextWindow": 131072
},
{
"id": "kimi-k2.5",
"name": "Kimi K2.5",
"contextWindow": 200000
}
]
}
}
}
}
```
#### Step 3: Restart Clawdbot
```bash
clawdbot gateway restart
```
#### Step 4: Verify integration
```bash
clawdbot models list
```
You should see Moonshot models in the list.
#### Step 5: Use the model
Set as default:
```bash
clawdbot models set moonshot/kimi-k2.5
```
Or use model aliases in chat:
```bash
/model moonshot/kimi-k2.5
```
### Option 2: Kimi Code (specialized coding model)
#### Step 1: Set environment variable
```bash
export KIMICODE_API_KEY="sk-your-kimicode-key-here"
```
Or add to `.env`:
```bash
echo 'KIMICODE_API_KEY="sk-your-kimicode-key-here"' >> ~/.env
```
#### Step 2: Add provider configuration
Edit your `clawdbot.json` config:
```json5
{
"agents": {
"defaults": {
"model": {
"primary": "kimicode/kimi-for-coding"
},
"models": {
"kimicode/kimi-for-coding": {
"alias": "kimi"
}
}
}
},
"models": {
"mode": "merge",
"providers": {
"kimicode": {
"baseUrl": "https://api.kimi.com/coding/v1",
"apiKey": "${KIMICODE_API_KEY}",
"api": "openai-completions",
"models": [
{
"id": "kimi-for-coding",
"name": "Kimi For Coding",
"contextWindow": 200000,
"maxTokens": 8192
}
]
}
}
}
}
```
#### Step 3: Restart Clawdbot
```bash
clawdbot gateway restart
```
#### Step 4: Verify integration
```bash
clawdbot models list
```
You should see `kimicode/kimi-for-coding` in the list.
#### Step 5: Use the model
Set as default:
```bash
clawdbot models set kimicode/kimi-for-coding
```
Or use model alias in chat:
```bash
/model kimi
```
## Using Both Providers
You can configure both Moonshot and Kimi Code simultaneously:
```json5
{
"agents": {
"defaults": {
"model": {
"primary": "moonshot/kimi-k2.5"
},
"models": {
"kimicode/kimi-for-coding": {
"alias": "kimi"
},
"moonshot/kimi-k2.5": {
"alias": "k25"
}
}
}
},
"models": {
"mode": "merge",
"providers": {
"moonshot": {
"baseUrl": "https://api.moonshot.cn/v1",
"apiKey": "${MOONSHOT_API_KEY}",
"api": "openai-completions",
"models": [
{ "id": "kimi-k2.5", "name": "Kimi K2.5", "contextWindow": 200000 }
]
},
"kimicode": {
"baseUrl": "https://api.kimi.com/coding/v1",
"apiKey": "${KIMICODE_API_KEY}",
"api": "openai-completions",
"models": [
{ "id": "kimi-for-coding", "name": "Kimi For Coding", "contextWindow": 200000 }
]
}
}
}
}
```
Switch between models using aliases:
- `/model k25` - Kimi K2.5 (general)
- `/model kimi` - Kimi for Coding (specialized)
## Troubleshooting
### Model not appearing in list
Check config syntax:
```bash
clawdbot gateway config.get | grep -A 20 moonshot
```
Verify API key is set:
```bash
echo $MOONSHOT_API_KEY
echo $KIMICODE_API_KEY
```
### Authentication errors
- Verify API key starts with `sk-`
- Check key is valid on provider dashboard
- Ensure correct base URL for each provider
### Connection issues
Test API endpoint directly:
```bash
curl -X POST "https://api.moonshot.cn/v1/chat/completions" \
-H "Authorization: Bearer $MOONSHOT_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "kimi-k2.5", "messages": [{"role": "user", "content": "test"}]}'
```
## Model Recommendations
- **Kimi K2.5** (`moonshot/kimi-k2.5`) - Best for general tasks, 200K context
- **Kimi for Coding** (`kimicode/kimi-for-coding`) - Specialized for code generation
- **Moonshot V1 128K** (`moonshot/moonshot-v1-128k`) - Legacy model, 128K context
## References
- Moonshot AI Docs: https://platform.moonshot.cn/docs
- Kimi Code API: https://api.kimi.com/coding/docs
- Clawdbot Model Providers: /home/eyurc/clawdbot/docs/concepts/model-providers.md
將開發過程中的經驗、錯誤與修正記錄為 Markdown 檔案,供日後重用並提升為工作區記憶。
用自然語言描述需求,在本機與遠端技能市場尋找技能並取得推薦。
給 AI agent 用的瀏覽器自動化命令列技能。
將使用者明確糾正與自我檢視整理成分層記憶,並依使用情況升級或封存。
規劃 AI 代理主動跟進、工作記憶與回顧流程的工作區設定指南。
指導如何建立與更新有效 Claude 技能的寫作指南。
在安裝第三方技能之前,按清單審查來源、許可權與危險模式的技能。
把盛唐詩人李白的詩學觀、意象系統與口吻,蒸餾成 AI 可呼叫的角色包。
資料月份:2026-10 · 下載/星標數聚合自公開技能註冊庫(ClawHub、SkillHub),按月更新。口徑說明見資料方法。