原始内容
pi-screenshots
Screenshot picker for pi — browse, capture, and attach screenshots to your prompts.
Install
pi install git:github.com/affsantos/pi-screenshots
Usage
| Command | Description |
|---|---|
/ss |
Open the screenshot picker |
/ss-capture |
Take a screenshot and stage it (macOS) |
/ss-clear |
Clear all staged screenshots |
Ctrl+\ |
Shortcut for /ss |
- Run
/ssto browse recent screenshots - Press Enter to stage/unstage images
- Type your message and send — staged screenshots are automatically attached
Features
- Browse recent images with fuzzy navigation
- Stage multiple screenshots at once
- macOS screenshot capture via
screencapture -i - Widget below editor shows staged count
- Open images in system viewer with
o
Configuration
Checked in order:
pi-screenshots.dirin~/.pi/agent/settings.json:{ "pi-screenshots": { "dir": "~/Screenshots" } }PI_SCREENSHOTS_DIRenvironment variable- macOS: reads
defaults read com.apple.screencapture location, falls back to Desktop - Linux: checks
~/Pictures/Screenshots,~/Pictures,~/Screenshots,~/Desktop
License
MIT