code-mate-kimi-code
Helps your agent analyze and implement code in repositories. It's useful for delegating specific coding tasks.
What it does
This agent runs Kimi Code to perform specific tasks within a code repository. It takes a command, executes it with Kimi Code, and returns the result.
When to use it
- ✓When you want the AI to execute a specific command in your code.
- ✓To automate repetitive tasks within a project.
- ✓To get the output of a code tool without running it manually.
Example of what to ask your AI
“Run the following command in my repository: 'npm install'”
Want more? Open the sections below.
How to use
The easiest way: copy the message below and paste it into Claude, ChatGPT, Cursor or any AI. It reads the skill and follows the instructions.
Skill link
Ready-to-paste message
How it works
The agent sets up a secure environment, runs Kimi Code with your command, and analyzes the output to give you the final result. It ensures Kimi Code doesn't access more than necessary and doesn't save your credentials.
Installation
Easiest way: copy the skill link and paste it into Claude, ChatGPT or Cursor asking it to follow the instructions.
In the terminal (Claude Code, Codex, Cursor), in your project folder:
npx skills add CherryHQ/cherry-studio --skill code-mate-kimi-codeOr download just the file:
curl -L https://raw.githubusercontent.com/CherryHQ/cherry-studio/main/resources/code-cli-skills/code-mate-kimi-code/SKILL.md -o SKILL.mdTechnical content (original SKILL.md)
Original text by the author, straight from GitHub.
Kimi Code
Run
- Set the Bash working directory to the smallest directory the user authorized and set a finite timeout, normally 10 minutes.
- Check availability with
command -v kimi. If it is missing, stop and ask the user to install Kimi Code in Code Mate. - Run one prompt and exit:
kimi -p "<prompt>" --output-format stream-json
Pass the prompt as one quoted argument. Parse stdout as JSONL, preserve event order, and extract the final assistant result. Treat an error event or nonzero exit as failure. Never start the interactive UI or kimi login.
Authentication And Permissions
If Kimi reports missing login, model, or provider configuration, stop and ask the user to configure Kimi Code in Code Mate. Never request, read, print, or copy credentials.
Prompt mode automatically approves tool calls and rejects --yolo, --auto, and --plan; those flags cannot make it safer. Do not run it against a writable project for a read-only task. Use a disposable or read-only copy instead. Run against the real project only when the user explicitly requests workspace changes, constrain the directory, and inspect the diff afterward.
Kimi writes session state under KIMI_CODE_HOME (normally ~/.kimi-code) before running workspace tools. If the host Bash reports a sandbox denial there for an explicitly approved write task, retry the exact command once with the narrowest host escalation. In DSH, request sandbox_permissions: danger-full-access with a justification naming Kimi's session storage, then wait for approval. Keep the working directory constrained; leave Kimi's config and credential files in place.
Example: for an approved implementation, ask Kimi to change only named files, run it in that project, parse the final JSONL event, and inspect the resulting diff.
FAQ
What happens if Kimi Code is not installed?
The agent will stop and ask you to install Kimi Code.
Can the agent make changes to my code?
Yes, but only if you explicitly ask, and it will do so in a safe copy or with restricted permissions, inspecting the changes afterward.
Does the agent save my login information?
No, the agent never requests, reads, prints, or copies your credentials.
Details
Original description by the author
Runs Kimi Code in non-interactive prompt mode and parses its event stream. Use when the user asks to delegate a bounded repository task to Kimi Code.
repo: CherryHQ/cherry-studio
Popularity
- GitHub stars
- 53k
- Ranking position
- #1809
- License
- AGPL-3.0
- Updated
- 10/16/2026
Comments
- …
More skills from this repository
code-mate-antigravity
Lets your agent analyze code and perform programming tasks. It's useful for reviewing or improving existing code.
CherryHQ/cherry-studio
code-mate-claude-code
Helps your agent analyze and implement code. It's useful for software development tasks and code reviews.
CherryHQ/cherry-studio
code-mate-codex
Lets your agent analyze and implement code. It's useful for getting coding results or comparing with other tools.
CherryHQ/cherry-studio
code-mate-deepseek-harness
Helps your agent analyze and implement code in repositories. It's useful for bounded development tasks and code analysis.
CherryHQ/cherry-studio
Similar skills
benchmark-optimization-loop
Has your agent improve something's speed in a measured way. It tests multiple versions and chooses the fastest one that still works correctly.
affaan-m/ECC
change-impact
Helps your agent analyze the impact of code changes before making them. It compares the planned vs. actual results afterward, covering paths, data, tests, and documentation. Useful for risky or system-wide changes.
affaan-m/ECC
click-path-audit
Lets your agent trace all user buttons and interactions to find bugs. It finds issues where functions seem to work alone but fail together. Useful when bugs persist even after debugging.
affaan-m/ECC