kimi-pursue ยท diff
git:20260623.f5405e9 to git:20260725.f6404b8
1 added, 1 removed. Audit A to A.
---
name: kimi-pursue
description: "Run Kimi's autonomous goal mode for an explicitly requested hands-off multi-turn objective. This is write-capable and budget-bounded; use only when the user explicitly asks Kimi to pursue an objective autonomously."
---
# Kimi Pursue
Forward this request to the local kimi-code companion runtime by shell. Do not use MCP for this skill.
## Invocation
- Resolve the plugin root: prefer `$PLUGIN_ROOT` if the host sets it; otherwise use the directory that CONTAINS the `skills/` directory (i.e. two levels up from this `SKILL.md`).
- Sanity check: `<plugin-root>/scripts/companion.sh` must exist โ it is the bundled entrypoint that resolves Node and runs the compiled runtime from `<plugin-root>/dist/`.
- Launch the shell command from the user's current workspace directory so `scripts/companion.sh` captures the intended workspace cwd.
- Run: `PLUGIN_ROOT="<plugin-root>" "<plugin-root>/scripts/companion.sh" task pursue <args>`
- If the plugin host provides `PLUGIN_DATA` instead of `CLAUDE_PLUGIN_DATA`, the shell wrapper exports the Claude-compatible alias for the runtime. If neither is set, the wrapper uses a Codex data directory under `$CODEX_HOME/plugins/data/kimi-marketplace-kimi`, `~/.codex/plugins/data/kimi-marketplace-kimi`, or `/tmp/kimi-plugin-cc-codex-data/kimi-marketplace-kimi` in a fully sanitized environment.
## Arguments
Pass through: `[--budget <30m|1h>] [--turns <N>] [-m <model>] <objective>`
## Handling
- Require explicit hands-off autonomy intent; single bounded fixes belong to `kimi-rescue`.
- - Always keep a finite `--budget`; never background this command.
+ - Always keep a finite `--budget` โ it is the sole hard bound on the loop. The runtime rejects `--background`, but detaching your own shell call is expected: a goal loop routinely outlives a foreground timeout, and the hook, allowlist, and budget do not depend on a human watching. Cancel with `companion.sh cancel` (no id โ it targets the latest running job for the repo); note that a cancel stops further work but does not roll back edits already made to the real tree.
- Surface terminal goal statuses exactly as the companion reports them.