Installation & Setup
@maestria/codex is a Codex skills plugin with a companion native custom-agent pack. The maestria CLI installs the skills through Codex’s plugin manager, the maestria-*.toml agent roles under $CODEX_HOME/agents/, and a marked orchestration block in $CODEX_HOME/AGENTS.md or $CODEX_HOME/AGENTS.override.md. It preserves unrelated instructions and does not write config.toml, register models, add MCP servers, or install hooks.
Prerequisites
Section titled “Prerequisites”- Codex CLI
0.145.0or a later version whose plugin and skills behavior you have reverified. - Node.js >=22.12.0 and npm on
PATH. Direct Codex marketplace installation follows Codex’s own prerequisites.
Install through maestria
Section titled “Install through maestria”npx maestria@latest install codexyarn dlx maestria@latest install codexpnpx maestria@latest install codexbunx maestria@latest install codexdeno x maestria@latest install codexnlx maestria@latest install codexThe CLI stages a local marketplace at ~/.cache/maestria/codex-marketplace, then delegates installation to Codex (codex plugin marketplace add, codex plugin add maestria@maestria). It also installs the bundled agent roles under $CODEX_HOME/agents/ and updates the managed global orchestration instructions. The plugin cache and enabled state belong to Codex.
Verify the installation
Section titled “Verify the installation”-
Check the host status
Terminal window npx maestria@latest check codexTerminal window yarn dlx maestria@latest check codexTerminal window pnpx maestria@latest check codexTerminal window bunx maestria@latest check codexTerminal window deno x maestria@latest check codexTerminal window nlx maestria@latest check codex -
List the installed plugin
Terminal window codex plugin list --jsonLook for
maestria@maestriawithinstalled: true. -
Start a fresh Codex session
Plugin discovery is session-sensitive. Confirm the
$maestria:*skills are available. -
Exercise the integration
Ask Codex to handle a meaningful task without a skill prefix and confirm the primary session follows the orchestration guidance. Then invoke
$maestria:orchestrator,$maestria:adventurer,$maestria:builder, and$maestria:reviewer, and confirm the reviewer reports independently. -
Verify native agent installation
Confirm
~/.codex/agents/maestria-*.tomlfiles exist (or the equivalent$CODEX_HOME/agents/directory). Ask Codex to delegate withagent_type: "maestria-builder"and usemaestria-reviewerfor independent review. Read-only roles usesandbox_mode = "read-only".
Update and remove
Section titled “Update and remove”npx maestria@latest update codexyarn dlx maestria@latest update codexpnpx maestria@latest update codexbunx maestria@latest update codexdeno x maestria@latest update codexnlx maestria@latest update codexnpx maestria@latest uninstall codexyarn dlx maestria@latest uninstall codexpnpx maestria@latest uninstall codexbunx maestria@latest uninstall codexdeno x maestria@latest uninstall codexnlx maestria@latest uninstall codexCodex CLI does not expose a separate plugin update command in the supported surface. The maestria CLI refreshes the staged npm package, removes and re-adds maestria@maestria, then refreshes the native agent TOMLs while preserving user model settings. Exact version pinning is not supported through npx maestria update codex --version .... Uninstall removes only the maestria-managed agent files and marked orchestration block; existing Codex instructions and unrelated agent files remain untouched.
Direct Codex installation
Section titled “Direct Codex installation”The repository also exposes a native Codex marketplace entry backed by the published npm package:
codex plugin marketplace add agustinusnathaniel/maestriacodex plugin add maestria@maestriacodex plugin add expects a PLUGIN@MARKETPLACE selector, not a bare npm package name. Direct installation installs only the plugin and skills: it does not copy the native agent TOMLs or modify global AGENTS.md. Use npx maestria install codex for the full native-agent and automatic-orchestration setup.