Claude Code Kimi Groq — Development skill for Claude Code
A basic proxy to use Kimi K2 on Claude Code through Groq.
How to install Claude Code Kimi Groq
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open chongdashu/claude-code-kimi-groq and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Claude Code Kimi Groq does
A basic proxy to use Kimi K2 on Claude Code through Groq.
Alternatives in Development
- Kimi CLI Agent — Answers one council question as plain text, with no tool access 664 ★
- Openclaw Billing Proxy — Route OpenClaw API requests through Claude Code subscription billing instead of Extra Usage 460 ★
- Claude Code Kimi Groq — A basic proxy to use Kimi K2 on Claude Code through Groq 382 ★
README
Use Kimi K2 on Claude Code through Groq
This project builds upon the original repository at https://github.com/fakerybakery/claude-code-kimi-k2 (formerly `claude-code-kimi-groq`), enhancing it with additional features and improvements.
A proxy server that enables Claude Code to use Kimi K2 (Moonshot AI's model) through Groq's API by converting between Anthropic and OpenAI API formats.
Quick Start
Installation
# Install dependencies
pip install -e .
# Or with uv
uv run proxy.py
Running the Proxy
# Using uv (recommended)
uv run proxy.py
# Using python
python proxy.py
# Or using the CLI (after installation)
proxy
Configuration
Set environment variables before running Claude Code:
export ANTHROPIC_BASE_URL=http://localhost:7187
export ANTHROPIC_API_KEY=NOT_NEEDED
# Ensure GROQ_API_KEY is set in your environment or .env file
Then run Claude Code:
claude
Alternate Run Methods
# Using the shell scripts
./run.sh
# or
./run-claude.sh # sets environment variables automatically
Architecture
The proxy handles:
- Message Format Conversion: Translates between Anthropic and OpenAI message formats
- Tool Handling: Converts tool schemas and function calls between API formats
- Response Mapping: Returns responses in Anthropic's expected format with proper message IDs and token usage
The server runs on port 7187 by default and uses the Kimi K2 model through Groq's API.
If you use this:
If you use this, I'd love to hear about your experience with Kimi K2 and how it compared with Claude! Please open an Issue to share your experience.
Acknowledgements
Inspired by [claude-code-proxy](https://github.com/1rgs/claude-code-proxy)
License
MIT
Related Skills
Todoist Skill
A Claude Code skill that lets Claude manage your Todoist account through natural language. Supports basic CRUD
Claude Cursor Proxy
Local proxy so Claude Code and grok-build (Grok CLI) can use Cursor models (Fable), plus Codex, Kimi, and Grok
Cc Proxy
Use Claude Code with your OpenAI Codex, Kimi, Grok, OpenCode Go or Cursor Agent subscription. Local proxy with
Windows Agent Orchestrator
Windows-native, headless orchestrator for dispatching certified worker agents through local agent runtimes (cl
ModelLink
Local proxy for routing third-party API models through Claude Desktop
Agrout Bridge
Local HTTP proxy that routes OpenAI-/Anthropic-compatible clients (OpenCode, Claude Desktop, Cursor) through A
Related Agents
Kimi Worker
Forward a coding, diagnosis, or review task to Kimi K3 (Moonshot) through the local kimi-worker.sh runtime. Us
ZeroClaw Android
Run AI agents 24/7 on your Android phone. Native Rust core, 25+ providers (OpenAI, Claude, Gemini, Groq, DeepS
Sanity Builder
Sanity CMS content architect + integrator — schema (defineType/defineField), GROQ queries, TypeGen, Portable T