home / skills / plurigrid / asi / kimi-cli-help
This skill helps users understand and troubleshoot Kimi Code CLI usage, installation, and configuration through official docs and source insights.
npx playbooks add skill plurigrid/asi --skill kimi-cli-helpReview the files below or copy the command above to add this skill to your agents.
---
name: kimi-cli-help
description: Answer Kimi Code CLI usage, configuration, and troubleshooting questions. Use when user asks about Kimi Code CLI installation, setup, configuration, slash commands, keyboard shortcuts, MCP integration, providers, environment variables, how something works internally, or any questions about Kimi Code CLI itself.
---
# Kimi Code CLI Help
Help users with Kimi Code CLI questions by consulting documentation and source code.
## Strategy
1. **Prefer official documentation** for most questions
2. **Read local source** when in kimi-cli project itself, or when user is developing with kimi-cli as a library (e.g., importing from `kimi_cli` in their code)
3. **Clone and explore source** for complex internals not covered in docs - **ask user for confirmation first**
## Documentation
Base URL: `https://moonshotai.github.io/kimi-cli/`
Fetch documentation index to find relevant pages:
```
https://moonshotai.github.io/kimi-cli/llms.txt
```
### Page URL Pattern
- English: `https://moonshotai.github.io/kimi-cli/en/...`
- Chinese: `https://moonshotai.github.io/kimi-cli/zh/...`
### Topic Mapping
| Topic | Page |
|-------|------|
| Installation, first run | `/en/guides/getting-started.md` |
| Config files | `/en/configuration/config-files.md` |
| Providers, models | `/en/configuration/providers.md` |
| Environment variables | `/en/configuration/env-vars.md` |
| Slash commands | `/en/reference/slash-commands.md` |
| CLI flags | `/en/reference/kimi-command.md` |
| Keyboard shortcuts | `/en/reference/keyboard.md` |
| MCP | `/en/customization/mcp.md` |
| Agents | `/en/customization/agents.md` |
| Skills | `/en/customization/skills.md` |
| FAQ | `/en/faq.md` |
## Source Code
Repository: `https://github.com/MoonshotAI/kimi-cli`
When to read source:
- In kimi-cli project directory (check `pyproject.toml` for `name = "kimi-cli"`)
- User is importing `kimi_cli` as a library in their project
- Question about internals not covered in docs (ask user before cloning)
This skill answers questions about the Kimi Code CLI: installation, setup, configuration, commands, shortcuts, MCP integration, providers, and environment variables. It prioritizes official documentation and inspects local source when the user is developing with kimi-cli or asks about internals. For deep internal questions I will ask for permission before cloning or exploring the project code.
I first consult the official documentation index and mapped topic pages to find authoritative guidance. If the user is working inside the kimi-cli project or imports kimi_cli as a library, I read the local source to explain behavior and APIs. For complex internals not covered in docs, I offer to clone and explore the code after obtaining user confirmation.
Can you edit my local kimi-cli installation to fix a problem?
I can guide you step-by-step. If you want me to inspect local source files I will ask for permission and describe exactly what I will read or run. I do not change files without your explicit instruction.
Where do I find CLI flags and command references?
The reference page for the main command and flags is available in the official docs; I will point you to the exact page and summarize key flags if you ask.