Bootstrap, validate, and harden a Windows machine for Codex development in one pass.
This skill bootstraps and verifies a Windows machine for Codex development workflows.
- Core tools:
git,python,node,npm,gh,rg,uv - Python tooling support:
python -m virtualenv --version,python -m pylint --version(installs missing Python packages in auto mode) - Optional PDF tooling: Python imports for
reportlab,pypdf,pdfplumber,pdf2image,PIL, pluspdftoppm,pdfinfo, andqpdf - Git identity:
git config --global user.name/user.email - GitHub auth:
gh auth status(active account)
The script supports one-shot setup mode:
-AutoInstallinstalls missing core tools withwinget-AutoInstallinstalls missingvirtualenvmodule withpython -m pip install --user virtualenv-AutoInstallinstalls missingpylintmodule withpython -m pip install --user pylint-AutoInstalladds the Python user Scripts directory to userPATHusing a%USERPROFILE%-based path entry-PromptOptionalToolsasks whether to install optional tools (jq,fd,bat,Git LFS,Docker Desktop)-InstallOptionalToolsinstalls optional tools without prompting-PromptPdfToolsasks whether to install PDF tooling (reportlab,pypdf,pdfplumber,pdf2image,Pillow, Poppler, QPDF)-InstallPdfToolsinstalls PDF tooling without prompting- then re-runs checks and reports
ReadyorNot Ready
- Copy this folder to:
%USERPROFILE%\.codex\skills\codex-windows-bootstrap - Restart Codex (or start a new session).
- Trigger with:
Use $codex-windows-bootstrap to bootstrap this machine.
Audit only:
powershell -ExecutionPolicy Bypass -File .\scripts\bootstrap-codex-windows.ps1Auto-install missing tools:
powershell -ExecutionPolicy Bypass -File .\scripts\bootstrap-codex-windows.ps1 -AutoInstallAuto-install and ask whether optional tools should be installed:
powershell -ExecutionPolicy Bypass -File .\scripts\bootstrap-codex-windows.ps1 -AutoInstall -PromptOptionalToolsAuto-install including optional tools without prompting:
powershell -ExecutionPolicy Bypass -File .\scripts\bootstrap-codex-windows.ps1 -AutoInstall -InstallOptionalToolsAuto-install and ask whether PDF tools should be installed:
powershell -ExecutionPolicy Bypass -File .\scripts\bootstrap-codex-windows.ps1 -AutoInstall -PromptPdfToolsAuto-install including PDF tools without prompting:
powershell -ExecutionPolicy Bypass -File .\scripts\bootstrap-codex-windows.ps1 -AutoInstall -InstallPdfToolsSet Git identity:
powershell -ExecutionPolicy Bypass -File .\scripts\bootstrap-codex-windows.ps1 -ConfigureGit -GitUserName "your-name" -GitUserEmail "you@example.com"Combined:
powershell -ExecutionPolicy Bypass -File .\scripts\bootstrap-codex-windows.ps1 -AutoInstall -ConfigureGit -GitUserName "your-name" -GitUserEmail "you@example.com"The script outputs JSON with:
Status(Ready/Not Ready)Actions(install/config actions attempted)InstalledMissingPdfMissingMisconfiguredAllChecks