Skip to content

feat(integration): update Kimi integration for Kimi Code CLI#2979

Open
meymchen wants to merge 1 commit into
github:mainfrom
meymchen:feat/1532-kimi-code-cli-compatibility
Open

feat(integration): update Kimi integration for Kimi Code CLI#2979
meymchen wants to merge 1 commit into
github:mainfrom
meymchen:feat/1532-kimi-code-cli-compatibility

Conversation

@meymchen

Copy link
Copy Markdown

Summary

Updates the built-in Kimi integration to align with the new Kimi Code CLI layout from Moonshot AI.

Relates to #1532.

Changes

  • Skills directory moved from .kimi/skills/ to .kimi-code/skills/
  • Context file moved from KIMI.md to AGENTS.md
  • --migrate-legacy now also migrates:
    • old .kimi/skills/ installs to .kimi-code/skills/
    • dotted skill directory names (speckit.xxx) to hyphenated (speckit-xxx)
    • user content from KIMI.md to AGENTS.md
  • teardown() removes leftover Speckit-generated .kimi/skills/speckit-* directories
  • multi_install_safe set to False because Kimi now shares AGENTS.md with Codex
  • Devcontainer installer switched from pipx install kimi-cli to npm install -g @moonshot-ai/kimi-code@latest
  • Updated docs/reference/integrations.md, CHANGELOG.md, and tests

Testing

  • uv run pytest tests/integrations/test_integration_kimi.py — 43 passed
  • uv run pytest tests/integrations/ — 2218 passed
  • uv run pytest tests/ -k kimi — 57 passed

AI Assistance Disclosure

This change was developed with AI assistance for codebase exploration, implementation planning, and test generation. The final design decisions, code review, and verification were done by a human contributor.

Update the Kimi integration to target the new Kimi Code CLI
(MoonshotAI/kimi-code) layout:

- Change skills directory from .kimi/skills/ to .kimi-code/skills/
- Change context file from KIMI.md to AGENTS.md
- Extend --migrate-legacy to move old .kimi/skills/ installs and
  migrate KIMI.md user content to AGENTS.md
- Clean up leftover legacy .kimi/skills/ directories on teardown
- Update devcontainer installer to @moonshot-ai/kimi-code
- Update docs and tests

Relates to github#1532
@meymchen meymchen requested a review from mnriem as a code owner June 14, 2026 14:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant