Kimi Code
SkillProductivityThis skill lets your AI hand a bounded coding task in a repository to Kimi Code and read back the result. Once added, your AI runs Kimi Code without interactive prompts and follows its event stream, so you can delegate a defined repo task and get the outcome without doing the handoff yourself.
Available today. Use it from your connected AI after setup.
No other account needed.
After adding the skill, ask your AI to delegate a bounded repository task to Kimi Code whenever you have one you want handled.
Then ask your AI: use the Kimi Code skill
What your AI can do with it
- Delegate a bounded coding task in a repository to Kimi Code
- Run Kimi Code in non-interactive prompt mode
- Read back the result of the delegated task
- Parse Kimi Code's event stream to see how the task went
What this skill tells your AI
The instructions your AI receives, as published by cherryhq/cherry-studio in resources/code-cli-skills/code-mate-kimi-code/SKILL.md and read by ahel’s review.
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.
Signals
- GitHub stars
- 52k
- Forks
- 5k
- Last commit
- Sep 2026
Advanced
- Catalog kind
- skill
- Gateway key
code-mate-kimi-code- Source
- github.com/cherryhq/cherry-studio