返回 Skill 列表
extension
分类: 开发与工程无需 API Key

ide-configuration

仅使用官方文档配置Claude Code CLI、Cursor IDE和VS Code与各种AI模型。Kimi K2.5、GLM、Anthropic设置指南。

person作者: jakexiaohubgithub

IDE Configuration

Configure Claude Code CLI and Cursor IDE with official model providers.

Quick Setup

Claude Code + Kimi K2.5 (Recommended)

# Windows PowerShell
$env:ANTHROPIC_BASE_URL = "https://api.moonshot.cn/anthropic/"
$env:ANTHROPIC_API_KEY = "sk-your-moonshot-key"
claude
# macOS/Linux
export ANTHROPIC_BASE_URL=https://api.moonshot.cn/anthropic/
export ANTHROPIC_API_KEY=sk-your-moonshot-key
claude

Cursor + Kimi K2.5

  1. Settings > Models
  2. Add custom model: kimi-k2-turbo-preview
  3. Or use OpenRouter: https://openrouter.ai/api/v1

Official Sources Only

When configuring, ALWAYS verify with:

  • Moonshot: https://platform.moonshot.cn/docs
  • Anthropic: https://docs.anthropic.com
  • Cursor: https://docs.cursor.com

Never use unverified third-party guides for configuration.

Model Selection Guide

| Need | Model | Provider | |------|-------|----------| | Speed | kimi-k2-turbo-preview | Moonshot | | Reasoning | kimi-k2-thinking | Moonshot | | Long context | kimi-k2-0905-preview | Moonshot | | General | sonnet | Anthropic | | Vision | glm-4.6v | Z.AI |

Troubleshooting

| Issue | Check | |-------|-------| | 429 errors | Account balance/RPM limits | | Model not found | Exact model name from official docs | | Connection fail | API endpoint URL correctness |

See full guide: docs/agent-instructions/setup-guides/model-configuration-faq.md