Skip to content

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

Description

@pesobreiro

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions