Skip to content

Commit da79400

Browse files
xxchanstdrc
andauthored
feat(skills): add kimi-cli-help built-in skill (#595)
Signed-off-by: Richard Chien <stdrc@outlook.com> Co-authored-by: Richard Chien <stdrc@outlook.com>
1 parent ce5b8cb commit da79400

8 files changed

Lines changed: 65 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ Only write entries that are worth mentioning to users.
1212
## Unreleased
1313

1414
- Tool: Improve `ReadFile` tool description
15+
- Skills: Add built-in `kimi-cli-help` skill to answer Kimi CLI usage and configuration questions
1516

1617
## 0.74 (2026-01-09)
1718

docs/en/customization/skills.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ kimi --skills-dir /path/to/my-skills
2626

2727
Kimi CLI includes the following built-in skills:
2828

29+
- **kimi-cli-help**: Kimi CLI help. Answers questions about Kimi CLI installation, configuration, slash commands, keyboard shortcuts, MCP integration, providers, environment variables, and more.
2930
- **skill-creator**: Guide for creating skills. When you need to create a new skill (or update an existing skill) to extend Kimi's capabilities, you can use this skill to get detailed creation guidance and best practices.
3031

3132
## Creating a skill

docs/en/release-notes/breaking-changes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
This page documents breaking changes in Kimi CLI releases and provides migration guidance.
44

5-
## Unreleased - ACP command change
5+
## 0.74 - ACP command change
66

77
### `--acp` option deprecated
88

docs/en/release-notes/changelog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ This page documents the changes in each Kimi CLI release.
55
## Unreleased
66

77
- Tool: Improve `ReadFile` tool description
8+
- Skills: Add built-in `kimi-cli-help` skill to answer Kimi CLI usage and configuration questions
89

910
## 0.74 (2026-01-09)
1011

docs/zh/customization/skills.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ kimi --skills-dir /path/to/my-skills
2626

2727
Kimi CLI 内置了以下 Skills:
2828

29+
- **kimi-cli-help**:Kimi CLI 帮助。解答关于 Kimi CLI 安装、配置、斜杠命令、键盘快捷键、MCP 集成、供应商、环境变量等问题。
2930
- **skill-creator**:Skill 创建指南。当你需要创建新的 Skill(或更新现有 Skill)来扩展 Kimi 的能力时,可以使用此 Skill 获取详细的创建指导和最佳实践。
3031

3132
## 创建 Skill

docs/zh/release-notes/changelog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
## 未发布
66

77
- Tool:改进 `ReadFile` 工具描述
8+
- Skills:添加内置 `kimi-cli-help` Skill,解答 Kimi CLI 使用和配置问题
89

910
## 0.74 (2026-01-09)
1011

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
---
2+
name: kimi-cli-help
3+
description: Answer Kimi CLI usage, configuration, and troubleshooting questions. Use when user asks about Kimi CLI installation, setup, configuration, slash commands, keyboard shortcuts, MCP integration, providers, environment variables, how something works internally, or any questions about Kimi CLI itself.
4+
---
5+
6+
# Kimi CLI Help
7+
8+
Help users with Kimi CLI questions by consulting documentation and source code.
9+
10+
## Strategy
11+
12+
1. **Prefer official documentation** for most questions
13+
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)
14+
3. **Clone and explore source** for complex internals not covered in docs - **ask user for confirmation first**
15+
16+
## Documentation
17+
18+
Base URL: `https://moonshotai.github.io/kimi-cli/`
19+
20+
Fetch documentation index to find relevant pages:
21+
22+
```
23+
https://moonshotai.github.io/kimi-cli/llms.txt
24+
```
25+
26+
### Page URL Pattern
27+
28+
- English: `https://moonshotai.github.io/kimi-cli/en/...`
29+
- Chinese: `https://moonshotai.github.io/kimi-cli/zh/...`
30+
31+
### Topic Mapping
32+
33+
| Topic | Page |
34+
|-------|------|
35+
| Installation, first run | `/en/guides/getting-started.md` |
36+
| Config files | `/en/configuration/config-files.md` |
37+
| Providers, models | `/en/configuration/providers.md` |
38+
| Environment variables | `/en/configuration/env-vars.md` |
39+
| Slash commands | `/en/reference/slash-commands.md` |
40+
| CLI flags | `/en/reference/kimi-command.md` |
41+
| Keyboard shortcuts | `/en/reference/keyboard.md` |
42+
| MCP | `/en/customization/mcp.md` |
43+
| Agents | `/en/customization/agents.md` |
44+
| Skills | `/en/customization/skills.md` |
45+
| FAQ | `/en/faq.md` |
46+
47+
## Source Code
48+
49+
Repository: `https://github.com/MoonshotAI/kimi-cli`
50+
51+
When to read source:
52+
53+
- In kimi-cli project directory (check `pyproject.toml` for `name = "kimi-cli"`)
54+
- User is importing `kimi_cli` as a library in their project
55+
- Question about internals not covered in docs (ask user before cloning)

tests/test_pyinstaller_utils.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,10 @@ def test_pyinstaller_datas():
7272
),
7373
("src/kimi_cli/prompts/compact.md", "kimi_cli/prompts"),
7474
("src/kimi_cli/prompts/init.md", "kimi_cli/prompts"),
75+
(
76+
"src/kimi_cli/skills/kimi-cli-help/SKILL.md",
77+
"kimi_cli/skills/kimi-cli-help",
78+
),
7579
(
7680
"src/kimi_cli/skills/skill-creator/SKILL.md",
7781
"kimi_cli/skills/skill-creator",

0 commit comments

Comments
 (0)