open-changed-files-review
Open files edited by Codex in VSCode after making changes, using the bundled open-changed-files script (silent no-op when unavailable).
Installation
Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.
View source ↗GuidesSkill instructions
Open Changed Files Review
Contract
Prereqs:
-
zshavailable onPATH. - Optional: VSCode CLI
code(missing → script no-ops). -
$CODEX_HOME/skills/tools/devex/open-changed-files-review/scripts/open-changed-files.zshavailable.
Inputs:
- File paths touched in the current run (preferred).
- Optional:
CODEX_OPEN_CHANGED_FILES_MAX_FILESto cap opened files.
Outputs:
- Opens the requested files in VSCode (best-effort).
- If VSCode/tool unavailable: silent no-op (still provides a paste-ready command in chat when used manually).
Exit codes:
-
0: success or no-op - non-zero: invalid usage or unexpected runtime failure
Failure modes:
- VSCode CLI
codenot installed or not onPATH. - Input paths do not exist (script filters to existing files).
Use this skill when Codex has edited files and you want to immediately open the touched files in Visual Studio Code for human review.
Inputs
- A list of file paths that were modified/added in this Codex run (preferred; does not require git).
Workflow
- Build a de-duplicated list of existing files from the touched paths.
- Determine the cap:
- Default:
CODEX_OPEN_CHANGED_FILES_MAX_FILES=50 - If there are more files than the cap: open the first N and mention that it was truncated.
- Default:
- Prefer running:
-
$CODEX_HOME/skills/tools/devex/open-changed-files-review/scripts/open-changed-files.zsh --max-files "$max" --workspace-mode pwd -- <files...>
-
- If VSCode CLI
code(or the tool) is unavailable: silent no-op (exit0, no errors), but still print a paste-ready manual command plus the file list for the user.
Paste-ready command template
$CODEX_HOME/skills/tools/devex/open-changed-files-review/scripts/open-changed-files.zsh --max-files "${CODEX_OPEN_CHANGED_FILES_MAX_FILES:-50}" --workspace-mode pwd -- <files...>
Examples
Read the usage examples in the source repository.
View source ↗Source history
- Indexed on
- 2026-01-20
- Index updated
- 2026-02-02
- Branch
- main
Index and sync dates describe this directory. View the source repository for code history.
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!