Pi
SkillProductivityThis skill lets your AI run Pi on a project and read the results. Once added, your AI can hand Pi a bounded code analysis or implementation task, meaning work with a clear scope and end point, and get Pi's output back in a form it can use.
Available today. Use it from your connected AI after setup.
No other account needed.
Add the skill, then ask your AI to delegate a bounded analysis or implementation task to Pi on your project.
Then ask your AI: use the Pi skill
What your AI can do with it
- Delegate a code analysis task on a repository to Pi
- Delegate an implementation task to Pi and read what it did
- Run Pi on a project without needing back-and-forth interaction
- Read Pi's results so your AI can act on them
What this skill tells your AI
The instructions your AI receives, as published by cherryhq/cherry-studio in resources/code-cli-skills/code-mate-pi/SKILL.md and read by ahel’s review.
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.
Signals
- GitHub stars
- 52k
- Forks
- 5k
- Last commit
- Sep 2026
Advanced
- Catalog kind
- skill
- Gateway key
code-mate-pi- Source
- github.com/cherryhq/cherry-studio