Codex Workflows is a shareable mirror of the safe parts of ~/.codex.
Tracked here:
AGENTS.mdconfig.toml.exampleplaybooks/prompts/roles/rules/skills/
Not tracked here:
- secrets or auth files
- local history, sessions, logs, caches, sqlite state, or backups
- per-project trust entries from
config.toml - built-in
skills/.system/
./scripts/sync-shareable-from-home.shThis refreshes the tracked directories from your local ~/.codex and regenerates
config.toml.example.
./scripts/install-shareable-to-home.shThis overlays the tracked files into ~/.codex without deleting local-only state. It does
not overwrite your live config.toml; it writes
~/.codex/config.toml.from-repo.example for manual merge instead.
just preflight
just gate-shareable
just sync-home
just install-homejust preflightvalidates the tracked shareable surface, checks key native model/feature/command/role/tool drift against a local upstream Codex clone when available, and checks that the live~/.codexinstall matches it.just gate-shareablerunspreflight, installs into a temp Codex home, and re-runs the checker against that temp tree so install drift shows up before handoff.- If
justis unavailable, run./scripts/check-shareable.shdirectly. You can override the upstream clone path with--upstream-codex /path/to/codex.
config.toml.examplekeeps model, feature, MCP, and agent settings.[projects."..."]trust entries are intentionally removed because they are machine-specific.config_filepaths are rewritten to relativeroles/*.toml.- MCP env var names are preserved, but no key values are stored.