code-mate-kimi-code
できること
このエージェントは、コードリポジトリ内で特定の作業を行うためにKimi Codeを実行します。コマンドを受け取ってKimi Codeで実行し、その結果を返します。
使う場面
- ✓コード内で特定のコマンドを AIに実行させたいとき。
- ✓プロジェクト内で繰り返し行う作業を自動化したいとき。
- ✓コードツールを手動で実行せずに、その出力を得たいとき。
スキルのリンク
https://github.com/CherryHQ/cherry-studio/blob/main/resources/code-cli-skills/code-mate-kimi-code/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“私のリポジトリで次のコマンドを実行して:'npm install'”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは安全な実行環境を用意し、指定されたコマンドをKimi Codeで実行します。その出力を分析して最終的な結果を伝えます。Kimi Codeに必要以上のアクセスをさせず、認証情報も保存しないようにしています。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)を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.
よくある質問
Kimi Codeがインストールされていない場合はどうなりますか?
エージェントは処理を止め、Kimi Codeのインストールを求めます。
エージェントが私のコードを変更することはありますか?
はい。ただし、明示的に依頼した場合のみです。その際は安全なコピー上で、または権限を制限した状態で作業し、後で変更内容を確認します。
エージェントはログイン情報を保存しますか?
いいえ。エージェントが認証情報を求めたり、読み取ったり、表示したり、コピーしたりすることはありません。
詳細
作者による元の説明
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
人気
- GitHubのスター
- 53k
- ランキング
- #3380
- ライセンス
- AGPL-3.0
- 更新日
- 2026/10/15
コメント
- …
このリポジトリの他のスキル
code-mate-antigravity
53kエージェントがコードを分析し、プログラミングの作業を行えるようにします。既存のコードのレビューや改善に役立ちます。
code-mate-claude-code
53kエージェントがコードを分析して実装するのを助けます。ソフトウェア開発の作業やコードレビューに役立ちます。
code-mate-codex
53kエージェントがコードを分析して実装できるようにします。コーディングの結果を得たり、他のツールと比較したりするのに役立ちます。
code-mate-deepseek-harness
53kエージェントがリポジトリ内のコードを分析して実装するのを助けます。範囲が限定された開発作業やコード分析に役立ちます。
似ているスキル
diffs
394k編集内容の実際の共有可能な差分を、手書きの要約ではなく、ビューアーのリンクや画像ファイルとして作成するようエージェントを支援します。
coding-agent
394kCodex、Claude Code、OpenCodeに大きめのコーディング作業をバックグラウンドのワーカーとして渡し、その進捗を確認するようエージェントを支援します。
gh-issues
394kGitHubのイシューを探し、取り組むものを選び、修正を含むプルリクエストを開くようエージェントを支援します。レビューコメントへの対応も含みます。