ask
Ask Kimi a read-only question in free-form prose mode.
Fan out a parallel review across the workspace using Kimi's AgentSwarm tool, bounded by a hard wall-clock budget. Read-only by default (enforced by the same PreToolUse hook as review, applied to every subagent); --write fans out edits in a throwaway worktree and returns a patch.
> /plugin marketplace add linxule/kimi-plugin-cc > /plugin install kimi@kimi-marketplace
How it fires
How this command gets triggered: by you, by Claude, or both.
/swarmContext preview
What this command does when you run it.
Fan out a parallel review across the workspace using Kimi's AgentSwarm tool, bounded by a hard wall-clock budget. Read-only by default (enforced by the same PreToolUse hook as review, applied to every subagent); --write fans out edits in a throwaway worktree and returns a patch.
description: Fan out a parallel review across the workspace using Kimi's AgentSwarm tool, bounded by a hard wall-clock budget. Read-only by default (enforced by the same PreToolUse hook as review, applied to every subagent); --write fans out edits in a throwaway worktree and returns a patch. argument-hint: "[--write] [--budget <30m|1h>] [--cap <N>] [--max-concurrency <N>] [-m <model>] <objective>" disable-model-invocation: true
Run the companion with any user-supplied flags appended after `task swarm`:
`${CLAUDE_PLUGIN_ROOT}/scripts/companion.sh task swarm <args>`
`/kimi:swarm` is a **parallel fan-out**: Kimi uses the `AgentSwarm` tool to fan the work out across subagents (one per file/module/question), then consolidates into one markdown report. **By default it is read-only**, enforced by the same PreToolUse hook as `/kimi:review` — the hook runs under the `swarm` label (read-only tool set plus `AgentSwarm`), and **every spawned subagent inherits that label and fires the same hook** (each subagent gets its own eager external-hooks service), so a subagent's write/edit/shell call is denied exactly like a single-turn review's.
**`--write`** turns it into a write-capable fan-out: the coordinator and `coder` subagents run inside an **ephemeral throwaway git worktree off your HEAD**, edit disjoint targets there, and the result is captured as a **reviewable patch** (written to a `.patch` file whose path is printed in the report). Writes are confined to that worktree by the `swarm-write` hook label (rescue-grade allowlist, scoped to a forge-proof trusted worktree root — not the payload cwd); git mutation and out-of-worktree writes are denied; **the plugin never applies or commits — you own the merge.** Your real working tree is never touched.
Supported flags:
Prototype limitations:
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
Ask Kimi a read-only question in free-form prose mode.
Cancel an active plugin-managed Kimi job for the current repository.
Run a read-only Kimi challenge review that challenges assumptions and surfaces safer alternatives.
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…
Re-render a stored Wire event log for a completed plugin-managed Kimi job.
Run a write-capable Kimi rescue against the current repository with optional background execution and resume behavior.