Skip to content

feat(colgrep): add Kimi Code agent integration#158

Merged
raphaelsty merged 1 commit into
lightonai:mainfrom
IgorCarron:feat/kimi-code-integration
Jul 21, 2026
Merged

feat(colgrep): add Kimi Code agent integration#158
raphaelsty merged 1 commit into
lightonai:mainfrom
IgorCarron:feat/kimi-code-integration

Conversation

@IgorCarron

Copy link
Copy Markdown
Contributor

Adds --install-kimi / --uninstall-kimi for Kimi Code CLI, following the existing OpenCode/Codex/Hermes pattern.

Kimi Code discovers agent skills from $KIMI_CODE_HOME/skills//SKILL.md (default ~/.kimi-code/skills/). The installer writes the shared colgrep skill body there with the YAML frontmatter Kimi requires (name, description, whenToUse), so new sessions automatically use colgrep as the primary search tool.

colgrep --uninstall sweeps the Kimi skill too.

Verified: cargo check, cargo fmt --check, and an install/uninstall round-trip of the built binary (file written with correct frontmatter, removed cleanly).

Happy to rework this toward the generic --install-agent shape from #96 if preferred.

Add --install-kimi / --uninstall-kimi flags following the existing
OpenCode/Codex/Hermes pattern. The installer writes a Kimi Code skill
(SKILL.md with the required YAML frontmatter) to
$KIMI_CODE_HOME/skills/colgrep/ (default ~/.kimi-code/skills/colgrep/),
which Kimi Code CLI auto-discovers and invokes so the agent uses
colgrep as its primary search tool. colgrep --uninstall sweeps the
Kimi skill too.
@raphaelsty

Copy link
Copy Markdown
Collaborator

Thank you @IgorCarron for this MR, this is perfect 🐐🤌

@raphaelsty
raphaelsty merged commit 87389a0 into lightonai:main Jul 21, 2026
20 checks passed
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.

2 participants