feat(colgrep): add Kimi Code agent integration#158
Merged
Conversation
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.
Collaborator
|
Thank you @IgorCarron for this MR, this is perfect 🐐🤌 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.