Skreenshot
macOS accumulates screenshots rapidly—on the Desktop by default, often forgotten and unorganized. This skill provides workflows to tame the chaos.
Quick Start
Find screenshots:
CODEBLOCK0
Organize:
CODEBLOCK1
Default Screenshot Location
macOS saves to ~/Desktop by default. Change it:
CODEBLOCK2
Screenshot Naming Patterns
Default: INLINECODE1
Smart rename with context:
CODEBLOCK3
OCR Search
Search screenshot content with OCR tools:
- - textsnip (CLI): INLINECODE2
- EasyOCR (Python): See INLINECODE3
- macOS built-in: Live Selection (Cmd+Shift+4 then drag)
Organization Strategies
By Project/Client
CODEBLOCK4
By Category
CODEBLOCK5
By Date (auto-archive)
CODEBLOCK6
CleanShot X Integration
If using CleanShot X:
- - Screenshots save to custom folder (configurable)
- OCR built-in (Cmd+Shift+O)
- Auto-upload to cloud (optional)
See references/cleancast-x.md for workflow details.
Automation Scripts
scripts/rename_screenshots.py
Batch rename with smart patterns (date, app name, tags).
scripts/archive_old_screenshots.py
Move screenshots older than N days to archive folder.
scripts/ocr_search.py
Search all screenshots by text content.
Workflow Examples
"Find that screenshot of the error message"
- 1. Search by date range (when did you see the error?)
- OCR search for error text
- Open matching results
"Organize my Desktop screenshots"
- 1. Run archive script for old screenshots
- Move recent ones to categorized folders
- Update links if needed (wikilinks, docs)
"Search all screenshots for 'invoice'"
- 1. Run OCR search script
- Filter results by date/category
- Return matches with preview
References:
- -
references/ocr-setup.md - OCR tool setup and usage - INLINECODE9 - CleanShot X workflows
- INLINECODE10 - Advanced automation scripts
Skreenshot
macOS 会快速积累大量截图——默认保存在桌面上,常常被遗忘且杂乱无章。本技能提供工作流程来管理这些混乱。
快速开始
查找截图:
bash
列出近期截图(最近7天)
find ~/Desktop -name Screenshot*.png -mtime -7 | head -20
按内容搜索(OCR)
textsnip -i ~/Desktop/Screenshot*.png | grep -i receipt
整理:
bash
移动到分类文件夹
mkdir -p ~/Pictures/Screenshots/{work,personal,receipts,memes}
mv ~/Desktop/Screenshot*.png ~/Pictures/Screenshots/personal/
默认截图位置
macOS 默认保存到 ~/Desktop。修改方法:
bash
设置自定义位置
defaults write com.apple.screencapture location ~/Pictures/Screenshots
killall SystemUIServer
截图命名模式
默认格式:Screenshot YYYY-MM-DD at HH.MM.SS.png
带上下文的智能重命名:
bash
使用脚本批量重命名,包含日期和可选标签
python scripts/rename_screenshots.py --add-tags work,receipt
OCR 搜索
使用 OCR 工具搜索截图内容:
- - textsnip(命令行):textsnip -i *.png | grep 搜索词
- EasyOCR(Python):参见 references/ocr-setup.md
- macOS 内置:实时选择(Cmd+Shift+4 然后拖动)
整理策略
按项目/客户
Pictures/Screenshots/
├── client-acme/
├── client-globex/
└── personal/
按类别
Pictures/Screenshots/
├── receipts/
├── bugs/
├── inspiration/
├── memes/
└── reference/
按日期(自动归档)
Pictures/Screenshots/
├── 2026/
│ ├── 01-january/
│ ├── 02-february/
│ └── ...
CleanShot X 集成
如果使用 CleanShot X:
- - 截图保存到自定义文件夹(可配置)
- 内置 OCR(Cmd+Shift+O)
- 自动上传到云端(可选)
工作流程详情参见 references/cleancast-x.md。
自动化脚本
scripts/rename_screenshots.py
使用智能模式(日期、应用名称、标签)批量重命名。
scripts/archiveoldscreenshots.py
将 N 天前的截图移动到归档文件夹。
scripts/ocr_search.py
按文本内容搜索所有截图。
工作流程示例
找到那张错误消息的截图
- 1. 按日期范围搜索(你什么时候看到错误的?)
- 使用 OCR 搜索错误文本
- 打开匹配结果
整理我桌面上的截图
- 1. 运行旧截图归档脚本
- 将近期截图移动到分类文件夹
- 如有需要更新链接(维基链接、文档)
搜索所有包含invoice的截图
- 1. 运行 OCR 搜索脚本
- 按日期/类别筛选结果
- 返回带预览的匹配项
参考资料:
- - references/ocr-setup.md - OCR 工具设置和使用
- references/cleancast-x.md - CleanShot X 工作流程
- references/automation-patterns.md - 高级自动化脚本