MoonshotAI / MoonshotAI/kimi-code

Plugin loader registers root-level CHANGELOG.md as a skill named "CHANGELOG"

Open
#1,539 0 comments 0 reactions 0 assignees View on GitHub

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

  1. Install the official plugin kimi-datasource 3.1.0 from https://code.kimi.com/kimi-code/plugins/official/kimi-datasource.zip.
  2. Start Kimi Code and list skills, for example with kimi -p "list skills" or by opening the skill list.
  3. Observe that a skill named CHANGELOG is present.

Environment

  • Kimi Code CLI: 0.23.4
  • OS: Linux x64
  • Plugin: kimi-datasource 3.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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.