AgentSkillsCN

ide-configuration

仅依据官方文档,为 Claude Code CLI、Cursor IDE 以及 VS Code 配置各类 AI 模型。提供 Kimi K2.5、GLM、Anthropic 的配置指南。

SKILL.md
--- frontmatter
name: ide-configuration
description: Configure Claude Code CLI, Cursor IDE, and VS Code with various AI models using official documentation only. Kimi K2.5, GLM, Anthropic setup guides.

IDE Configuration

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

Quick Setup

Claude Code + Kimi K2.5 (Recommended)

powershell
# Windows PowerShell
$env:ANTHROPIC_BASE_URL = "https://api.moonshot.cn/anthropic/"
$env:ANTHROPIC_API_KEY = "sk-your-moonshot-key"
claude
bash
# 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:

Never use unverified third-party guides for configuration.

Model Selection Guide

NeedModelProvider
Speedkimi-k2-turbo-previewMoonshot
Reasoningkimi-k2-thinkingMoonshot
Long contextkimi-k2-0905-previewMoonshot
GeneralsonnetAnthropic
Visionglm-4.6vZ.AI

Troubleshooting

IssueCheck
429 errorsAccount balance/RPM limits
Model not foundExact model name from official docs
Connection failAPI endpoint URL correctness

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