Help us improve
Share bugs, ideas, or general feedback.
Kimi plugin for Claude Code — task delegation via kimi-cli Wire IPC.
npx claudepluginhub kkk0913/kimi-plugin-ccDelegate code review and tasks from Claude Code to Kimi via kimi-cli.
Share bugs, ideas, or general feedback.
Use Kimi from inside Claude Code for code reviews or to delegate tasks to Kimi.
This plugin is for Claude Code users who want an easy way to start using Kimi from the workflow they already have.
Based on openai/codex-plugin-cc — This project is heavily inspired by and based on the architecture and design of the Codex plugin for Claude Code.
/kimi:review for a normal read-only Kimi code review/kimi:adversarial-review for a security-focused challenge review/kimi:rescue, /kimi:status, /kimi:result, and /kimi:cancel to delegate work and manage background jobskimi command available in PATH)
kimi loginAdd the marketplace in Claude Code:
/plugin marketplace add kkk0913/kimi-plugin-cc
Install the plugin:
/plugin install kimi@kkk0913-kimi
Reload plugins.
Then run:
/kimi:setup will tell you whether Kimi is ready.
If Kimi CLI is installed but not logged in yet, run:
!kimi login
After install, you should see:
kimi:kimi-rescue subagent in /agentsOne simple first run is:
/kimi:review --background
/kimi:status
/kimi:result
/kimi:reviewRuns a Kimi code review on your current work.
Note: Code review especially for multi-file changes might take a while. It's generally recommended to run it in the background.
Use it when you want:
mainUse --base <ref> for branch review. It also supports --background.
Examples:
/kimi:review
/kimi:review --base main
/kimi:review --background
This command is read-only and will not perform any changes.
/kimi:adversarial-reviewRuns a security-focused review that looks for vulnerabilities, injection risks, data leaks, race conditions, and dangerous patterns.
It uses the same review target selection as /kimi:review, including --base <ref> for branch review.
It also supports --background.
Use it when you want:
Examples:
/kimi:adversarial-review
/kimi:adversarial-review --base main
/kimi:adversarial-review --background
This command is read-only. It does not fix code.
/kimi:rescueHands a task to Kimi through the kimi:kimi-rescue subagent.
Use it when you want Kimi to:
It supports --background. Depending on the task, it's generally recommended to run in the background.
Examples:
/kimi:rescue investigate why the tests started failing
/kimi:rescue fix the failing test with the smallest safe patch
/kimi:rescue --background investigate the regression
/kimi:statusShows running and recent Kimi jobs for the current repository.
Examples:
/kimi:status
/kimi:status <job-id>
/kimi:resultShows the final stored Kimi output for a finished job.
Examples:
/kimi:result
/kimi:result <job-id>
/kimi:cancelCancels an active background Kimi job.
Examples:
/kimi:cancel
/kimi:cancel <job-id>
/kimi:setupChecks whether Kimi CLI is installed and authenticated.
The plugin uses a broker-based architecture:
app-server-broker.mjs): A long-lived process that maintains a single kimi --wire subprocessThis design allows:
Claude Code Command
│
▼
┌─────────────┐
│ Broker │◄────── Manages `kimi --wire` process
│ Server │
└──────┬──────┘
│ Unix Socket (JSON-RPC)
▼
┌─────────────┐
│ Kimi CLI │◄────── Kimi AI processing
│ (--wire) │
└─────────────┘
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0