Skip to content
Development
Command

/cancel

Cancel an active plugin-managed Kimi job for the current repository.

From plugin
2912 skills7 agents12 commands1 hooks
shell
$ npx -y skills add linxule/kimi-plugin-cc --agent claude-code

Ships 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/cancel

Context preview

What this command does when you run it.

Cancel an active plugin-managed Kimi job for the current repository.

Command definition

cancel.md
description: 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.

Read it on GitHub ↗
Ships withkimi

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.

Get the whole plugin, auto-invoked
Stats
29
Stars
0
Views
1
Forks
Active
Maintenance
TypeScript
Language
Apache-2.0
License
2d ago
Last commit
3mo ago
Created

Repo: linxule/kimi-plugin-cc