OpenAI Codex CLI layer for OpenCharly images.
The codex candy installs the OpenAI Codex CLI globally via npm so codex is on
PATH. It depends on nodejs and ships a package.json pinning
@openai/codex, which the build installs globally into ~/.npm-global/bin. A
CUE-validated tmux terminal profile exposes it through the generic Charly agent
channel.
| Property | Value |
|---|---|
| Layer / candy | codex |
| Requires | layer-nodejs |
| Binary | ${HOME}/.npm-global/bin/codex |
| Pinned package | @openai/codex 0.144.6 (in package.json) |
| Install files | charly.yml, package.json |
| Agent channel | agent_provide: tmux, profile codex (terminal) |
| Service / port | none |
Compose the layer by pinning this repo in a box's candy: list:
my-box:
candy:
base: fedora
candy:
- '@github.com/opencharly/layer-codex:v2026.243.0408'After the image is built:
~/.npm-global/bin/codex --version
node -e 'console.log(require(process.env.HOME+"/.npm-global/lib/node_modules/@openai/codex/package.json").version)'The plan: asserts the installed package exactly matches the declared
deterministic pin.
charly.yml— thecodex:candy entity: thenodejsrequire, the tmux terminal profile, and thecheck:assertions, plus the embeddedskill:entity.package.json— pins@openai/codex.CHANGELOG/— per-CalVer release notes..github/workflows/tag-on-merge.yml— CalVer tag +CHANGELOG/on merge.README.md— this user overview.
- Owning skill:
/charly-coder:codex— the npm-global install reference - Runtime parent:
/charly-coder:nodejs - Sibling AI CLIs:
/charly-coder:claude-code,/charly-coder:gemini opencharly/charly— the charly CLI and image builderopencharly/opencharly— the umbrella