本文へスキップ
Skillpedia
一般的なプログラミング53k · #3380

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がスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/CherryHQ/cherry-studio/blob/main/resources/code-cli-skills/code-mate-kimi-code/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“私のリポジトリで次のコマンドを実行して:'npm install'”

毎週5つの新しいスキル。1分で読めます。

仕組み

エージェントは安全な実行環境を用意し、指定されたコマンドをKimi Codeで実行します。その出力を分析して最終的な結果を伝えます。Kimi Codeに必要以上のアクセスをさせず、認証情報も保存しないようにしています。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

Kimi Code

Run

  1. Set the Bash working directory to the smallest directory the user authorized and set a finite timeout, normally 10 minutes.
  2. Check availability with command -v kimi. If it is missing, stop and ask the user to install Kimi Code in Code Mate.
  3. 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

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル