/cancel
Cancel an active plugin-managed Kimi job for the current repository.
> /plugin marketplace add linxule/kimi-plugin-cc> /plugin install kimi@kimi-marketplace
Command definition
cancel.mddescription: Cancel an active plugin-managed Kimi job for the current repository. argument-hint: "[<job-id>]" disable-model-invocation: true
Run the companion with any user-supplied flags appended after `cancel`:
`${CLAUDE_PLUGIN_ROOT}/scripts/companion.sh cancel <args>`
Cancellation uses the recorded companion and Kimi process ids, so it can cancel foreground jobs launched by detached agent runs as well as background ask/rescue jobs.
The job id is optional and normally omitted: with no argument the companion cancels the latest **running** job for this repository. Job ids are raw UUIDs that a run does not print at launch, so pass one only if you already have it from a completed report. With several runs in flight, the no-id form takes the most recent — confirm which one is meant first.
Prefer this over interrupting a run with Esc. An interrupt gives the companion ~1.35s before SIGKILL, which is shorter than its own teardown plus patch capture, so it can kill a write-swarm mid-settlement and lose the captured patch; this command signals from a separate process that is not racing that deadline.
Return the companion stdout verbatim.
Use Kimi to explain code, review changes, challenge a design, or work toward a goal — an independent second opinion from a different model family, inside the Claude Code, Codex, or DeepSeek Harness session you're already in. I'm a Kimi Ambassador (academia).
More commands from other plugins.
build
CommandImplement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.

