Codex installs reusable bundles as native
plugins. The deliberation plugin lives in plugins/deliberation/ in this repo
and is discoverable through a repo-scoped marketplace, all generated by
scripts/sync-hosts.js from the canonical sources (docs/tool-guide.md, prompts/*.md).
codex plugin marketplace add antonbabenko/deliberation
Then open the plugin directory with /plugins inside Codex and install
deliberation. Codex reads the repo-scoped marketplace at
.agents/plugins/marketplace.json, whose entry points at the plugin subdirectory
./plugins/deliberation (a root source.path of . is rejected -
openai/codex#17066 - so the plugin is shipped in a subdirectory).
Plugin root: plugins/deliberation/
.codex-plugin/plugin.json- manifest.interfacecarries the requireddisplayName,developerName,category, andcapabilitiesfields;versionis kept in sync withversion.jsonby the release pipeline..mcp.json- registers the MCP server (npx -y @antonbabenko/deliberation-mcp, stdio).skills/deliberation/SKILL.md- "when to delegate" (fromdocs/tool-guide.md).skills/<expert>/SKILL.md- one skill per expert (architect,plan-reviewer,scope-analyst,code-reviewer,security-analyst,researcher,debugger,writing-editor), each carrying that expert's persona so Codex gets the same guidance natively.skills/reload-mcp/SKILL.md- process audit and graceful dashboard recycling after deliberation updates.
Once installed you get the deliberation MCP tools (ask-all, consensus,
ask-gpt / ask-gemini / ask-grok / ask-openrouter, and the eight experts).
The MCP server reads credentials from the host environment. Set only the providers you use:
| Provider | How it authenticates |
|---|---|
| GPT (Codex) | Codex CLI auth (codex login, e.g. ChatGPT - codex login --device-auth on a remote machine; or CODEX_ACCESS_TOKEN; else CODEX_API_KEY) |
| Gemini | The Antigravity CLI (agy) - sign in once with the CLI |
| Grok (xAI) | XAI_API_KEY |
| OpenRouter | OPENROUTER_API_KEY (advisory-only; declare models in ~/.config/deliberation/config.json) |
Missing keys just disable that one provider.
Verified against developers.openai.com/codex/plugins (+ the openai/codex plugin
spec): the .codex-plugin/plugin.json manifest shape and required interface
fields; .mcp.json and skills/<name>/SKILL.md at the plugin root; the
repo-scoped .agents/plugins/marketplace.json and codex plugin marketplace add owner/repo install flow; the root-source.path-rejected requirement
(openai/codex#17066).
[unverified] The submission path for the curated "Codex Plugin Marketplace" (the
@plugin-creator skill scaffolds entries; the public curation/submission flow is
not yet pinned). Confirm at developers.openai.com/codex/plugins before claiming a
curated-directory listing.
When deliberation is updated, invoke the reload-mcp skill or run:
bash scripts/commands/reload-mcp.shThis audits active deliberation processes, protects running workloads, cleans up orphaned processes, and safely cycles the background dashboard daemon if running. Next tool calls and new sessions will automatically resolve the updated server code.