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.mdSao 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
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
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
- 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.
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
Bình luận
- …
Thêm skill từ kho mã này
code-mate-antigravity
53kCho phép agent của bạn phân tích mã và thực hiện các tác vụ lập trình. Hữu ích để xem xét hoặc cải thiện mã có sẵn.
code-mate-claude-code
53kGiúp agent của bạn phân tích và triển khai mã. Hữu ích cho các tác vụ phát triển phần mềm và xem xét mã.
code-mate-codex
53kCho phép agent của bạn phân tích và triển khai mã. Hữu ích để có kết quả lập trình hoặc so sánh với các công cụ khác.
code-mate-deepseek-harness
53kGiúp agent của bạn phân tích và triển khai mã trong các kho mã. Hữu ích cho các tác vụ phát triển có phạm vi rõ ràng và phân tích mã.
Skill tương tự
diffs
394kGiúp agent của bạn tạo một diff có thể chia sẻ về các chỉnh sửa, dưới dạng liên kết xem hoặc file ảnh, thay vì một bản tóm tắt viết tay.
coding-agent
394kGiúp agent của bạn giao một việc lập trình lớn cho Codex, Claude Code hoặc OpenCode chạy nền, rồi theo dõi tiến độ của nó.
gh-issues
394kGiúp agent của bạn tìm issue trên GitHub, chọn những issue cần xử lý và mở pull request với bản sửa, kể cả theo dõi nhận xét đánh giá.