sc-commands
v1.1.0
Published
CLI tool to easily take screenshots and ask Claude Code or other AI about them
Downloads
37
Maintainers
Readme
sc-commands
CLI tool to easily take screenshots and ask Claude Code or other AI about them.
macOS only. Uses screencapture to capture windows or the full screen, and provides Claude Code skills for quick visual Q&A.
Installation
npm install -g sc-commandsCLI Commands
sc select
Select a target window for future captures. Shows an interactive list of all visible windows and saves your choice.
$ sc select
? Select the target window:
❯ Firefox — GitHub
Terminal — zsh
Blender — untitled
Saved: Firefox — GitHubsc capture
Take a screenshot of the previously selected window. The window does not need to be in the foreground. Outputs the saved file path.
$ sc capture
/Users/you/.config/sc/screenshots/Firefox_2026-04-07T07-14-30-803Z.pngYou must run sc select first to choose a target window.
sc full-capture
Take a screenshot of the entire screen. Outputs the saved file path.
$ sc full-capture
/Users/you/.config/sc/screenshots/FullScreen_2026-04-07T07-14-30-803Z.pngsc latest
Print the path of the most recent screenshot.
$ sc latest
/Users/you/.config/sc/screenshots/Firefox_2026-04-07T07-14-30-803Z.pngClaude Code Skills
This tool includes two Claude Code skills that combine screenshots with AI Q&A.
/sc <question>
Captures the selected window and asks Claude Code about it.
/sc What does this error mean?
/sc How do I fix the layout shown here?/scf <question>
Captures the full screen and asks Claude Code about it.
/scf Which button should I click to create a repository?
/scf What is shown in this window?Configuration
All settings are stored in ~/.config/sc/sc.json.
{
"window": { "id": 567, "app": "Firefox", "title": "GitHub" },
"screenshotsDir": "/path/to/custom/dir"
}window— Target window info (set automatically bysc select)screenshotsDir— Custom screenshot save directory (default:~/.config/sc/screenshots/)
License
MIT
