chatgpt-apps
OfficialTurns a ChatGPT app idea into a docs-grounded Apps SDK scaffold with an MCP server, widget UI, and validation report.
Other
Use when the user explicitly asks for a desktop or system screenshot (full screen, specific app or window, or a pixel region), or when tool-specific capture capabilities are unavailable and an OS-leve
Use when the user explicitly asks for a desktop or system screenshot (full screen, specific app or window, or a pixel region), or when tool-specific capture capabilities are unavailable and an OS-level capture is needed.
Follow these save-location rules every time:
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 /scripts/ensure_macos_permissions.sh
To avoid multiple sandbox approval prompts, combine preflight + capture in one command when possible:
bash /scripts/ensure_macos_permissions.sh && \
python3 /scripts/take_screenshot.py --app "Codex"
For Codex inspection runs, keep the output in temp:
bash /scripts/ensure_macos_permissions.sh && \
python3 /scripts/take_screenshot.py --app "" --mode temp
Use the bundled scripts to avoid re-deriving OS-specific commands.
Run the helper from the repo root:
python3 /scripts/take_screenshot.py
Common patterns:
python3 /scripts/take_screenshot.py
python3 /scripts/take_screenshot.py --mode temp
python3 /scripts/take_screenshot.py --path output/screen.png
python3 /scripts/take_screenshot.py --app "Codex"
python3 /scripts/take_screenshot.py --app "Codex" --window-name "Settings"
python3 /scripts/take_screenshot.py --list-windows --app "Codex"
python3 /scripts/take_screenshot.py --mode temp --region 100,200,800,600
--app to capture all windows):python3 /scripts/take_screenshot.py --mode temp --active-window
python3 /scripts/take_screenshot.py --window-id 12345
The script prints one path per capture. When multiple windows or displays match, it prints multiple paths (one per line) and adds suffixes like -w or -d. View each path sequentially with the image viewer tool, and only manipulate images if needed or requested.
bash /scripts/ensure_macos_permissions.sh && \
python3 /scripts/take_screenshot.py --app "" --mode temp
--region to isolate a single display when needed.The helper automatically selects the first available tool:
scrotgnome-screenshotimportIf none are available, ask the user to install one of them and retry.
Coordinate regions require scrot or ImageMagick import.
--app, --window-name, and --list-windows are macOS-only. On Linux, use
--active-window or provide --window-id when available.
Run the PowerShell helper:
powershell -ExecutionPolicy Bypass -File /scripts/take_screenshot.ps1
Common patterns:
powershell -ExecutionPolicy Bypass -File /scripts/take_screenshot.ps1
powershell -ExecutionPolicy Bypass -File /scripts/take_screenshot.ps1 -Mode temp
powershell -ExecutionPolicy Bypass -File /scripts/take_screenshot.ps1 -Path "C:\Temp\screen.png"
powershell -ExecutionPolicy Bypass -File /scripts/take_screenshot.ps1 -Mode temp -Region 100,200,800,600
powershell -ExecutionPolicy Bypass -File /scripts/take_screenshot.ps1 -Mode temp -ActiveWindow
powershell -ExecutionPolicy Bypass -File /scripts/take_screenshot.ps1 -WindowHandle 123456
Use these when you cannot run the helpers.
screencapture -x output/screen.png
screencapture -x -R100,200,800,600 output/region.png
screencapture -x -l12345 output/window.png
screencapture -x -i output/interactive.png
scrot output/screen.png
gnome-screenshot -f output/screen.png
import -window root output/screen.png
scrot -a 100,200,800,600 output/region.png
import -window root -crop 800x600+100+200 output/region.png
scrot -u output/window.png
gnome-screenshot -w -f output/window.png
bash /scripts/ensure_macos_permissions.sh first to request Screen Recording in one place.ModuleCache permission errors in a sandboxed run, rerun the command with escalated permissions.--list-windows --app "AppName" and retry with --window-id, and make sure the app is visible on screen.command -v scrot, command -v gnome-screenshot, and command -v import.Turns a ChatGPT app idea into a docs-grounded Apps SDK scaffold with an MCP server, widget UI, and validation report.
Build or update Figma screens from code using the file's published design system components, variables, and styles.
Builds a Figma design system — tokens, components, theming — from your codebase, phase by phase with review checkpoints.
Run JavaScript in a Figma file through the Plugin API, with the API rules, page handling, and error recovery rules loaded first.
Turns a concept, brand, or reference image into a Codex-compatible animated pet with a validated 192x208 atlas and pet.json.
Create or edit raster images — hero shots, mockups, sprites, cutouts — and place the result in your project.