/setup
Verify local Kimi companion readiness and manage review-gate state. Writes a managed PreToolUse hook block to ~/.kimi-code/config.toml so kimi-code enforces this plugin's safety contract. Claude Code and Codex each own a host-scoped block in the shared config.
$ npx -y skills add linxule/kimi-plugin-cc --agent claude-codeShips with kimi. Installing the plugin gets this command.
How it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/setup
Context preview
What this command does when you run it.
Verify local Kimi companion readiness and manage review-gate state. Writes a managed PreToolUse hook block to ~/.kimi-code/config.toml so kimi-code enforces this plugin's safety contract. Claude Code and Codex each own a host-scoped block in the shared config.
Command definition
setup.mddescription: Verify local Kimi companion readiness and manage review-gate state. Writes a managed PreToolUse hook block to ~/.kimi-code/config.toml so kimi-code enforces this plugin's safety contract. Claude Code and Codex each own a host-scoped block in the shared config. argument-hint: "[--check | --uninstall [--all] | --enable-review-gate | --disable-review-gate]" disable-model-invocation: true
Run the companion with any user-supplied flags appended after `setup`:
`${CLAUDE_PLUGIN_ROOT}/scripts/companion.sh setup <args>`
Return the companion stdout verbatim.
Use Kimi as Claude Code's second reviewer, independent thinker, and delegated worker — without building your own multi-agent stack. This is a Claude Code plugin that drives the kimi-code CLI (the Node.js successor to Kimi CLI) as a subprocess.
Repo: linxule/kimi-plugin-cc
Other commands on kimi.
- /README
Claude Code slash command markdown. Each file is thin — it routes through `scripts/companion.sh` to the Node runtime under `runtime/`.
Open command - /ask
Ask Kimi a read-only question in free-form prose mode.
Open command - /cancel
Cancel an active plugin-managed Kimi job for the current repository.
Open command - /challenge
Run a read-only Kimi challenge review that challenges assumptions and surfaces safer alternatives.
Open command - /pursue
Hand Kimi an objective to pursue AUTONOMOUSLY across multiple turns (experimental goal mode), bounded by a hard wall-clock budget. Write-capable, gated by the same PreToolUse hook as rescue.
Open command - /replay
Re-render a stored Wire event log for a completed plugin-managed Kimi job.
Open command

