Portable Conductor-style bootstrap for Codex, using transparent plain markdown skill files.
If you are new to Conductor, read what_is_conductor.md first.
This repo uses a two-step model:
- Run one installer script once per machine/user (global install).
- Run
codex_conductor_initinside any repo you want to initialize (repo init).
The global install gives you reusable skills and a global init command. The repo init adds only local project files needed for Conductor-style workflow.
This repo includes:
-
Skill content as plain markdown files under
skills/ -
Conductor templates under
templates/(workflow + code style guides) -
No encoded/base64 skill payloads are used for installation.
-
Both installers copy from
skills/<name>/SKILL.mdso users can inspect everything before running.
Global install (user profile, offline):
- Skills in global Codex home:
conductor-setupconductor-statusconductor-implementconductor-newTrackconductor-revertupdate-conductor
- Templates in global Codex home:
- Windows:
%USERPROFILE%\.codex\conductor\templates\... - Linux:
$HOME/.codex/conductor/templates/...
- Windows:
- Global init command:
- Windows:
%USERPROFILE%\.codex\bin\codex_conductor_init.cmd - Linux:
$HOME/.local/bin/codex_conductor_init
- Windows:
When you run repo init, it creates/updates local files in that repo:
.codex/skills/<skill>/SKILL.md(copied from global install)conductor/templates/...(copied from global templates; non-destructive)AGENTS.mdrule line:Always run $conductor-status before doing anything else.
.gitignoreline:conductor/
conductor/templates/code_styleguides/is the template library (the available guides to choose from).conductor/code_styleguides/is the active project guides created during$conductor-setup.
This setup is intentionally non-destructive:
- It never deletes your project files.
- It never overwrites existing repo skill folders under
.codex/skills/<skill>. - For
AGENTS.md:- If missing, create it.
- If present, append the required conductor-status rule only if missing.
- For
.gitignore:- If missing, create it.
- If present, append
conductor/only if missing.
In short: append-only when needed, no destructive replacement.
Windows:
- PowerShell 5.1+
Linux:
bash
Run from the folder containing conductor_for_codex.ps1:
powershell -NoProfile -ExecutionPolicy Bypass -File .\conductor_for_codex.ps1What each part does:
powershell: starts a new PowerShell process.-NoProfile: avoids loading profile scripts for predictable behavior.-ExecutionPolicy Bypass: avoids script policy blocking for this run.-File .\conductor_for_codex.ps1: runs the installer.
Advanced override:
powershell -NoProfile -ExecutionPolicy Bypass -File .\conductor_for_codex.ps1 `
-CodexHome "$env:USERPROFILE\.codex" `
-BinDir "$env:USERPROFILE\.codex\bin" `
-SkipPathUpdateFlags:
-CodexHome: custom global Codex home directory.-BinDir: custom install path forcodex_conductor_init.*.-SkipPathUpdate: skip adding the bin directory to user PATH.- Use this only if you intentionally manage PATH yourself.
- Recommended default: do not pass
-SkipPathUpdate, socodex_conductor_init.cmdworks globally.
bash ./conductor_for_codex.shAdvanced override:
CODEX_HOME="$HOME/.codex" BIN_DIR="$HOME/.local/bin" NO_PATH_HINT=0 bash ./conductor_for_codex.shVariables:
CODEX_HOME: custom global Codex home directory.BIN_DIR: custom install path forcodex_conductor_init.NO_PATH_HINT=0: print PATH hint if needed.
- Windows: admin is not required.
- Installs to your user profile.
- Updates user PATH only (not machine PATH).
- Linux: sudo is not required.
- Installs under
$HOME.
- Installs under
After global install, open any repo directory and run:
- Windows:
codex_conductor_init.cmd - Linux:
codex_conductor_init
If PowerShell policy blocks .ps1 resolution, use:
codex_conductor_init.cmdor run init explicitly:
powershell -NoProfile -ExecutionPolicy Bypass -File "$env:USERPROFILE\.codex\bin\codex_conductor_init.ps1"Repo-local after repo init:
your-repo/
.codex/
skills/
conductor-setup/
SKILL.md
conductor-status/
SKILL.md
conductor-implement/
SKILL.md
conductor-newTrack/
SKILL.md
conductor-revert/
SKILL.md
update-conductor/
SKILL.md
conductor/
templates/
workflow.md
code_styleguides/
*.md
AGENTS.md
.gitignore
Global install on Windows:
%USERPROFILE%\.codex\
skills\
(same 6 skill folders)
conductor\
templates\
workflow.md
code_styleguides\
*.md
bin\
codex_conductor_init.cmd
codex_conductor_init.ps1
Global install on Linux:
$HOME/.codex/
skills/
(same 6 skill folders)
conductor/
templates/
workflow.md
code_styleguides/
*.md
$HOME/.local/bin/
codex_conductor_init
Rerunning installer or repo init is safe and idempotent.
- Existing targets are preserved.
- Missing required lines are appended once.
- Duplicate required lines are avoided.
If you want to refresh one specific repo-local skill folder, remove only that folder and rerun repo init.