code-mate-pi
하는 일
코드에서 특정 작업을 분석하거나 구현하기 위해 ‘Pi’라는 도구를 실행하는 에이전트입니다. 계속된 상호작용 없이 자동으로 작업합니다.
사용하는 경우
- ✓문제를 찾기 위해 코드 조각을 분석하기를 원할 때.
- ✓프로젝트에 특정 기능을 구현하도록 AI가 필요할 때.
- ✓반복적인 코드 분석 작업을 자동화하고 싶을 때.
스킬 링크
https://github.com/CherryHQ/cherry-studio/blob/main/resources/code-cli-skills/code-mate-pi/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“이 파일을 분석해서 구문 오류가 있는지 알려 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트는 백그라운드에서 ‘Pi’ 프로그램을 실행해 코드를 분석하고, 결과를 컴퓨터가 읽을 수 있는 형식(JSON)으로 돌려주도록 설정합니다. 시작하기 전에 Pi가 설치되어 있는지, 접근 설정이 올바른지 확인합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Pi
Run
- Set the Bash working directory to the exact project the user named and set a finite timeout, normally 10 minutes.
- Check availability with
command -v pi. If it is missing, stop and ask the user to install Pi in Code Mate. - Run one sessionless task:
pi --mode json --no-session "<prompt>"
Pass the prompt as one quoted argument. Parse stdout as JSONL and inspect error events; Pi can report model or tool failure in the event stream, so process exit alone is insufficient. Never start interactive Pi or /login.
Authentication And Permissions
If Pi reports missing login, model, provider, or API configuration, stop and ask the user to configure Pi in Code Mate. Never request, read, print, or copy credentials.
Pi has no tool-approval prompt and normally exposes read, write, edit, and Bash tools. For analysis, append --tools read,grep,find,ls. Include write, edit, or Bash only when the user explicitly requested workspace changes, and keep the tool list and working directory as narrow as possible.
Example: run a read-only diagnosis with --tools read,grep,find,ls, then use the final JSONL message only if no error event occurred.
자주 묻는 질문
‘Pi’란 무엇인가요?
코드를 자동으로 분석하고 작업하도록 돕는 프로그램입니다.
‘비대화형’이란 무슨 뜻인가요?
에이전트가 각 단계마다 사용자의 허락이나 확인을 묻지 않고 스스로 작업한다는 뜻입니다.
Pi가 설치되어 있지 않으면 어떻게 되나요?
에이전트가 이 에이전트를 작동시키려면 Pi를 설치해야 한다고 알려 줍니다.
상세 정보
작성자의 원본 설명
Runs Pi non-interactively and parses its JSON event stream for repository tasks. Use when the user asks to delegate a bounded analysis or implementation task to Pi.
repo: CherryHQ/cherry-studio
인기도
- GitHub 스타
- 53k
- 순위
- #3384
- 라이선스
- AGPL-3.0
- 업데이트
- 2026. 10. 15.
댓글
- …
이 저장소의 다른 스킬
code-mate-antigravity
53k에이전트가 코드를 분석하고 프로그래밍 작업을 수행하도록 돕습니다. 기존 코드를 검토하거나 개선할 때 유용합니다.
code-mate-claude-code
53k에이전트가 코드를 분석하고 구현하도록 돕습니다. 소프트웨어 개발 작업과 코드 검토에 유용합니다.
code-mate-codex
53k에이전트가 코드를 분석하고 구현하도록 돕습니다. 코딩 결과를 얻거나 다른 도구와 비교할 때 유용합니다.
code-mate-deepseek-harness
53k에이전트가 저장소 안의 코드를 분석하고 구현하도록 돕습니다. 범위가 정해진 개발 작업과 코드 분석에 유용합니다.