Chuyển đến nội dung
Skillpedia
Lập trình chung53k · #3380

code-mate-kimi-code

Skill này làm gì

Agent này chạy Kimi Code để thực hiện các tác vụ cụ thể trong một kho mã. Nó nhận một lệnh, thực thi bằng Kimi Code và trả về kết quả.

Khi nào nên dùng

  • ✓Khi bạn muốn AI chạy một lệnh cụ thể trên mã của bạn.
  • ✓Khi bạn muốn tự động hóa các tác vụ lặp lại trong dự án.
  • ✓Khi bạn muốn lấy kết quả của một công cụ mã mà không cần tự chạy bằng tay.

Liên kết skill

https://github.com/CherryHQ/cherry-studio/blob/main/resources/code-cli-skills/code-mate-kimi-code/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/CherryHQ/cherry-studio/blob/main/resources/code-cli-skills/code-mate-kimi-code/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Chạy lệnh sau trong kho mã của tôi: ‘npm install’”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Agent thiết lập một môi trường an toàn, chạy Kimi Code với lệnh của bạn và phân tích kết quả đầu ra để đưa ra kết quả cuối cùng. Nó đảm bảo Kimi Code không truy cập nhiều hơn mức cần thiết và không lưu thông tin đăng nhập của bạn.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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.

Câu hỏi thường gặp

Điều gì xảy ra nếu Kimi Code chưa được cài đặt?

Agent sẽ dừng lại và yêu cầu bạn cài Kimi Code.

Agent có thể thay đổi mã của tôi không?

Có, nhưng chỉ khi bạn yêu cầu rõ ràng, và nó sẽ làm việc đó trên một bản sao an toàn hoặc với quyền hạn chế, rồi kiểm tra lại các thay đổi.

Agent có lưu thông tin đăng nhập của tôi không?

Không, agent không bao giờ yêu cầu, đọc, in ra hay sao chép thông tin đăng nhập của bạn.

Chi tiết

Mô tả gốc của tác giả

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

Độ phổ biến

Sao GitHub
53k
Vị trí xếp hạng
#3380
Giấy phép
AGPL-3.0
Cập nhật
15/10/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự