screenshot
Take a desktop, window or pixel-region screenshot when explicitly asked, or when an OS-level capture is needed.
- Kind
- Skill
- Works with
- Codex, Claude Code
- Source
- openai/skills @ 49f948faa925
- Path
- skills/.curated/screenshot/SKILL.md
- Jobs
- Debugging
Credit
- Made by
- openai
- Original
- github.com/openai/skills/blob/49f948faa9258a0c61caceaf225e179…
- License
- Apache-2.0
Listed by Skill Manifest; not made by us.
InstallCopy it from the source repository, or sign in and let the assistant adapt it for your project.
Install factsScanned 3 Nov 2026
- Adds
- .claude/skills/screenshot/ (the skill folder)
- 5 other files in the folder: LICENSE.txt, agents/openai.yaml, scripts/ensure_macos_permissions.sh, scripts/take_screenshot.ps1 and 1 more
- Runs scripts
- Yes
- scripts/ensure_macos_permissions.sh
- scripts/take_screenshot.ps1
- scripts/take_screenshot.py
- shell block in the text
- Uses the network
- None found
- Needs secrets
- None found
- Reads environment variables
- BASH_SOURCE
- SCRIPT_DIR
- MODULE_CACHE
- PERM_SWIFT
- CODEX_SANDBOX
- Reads outside the project
- /usr/bin/env (scripts/ensure_macos_permissions.sh)
- Calls other skills
- /codex-swift-module-cache
- Value without its scripts
- High
- The main file never tells the agent to run a bundled script, so the text works without them.
- scripts/ensure_macos_permissions.sh
- scripts/take_screenshot.ps1
- scripts/take_screenshot.py: Cross-platform screenshot helper for Codex skills.
- Source revision
- 49f948faa925
- Licence
- Apache-2.0
- Last activity
- 28 Oct 2026
- Review
- Reviewed
Found by a static scan of the stored text; nothing is run. “None found” is not a guarantee, so read what you install before you run it.
# Screenshot Capture Follow these save-location rules every time: 1) If the user specifies a path, save there. 2) If the user asks for a screenshot without a path, save to the OS default screenshot location. 3) If Codex needs a screenshot for its own inspection, save to the temp directory. ## Tool priority - Prefer tool-specific screenshot capabilities when available (for example: a Figma MCP/skill for Figma files, or Playwright/agent-browser tools for browsers and Electron apps). - Use this skill when explicitly asked, for whole-system desktop captures, or when a tool-specific capture cannot get what you need. - Otherwise, treat this skill as the default for desktop apps without a better-integrated capture tool. ## macOS permission preflight (reduce repeated prompts) On macOS, run the preflight helper once before window/app capture. It checks Screen Recording permission, explains why it is needed, and requests it in one place. The helpers route Swift's module cache to `$TMPDIR/codex-swift-module-cache` to avoid extra sandbox module-cache prompts. ```bash bash <path-to-skill>/scripts/ensure_macos_permissions.sh ``` …