kimi-ask

kimi-ask is a skill for Claude Code, Codex from linxule/kimi-plugin-cc. It costs 48 tokens per session (464 once invoked), scanned A, original, Apache-2.0.

A read-only skill that asks the local Kimi coding assistant questions about the current repository. It is intended for explanations and reasoning, not for changing files.

In plain words
What is it for?
Use it to explain code, trace how a process works, compare modules, or reason about a design in the current workspace.
Why use it?
It lets you delegate repository understanding to Kimi without asking it to implement changes.

Skill for Claude CodeCodex

Written for Claude Code and Codex: shipped in a Claude Code plugin, but also agents/openai.yaml present. Also seen: mentions Claude Code; mentions Codex; $skill-name invocation.

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 skills/linxule/kimi-plugin-cc/kimi-ask
Any agent
npx skills add linxule/kimi-plugin-cc --skill kimi-ask
Clone the repo
git clone --depth 1 https://github.com/linxule/kimi-plugin-cc

Made for: Claude Code, Codex.

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/skills/linxule/kimi-plugin-cc/kimi-ask.svg)](https://agentmods.dev/skills/linxule/kimi-plugin-cc/kimi-ask)
Your own site
<a href="https://agentmods.dev/skills/linxule/kimi-plugin-cc/kimi-ask"><img src="https://agentmods.dev/badge/skills/linxule/kimi-plugin-cc/kimi-ask.svg" alt="Measured on agentmods" height="20"></a>
Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 464 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.1 $0.00048 $0.00464
Opus 5 $0.00024 $0.00232
Sonnet 5 $0.00010 $0.00093
Haiku 4.5 $0.00005 $0.00046

Measured 6d ago against content hash 536eb6026f70, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, 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 6d 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.

plugins/kimi-codex/skills/kimi-ask/SKILL.md · 28 lines

What it actually says

Kimi Ask

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" ask <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: [--background] [--wait] [-r | --resume <id>] [--fresh] [-m <model>] <prompt>

Handling

  • Preserve the user's question and supplied flags exactly; use -r only for explicit resume intent unless --fresh is requested.
  • Choose --background for broad or long-running questions and return the job id that the companion prints.
  • If the companion reports ASK_HOOK_NOT_INSTALLED, tell the user to run Claude Code /kimi:setup or Codex $kimi-setup, then retry; do not suggest the skip env.
  • Return companion stdout verbatim; do not summarize or re-voice Kimi's prose.
Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 6d ago First seen · 28 lines · 48 tokens per session scan A 536eb6026f70

Subscribe to this mod's changes

kimi-ask is a skill published in the GitHub repository linxule/kimi-plugin-cc (37 stars, last pushed 2d ago), licensed Apache-2.0. It adds 48 tokens to every session and 464 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.