ask_kimi
Submit software engineering questions about code structure, data flow, and architecture trade-offs to Kimi, with optional code context, for single-turn reasoning.
Instructions
Ask Moonshot's Kimi model (kimi-code/k3 by default, via the local kimi CLI in single-turn mode) — on its own, independent of Fable — to reason about the SOFTWARE/ENGINEERING work you're doing: code structure, functionality, data/control flow, module and function relationships, routing, architecture, and design trade-offs. PREFER THIS over ask_atlas with moonshotai/kimi-* whenever the kimi binary is installed: it runs on your Kimi Code subscription instead of per-token Atlas billing. NOTE the context caveat: k3 is a 1M-context model, but this CLI takes the prompt as a single argv value, which the kernel caps near 131k bytes — larger prompts are refused with a pointer to ask_atlas ('moonshotai/kimi-k3'), which has no such limit. The turn is sandboxed to pure text reasoning — the model has NO filesystem or tool access, so put the real code in context. Single-turn. Requires the kimi CLI on PATH and a completed kimi login (reported as binary_missing / not_configured otherwise). Direct offensive-security asks (exploit development, attack tooling) and non-software domain knowledge (biology/medicine refused; neuroscience, cognitive science, AI/ML, and CS are in-scope) are refused. Use ask for Fable, ask_m3 for MiniMax, or ask_council to ask several and get a synthesized answer.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| context | No | Optional code snippets, file paths, or structural context. | |
| question | Yes | A specific software/engineering question to ask Kimi (kimi-code/k3) on its own via the local `kimi` CLI. | |
| context_ref | No | Key(s) of context saved with `context_write` to pull in and prepend to `context` — paste a big context ONCE, reference it by key here. Missing keys are reported, not fatal. |