Code Pluginsource linkedVerified

Codexv2026.10.6

OpenClaw Codex app-server harness and native session supervision plugin.

@openclaw/codex·runtime codex·by @openclaw
openclaw plugins install clawhub:@openclaw/codex
Latest release: v2026.10.6Download zip

Compatibility

Built With Open Claw Version
2026.10.6
Min Gateway Version
>=2026.5.1-beta.1
Plugin Api Range
>=2026.10.6
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
ℹ
Credentials
Local execution can default to unrestricted execution without approval prompts unless host or session policies restrict it. This configurable posture is disclosed in the linked [OpenClaw policy documentation](https://docs.openclaw.ai/plugins/codex-harness/app-server). Ordinary harness state defaults to an agent-specific directory; native-session features intentionally use personal Codex state.
✓
Install Mechanism
Uses conventional OpenClaw/npm installation with pinned dependencies and a managed Codex executable. The package declares no lifecycle scripts. SkillSpector was inapplicable because no skills are bundled.
✓
Instruction Scope
Native agent tools require owner authorization; supervision transcript reads and mutations have separate controls. Plugin installation requires an owner or administrator command, and archive operations check active bindings and descendants.
ℹ
Persistence & Privilege
Native-session discovery defaults enabled. Catalog and binding stores have entry limits, and child processes have shutdown and reaping paths. Disabling or uninstalling leaves supervised chats locked and unavailable, as disclosed.
✓
Purpose & Capability
Model execution, authentication, session browsing, transcript handling, and optional supervision fit the declared Codex integration purpose.
Assessment
Choose approval-based execution or a restricted session mode before use. Disable sessionCatalog.enabled if you do not want native conversations available in OpenClaw. Enable raw transcripts and write controls only when needed, and consider allow_destructive_actions="ask" for connected apps. Sharing the user Codex home also shares its account and native state.
✗
dist/.setup/dynamic-tools-C-T-9FN5.mjs:1941
Shell command execution detected (child_process).
✗
dist/.setup/transport-stdio-lgeKKHyw.mjs:142
Shell command execution detected (child_process).
✗
dist/.setup/native-auth-CveRfTpz.mjs:42
File appears to expose a hardcoded API secret or token.
Patterns worth reviewing
These patterns may indicate risky behavior. Check the VirusTotal and OpenClaw results above for context-aware analysis before installing.

Verification

Tier
source linked
Scope
artifact only
Summary
Validated package structure and linked the release to source metadata.
Commit
fe06181dc5ec
Tag
fe06181dc5ecc01cf8904abbfc26925925efefbc
Provenance
No
Scan status
clean

Tags

alpha
2026.5.19-alpha.1
beta
2026.10.10-beta.3
latest
2026.10.6

OpenClaw Codex

Official OpenClaw plugin for OpenAI Codex app-server integration. It exposes the Codex-managed GPT model catalog, the Codex runtime surfaces used by OpenClaw agents, and opt-in supervision of native Codex sessions.

Install from OpenClaw:

openclaw plugins install @openclaw/codex

Use this plugin when you want OpenClaw to run Codex-backed model turns, media understanding, and prompt overlays through the Codex app-server harness, or to browse non-archived Codex CLI, VS Code, Atlas, and ChatGPT sessions and paginated transcripts across paired computers.

Guided onboarding attempts to install and enable supervision after it detects a native Codex installation and the selected inference backend passes its live check; Codex does not need to be the primary backend. Supervision activates when that opportunistic plugin setup succeeds. App Server availability is checked when supervision connects. An explicit Codex plugin disable, plugin-policy block, or supervision.enabled: false prevents opportunistic enablement. Manual setups enable plugins.entries.codex.config.supervision.enabled. Without explicit App Server connection settings, supervision uses a managed user-home stdio connection; explicit appServer settings are honored.

The Gateway-backed operator CLI is:

openclaw codex sessions [--search <text>] [--host <id>] [--limit <count>] [--cursor <cursor>] [--json] [--url <url>] [--token <token>] [--timeout <ms>] [--expect-final]
openclaw codex continue <thread-id> [--json] [--url <url>] [--token <token>] [--timeout <ms>] [--expect-final]
openclaw codex archive <thread-id> --confirm-no-other-runner [--json] [--url <url>] [--token <token>] [--timeout <ms>] [--expect-final]

The catalog never includes archived threads and has no archived or include-archived option. Rows appear in the normal Control UI sessions sidebar and open in the normal Chat pane. Transcript history requires a recent Codex App Server with thread/turns/list and is fetched 20 full-item turns at a time through opaque cursors; OpenClaw does not fall back to an unbounded thread/read, and rejects a serialized transcript page above 20 MiB before transport. --limit defaults to 50 sessions per host, --cursor requires --host, and the sessions Gateway timeout defaults to 75,000 ms so cold paired-node catalogs can complete. Continue and archive retain the shared 30,000 ms default. All operator surfaces require operator.write. Paired-node rows can be listed and read; continue and archive operate only on the Gateway-local host, and archive requires the no-other-runner confirmation. Catalog registration does not require supervision.enabled; that setting gates agent-facing supervision tools.

Local discovery reads native provenance from plain or compressed rollouts. A failed read can fall back to the other representation and does not cache an unknown originator as a permanent unmanaged result.

With appServer.remoteWorkspaceRoot, OpenClaw maps workspace-relative paths to the remote root. Local filesystem-root workspaces, including / and Windows drive roots, follow the same mapping.

A supervised OpenClaw Chat cannot be deleted while its model-selection lock protects the native binding. Before native archive, OpenClaw checks the exact target and every non-archived spawned descendant reported by Codex; any active OpenClaw binding blocks the operation. Descendant pagination errors, cycles, and safety-limit exhaustion also fail closed. Codex still does not expose a conditional archive operation or cross-process runner lease, so the confirmation covers unknown native clients and the race between the status read and archive request.

Disabling or uninstalling the plugin leaves supervised Chats locked and unavailable rather than rerouting them. Reinstall or re-enable the same plugin and restart the Gateway to resume those Chats.

These shell commands differ from the in-chat /codex runtime commands. In particular, /codex sessions --host <node> lists Codex CLI session files on one node, /codex threads uses the current conversation's App Server connection, and /codex resume or /codex bind changes that conversation's binding. There is no /codex archive runtime command.

Native Codex plugin catalogs are discoverable with /codex plugins available, including repository marketplaces declared in .agents/plugins/marketplace.json in the bound workspace. An owner or operator.admin can install and authorize an exact plugin with /codex plugins install <plugin>@<marketplace>. The owner-scoped codex_plugins agent tool only reads marketplace metadata; installation and policy changes stay on authenticated /codex management commands. Explicitly installing a plugin trusts its skills, apps, MCP servers, and hooks.

Cached app inventory diagnostics reflect the current refresh or invalidation. Failures from superseded requests remain logged without replacing that newer status.

For a supervised branch, Codex App Server selects the snapshot fork's model and provider from its current native configuration. OpenClaw starts the canonical harness thread with exactly that returned pair. Codex persists the canonical thread's native selection, and later resumes preserve it because OpenClaw omits model and provider overrides. OpenClaw cannot substitute its outer runtime, model, or fallback. The returned initial pair can differ from the source's last recorded model.

The visible-history mirror keeps at most 200 user or assistant messages, 512 KiB total, and 64 KiB per message. Image inputs become [Image attachment]; image data and local paths are not copied.

When assembled context bootstraps a Codex thread, redacted tool payloads retain literal JSON field names. Tool inputs retain their shape; tool results retain redacted content.

Settled-turn finalization uses the same configured Codex App Server transport as the supervised conversation. Remote websocket App Server configurations stay on their configured transport. Managed user-home stdio launches running inside an Agent home, and not through the proxy launcher, use a private stdio side turn for native-tool isolation. The bounded finalizer preserves the selected model, provider, and native authorization returned by Codex, and rejects native tool evidence outside the finalization contract. It may mirror a final answer after completed tool work; it does not diagnose why a model omitted a visible final message.

When settled-turn recovery rejects history, the codex settled-turn finalization context capture failed warning includes a stable reason, such as item_limit, byte_limit, field_limit, unsupported_user_image, or snapshot_invalidated. Unknown failures use history_read_failed. The warning excludes transcript content and exception text. Rejected history remains unavailable for finalization, and completed actions are never replayed.

See the Codex harness and Codex supervision guides.