pursue

pursue is a command for coding agents from linxule/kimi-plugin-cc. It costs 43 tokens per session (654 once invoked), scanned A, original, Apache-2.0.

A command for giving Kimi a coding objective to pursue autonomously across multiple turns, with a hard time limit. It can edit files, but the main coding session keeps control of Git branches and commits.

In plain words
What is it for?
Use it for hands-off, multi-step objectives when you explicitly want Kimi to keep working until it finishes, gets blocked, or reaches the time limit.
Why use it?
It suits work that needs repeated investigation and implementation instead of a single short exchange.

Command

Installs and runs on its own, but its text points at files inside its plugin — anything it tells you to read at a ${CLAUDE_PLUGIN_ROOT} path is only there once the plugin is installed. Installing the plugin gets both.

Part of the kimi plugin — 12 skills, 11 commands, 7 agents, 1 hook shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/linxule/kimi-plugin-cc/pursue
Clone the repo
git clone --depth 1 https://github.com/linxule/kimi-plugin-cc

Or install kimi, the plugin that ships this one along with the rest of its 12 skills, 11 commands, 7 agents, 1 hook.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for pursue

README.md
[![agentmods](https://agentmods.dev/badge/commands/linxule/kimi-plugin-cc/pursue.svg)](https://agentmods.dev/commands/linxule/kimi-plugin-cc/pursue)
Your own site
<a href="https://agentmods.dev/commands/linxule/kimi-plugin-cc/pursue"><img src="https://agentmods.dev/badge/commands/linxule/kimi-plugin-cc/pursue.svg" alt="Measured on agentmods" height="20"></a>
Per session 43 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 654 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00043 $0.00654
Opus 5 $0.00022 $0.00327
Sonnet 5 $0.00009 $0.00131
Haiku 4.5 $0.00004 $0.00065

Measured 5d ago against content hash 75f35367106f, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

pursue scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

commands/pursue.md · 28 lines

What it actually says

Run the companion with any user-supplied flags appended after task pursue:

${CLAUDE_PLUGIN_ROOT}/scripts/companion.sh task pursue <args>

/kimi:pursue is autonomous goal mode: Kimi keeps working toward the objective across continuation turns until it completes, blocks itself, or the budget expires. It is write-capable and runs under the same PreToolUse hook + workspace allowlist as /kimi:rescue (the hook gates every tool call in every turn), and like rescue it cannot mutate git state — the main thread owns branch/commit.

Supported flags:

  • --budget <duration> — HARD wall-clock ceiling (e.g. 30m, 1h, 90s; bare number = minutes). Default 45m. This is the only guaranteed bound on an autonomous run.
  • --turns <N> — SOFT cap: injected into the objective as a model instruction to call SetGoalBudget. Advisory, not enforced.
  • -m, --model <name>

Prototype limitations (experimental):

  • No --background flag — the runtime has no detached-worker mode for pursue. That is separate from how the caller runs the shell command: a goal loop routinely outlives a foreground timeout (Claude Code caps foreground Bash at 10 minutes vs the 45m default budget), so detaching the call is expected. The bounds that hold either way are the PreToolUse hook, the workspace allowlist, no git mutation, and the mandatory finite --budget. To stop a run, just say so — the stop path is companion.sh cancel with no id, which targets the latest running job for this repo. Note that a cancel stops further work; it does not roll back edits already made to your real tree.
  • No --resume. Goal mode emits a goalId distinct from the session id; resuming the session would not reliably re-enter the goal. The goalId is shown in the result for when resume lands.
  • Requires kimi-code >= 0.8.0 (headless goal mode) and the /kimi:setup PreToolUse hook (refuses without it).

Terminal outcomes are surfaced as status, not errors: complete (done, exit 0), blocked (Kimi stopped itself, exit 3), paused (interrupted, exit 6). A run that hits the --budget wall-clock ceiling is instead a timeout failure (the goal process tree is reaped), not a terminal status. The result headlines the goal status, reason, and turns/tokens/wall-clock usage.

Return the companion stdout verbatim.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 28 lines · 43 tokens per session scan A 75f35367106f

Subscribe to this mod's changes

pursue is a command published in the GitHub repository linxule/kimi-plugin-cc (37 stars, last pushed yesterday), licensed Apache-2.0. It adds 43 tokens to every session and 654 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.