MoonshotAI / MoonshotAI/kimi-code
Plugin loader registers root-level CHANGELOG.md as a skill named "CHANGELOG"
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 7.5k
- Forks
- 1.2k
- Avg merge
- 11h 53m
- Merged PRs (30d)
- 350
Description
Summary
The official kimi-datasource plugin ships CHANGELOG.md next to SKILL.md. Kimi Code's skill loader treats that root-level Markdown file, which has no YAML frontmatter, as a skill. The skill list then shows a skill named CHANGELOG with the description # Changelog.
Expected behavior
Only real skill files should be registered as skills. Conventional repository documentation files such as CHANGELOG.md, README.md, LICENSE, CONTRIBUTING.md, and CODE_OF_CONDUCT.md should not appear in the skill list.
Actual behavior
A skill named CHANGELOG appears in the skill list when the official kimi-datasource plugin is installed.
Reproduction steps
- Install the official plugin
kimi-datasource3.1.0 fromhttps://code.kimi.com/kimi-code/plugins/official/kimi-datasource.zip. - Start Kimi Code and list skills, for example with
kimi -p "list skills"or by opening the skill list. - Observe that a skill named
CHANGELOGis present.
Environment
- Kimi Code CLI: 0.23.4
- OS: Linux x64
- Plugin:
kimi-datasource3.1.0 - Plugin layout before workaround:
kimi-datasource/
├── SKILL.md
├── CHANGELOG.md
└── ...
Workaround
Moving CHANGELOG.md to docs/CHANGELOG.md removes the spurious skill locally, but this is overwritten on the next plugin upgrade.
Suggested fix
Either:
- require valid YAML frontmatter for any Markdown file registered as a skill, or
- exclude conventional non-skill Markdown filenames from skill discovery.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the plugin loader and skill-discovery path, then reproduce with the official kimi-datasource 3.1.0 plugin and kimi -p "list skills". Verify that only real skill files appear and that root-level CHANGELOG.md, README.md, LICENSE, CONTRIBUTING.md, and CODE_OF_CONDUCT.md no longer register as skills.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- cli, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 70/100