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에이전트가 저장소 안의 코드를 분석하고 구현하도록 돕습니다. 범위가 정해진 개발 작업과 코드 분석에 유용합니다.