What Codex Consumes
Pluxx builds the Codex target intodist/codex/. Codex consumes:
.codex-plugin/plugin.jsonskills/.mcp.jsonhooks/hooks.jsonwhen the source plugin defines hooks or runtime readiness gatesAGENTS.md.codex/hooks.generated.jsonas a hook translation companion.codex/readiness.generated.jsonas readiness/debug guidance for bundled hook flows.codex/permissions.generated.jsonas a companion mirror, not native enforcement- optional
.codex/config.generated.tomlas a generated starter snippet for the live-proven per-tool MCP approval path
AGENTS.md.
Build And Install
- plugin directory:
~/.codex/plugins/<plugin> - local marketplace entry:
~/.agents/plugins/marketplace.json
--trust or confirm the trust prompt during install.
Companion Lifecycle
The Codex path is intentionally explicit:pluxx build --target codexgenerates the bundle and companion files.pluxx install --target codexinstalls the bundle, but Codex may still needPlugins > Refreshor a restart to pick up the active copy.pluxx codex apply --consumer <installed-bundle> --project-root <project>merges external active-config prerequisites such as[features].hooks = trueand generated per-tool approval stanzas.pluxx verify-install --target codexchecks the installed bundle, cache freshness, trust/config prerequisites, and companion-merge gaps.
hooks/hooks.jsonis bundled, while.codex/hooks.generated.jsonand.codex/readiness.generated.jsonstay as debug/explainability companions..codex/config.generated.tomlis a starter snippet for active config, not an auto-loaded permissions layer..codex/permissions.generated.jsonremains an advisory mirror for broader permission intent.
Agent-Driven Refinement
Build and install are deterministic. Codex only does model work when you explicitly run an agent pass:- review passes
- taxonomy refinement
- instruction rewrites
Codex-Specific Caveats
- In Codex, use the plugin through
@pluxx,skills/, andAGENTS.md. Do not rely on plugin slash commands as a documented Codex surface. - Codex supports project/user hook config and plugin-bundled hooks. Pluxx bundles translated plugin hooks at
hooks/hooks.jsonand mirrors the translation in.codex/hooks.generated.json. - Plugin-bundled Codex hooks still require
[features].hooks = true, enabled plugin state, user review, project trust, and runtime support. Treat that as a prerequisite, not proof that a hook actually fired. .codex/permissions.generated.jsonis a generated mirror of canonical permissions rules. It helps you wire equivalent Codex policy, but Codex does not enforce that file automatically.- Codex MCP auth output is limited to the formats the current Codex plugin schema can express:
bearer_token_env_var,env_http_headers, andhttp_headers.