screenshot
Installation
SKILL.md
Screenshot Capture
Use this skill for OS-level capture when the user explicitly wants a screenshot or when a more specialized capture tool cannot reach the target.
Workflow
- Classify the request: full screen, specific app/window, active window, or pixel region.
- Resolve the save target:
- explicit user path -> save there
- user asked for a screenshot with no path -> use the OS default screenshot location
- Codex needs the capture for its own inspection -> use the temp directory
- Prefer a tool-specific capture path when it exists and can reach the target cleanly.
- Otherwise run the bundled helper for the current platform.
- If multiple files are produced, inspect or report them in order instead of pretending there was only one output.
- Always return the saved path or paths and the capture mode used.