Streamline your Claude Code workflow by automatically copying screenshot file paths to your clipboard
A VS Code extension that monitors your screenshot folder and automatically copies new screenshot file paths to your clipboard, making it effortless to share images with Claude Code.
- Automatic Detection: Monitors your Desktop (or any configured folder) for new screenshot files
- Instant Clipboard: Automatically copies the full file path to clipboard when a screenshot is detected
- Smart Patterns: Configurable file patterns to match different screenshot naming conventions
- macOS Optimized: Works seamlessly with macOS screenshot formats (Screenshot, Screen Shot, CleanShot, etc.)
- Zero Friction: No manual file selection needed - just take a screenshot and paste!
- Open VS Code
- Go to Extensions (Ctrl+Shift+X / Cmd+Shift+X)
- Search for "Claude Screenshot Path"
- Click Install
- Download the latest
.vsix
file from Releases - Open VS Code
- Press
Cmd+Shift+P
(macOS) orCtrl+Shift+P
(Windows/Linux) - Type "Extensions: Install from VSIX"
- Select the downloaded
.vsix
file
Open VS Code settings (Cmd+,
or Ctrl+,
) and search for "Claude Screenshot Path":
Setting | Description | Default |
---|---|---|
claudeScreenshotPath.watchFolder |
Folder to monitor for screenshots | ~/Desktop |
claudeScreenshotPath.filePatterns |
File patterns to match | ["Screenshot*.png", "Screen Shot*.png", "CleanShot*.png"] |
claudeScreenshotPath.enabled |
Enable/disable monitoring | true |
-
Take a screenshot using any method:
- macOS:
Cmd+Shift+3
(full screen) orCmd+Shift+4
(selection) - Third-party tools: CleanShot X, Skitch, etc.
- macOS:
-
Screenshot is automatically detected and its path is copied to clipboard
-
Paste in Claude Code: Simply press
Cmd+V
to paste the file path -
Done! Claude Code can now access your screenshot
- Toggle Screenshot Monitoring: Enable/disable the file watcher
- Command Palette:
Claude Screenshot Path: Toggle Screenshot Monitoring
- Command Palette:
The extension uses Node.js fs.watch()
to monitor file system changes in your configured folder. When a new file matching the screenshot patterns is detected, it uses pbcopy
(macOS clipboard utility) to copy the full file path to your system clipboard.
We welcome contributions! Please see our Contributing Guide for details.
-
Clone the repository:
git clone https://github.com/yazmorukyaz/ss2path.git cd ss2path
-
Install dependencies:
npm install
-
Open in VS Code:
code .
-
Press
F5
to launch Extension Development Host -
Make your changes and test
-
Submit a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
If this extension helped you, please consider:
- ⭐ Starring the repository
- 📝 Writing a review on the VS Code Marketplace
- 🐛 Reporting bugs or suggesting features
- 💝 Contributing to the project
See CHANGELOG.md for a list of changes and version history.
Made with ❤️ for the Claude Code community