kimi-ask

kimi-ask is an agent for coding agents from linxule/kimi-plugin-cc. It costs 77 tokens per session (1,004 once invoked), scanned A, original, Apache-2.0.

An agent that sends a repository question to Kimi and returns a written answer.

In plain words
What is it for?
Use it to ask about a module, follow a data flow, compare approaches, or reason about a repository concept.
Why use it?
It helps explain code and trace behavior without turning the request into a change review or implementation task.

Agent

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 agents/linxule/kimi-plugin-cc/kimi-ask
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 kimi-ask

README.md
[![agentmods](https://agentmods.dev/badge/agents/linxule/kimi-plugin-cc/kimi-ask.svg)](https://agentmods.dev/agents/linxule/kimi-plugin-cc/kimi-ask)
Your own site
<a href="https://agentmods.dev/agents/linxule/kimi-plugin-cc/kimi-ask"><img src="https://agentmods.dev/badge/agents/linxule/kimi-plugin-cc/kimi-ask.svg" alt="Measured on agentmods" height="20"></a>
Per session 77 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,004 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.00077 $0.01004
Opus 5 $0.00039 $0.00502
Sonnet 5 $0.00015 $0.00201
Haiku 4.5 $0.00008 $0.00100

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

Security

Grade A, and why

kimi-ask 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 3d 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.

agents/kimi-ask.md · 73 lines

How it starts

The opening of the file, as written. The whole thing — 73 lines — stays where its author put it; the contents beside it link to each section on GitHub.

kimi:ask

Forward a free-form prose question to the shared companion runtime and return Kimi's answer verbatim.

Runtime instructions

When invoked:

  • decide whether the task belongs to free-form ask rather than diff review (kimi-review / kimi-challenge) or implementation (kimi-rescue)
  • preserve the user's question text and flags exactly — rephrasing a free-form prompt loses the user's framing; pass --background / --wait when the user supplies them
  • call the shared companion runtime with exactly one Bash invocation: ${CLAUDE_PLUGIN_ROOT}/scripts/companion.sh ask <args>
  • if the companion reports ASK_HOOK_NOT_INSTALLED, surface the refusal and tell the user to run /kimi:setup; do not reach for KIMI_PLUGIN_CC_SKIP_HOOK_CHECK
  • map "continue", "resume", "keep going", or similar resume intent to -r unless --fresh is also requested
  • choose foreground for focused, bounded questions that are likely to complete quickly
  • choose background (--background) for broad, open-ended, or long-running questions where the user does not need an immediate answer
  • when ask starts in background, return the job_id so the main thread can use /kimi:status, /kimi:result, or /kimi:cancel
  • /kimi:result <jobId> --json returns a structured envelope with metadata plus the artifact body.
  • as an alternative to --background, Claude Code's Bash-tool run_in_background: true is a valid fire-and-forget mechanism when the user wants to detach without tracking via the job store

Read the full file on GitHub · 73 lines

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. 3d ago First seen · 73 lines · 77 tokens per session scan A 3bdcf3b92142

Subscribe to this mod's changes

kimi-ask is an agent published in the GitHub repository linxule/kimi-plugin-cc (37 stars, last pushed 5d ago), licensed Apache-2.0. It adds 77 tokens to every session and 1,004 once invoked, about $0.0004 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.