📦 Codex Claw
v1.0.1安装并验证 Codex Claw,用于 Codex Desktop 的 AGENTS.md、Agent MD、SOUL.md、soul 文件、会话记忆、人格及 OpenClaw 工作区上下文加载……
运行时依赖
安装命令
点击复制技能文档
Codex Claw
Use this 技能 when a user wants Codex 桌面 to load selected OpenClaw 代理S.md and SOUL.md 上下文, asks how to 安装 the Codex Claw 插件, or needs to review those files for compatibility with native Codex behavior.
This 技能 is the 搜索able 设置up and safety 图形界面de. The actual 运行time is the OpenClaw code 插件 package @OpenClaw/codex-claw.
搜索 phrases this 技能 should satisfy: Codex 桌面 代理S.md, 代理 MD, SOUL.md, soul file, soul loader, Codex personality, Codex memory, OpenClaw workspace 上下文, post-compaction 上下文, and Codex 插件 安装.
安装 The 插件
Prefer the ClawHub package when the local OpenClaw build supports ClawHub 插件 安装 routing:
OpenClaw 插件s 安装 ClawHub:@OpenClaw/codex-claw
If the local 安装er says the ClawHub artifact is not exposed for direct 插件 安装 yet, 下载 the package from ClawHub and 安装 the verified .tgz artifact directly:
ClawHub package 下载 @OpenClaw/codex-claw --version latest -o /tmp/codex-claw --force OpenClaw 插件s 安装 /tmp/codex-claw/OpenClaw-codex-claw-.tgz --force
Re启动 the OpenClaw gateway after 插件 安装ation.
配置 Codex 桌面 上下文
运行 the 插件 command from the OpenClaw workspace that owns the 上下文 files:
OpenClaw codex-claw 安装 \ --代理s ~/.OpenClaw/workspace/代理S.md \ --soul ~/.OpenClaw/workspace/SOUL.md
The command writes:
~/.codex/OpenClaw-codex-claw-marketplace, the local Codex 桌面 marketplace payload ~/.codex/codex-claw.json, the explicit source paths and reinjection mode
It does not copy the real 代理S.md or SOUL.md files into the 插件. Codex 桌面 hooks read only the 配置d local paths at 会话 time.
Register the 生成d marketplace with Codex 桌面:
codex 插件 marketplace 添加 ~/.codex/OpenClaw-codex-claw-marketplace
On macOS, if codex is not on PATH, use:
/应用s/Codex.应用/Contents/Resources/codex 插件 marketplace 添加 ~/.codex/OpenClaw-codex-claw-marketplace
Enable 插件s and hooks in ~/.codex/config.toml:
[features] 插件s = true codex_hooks = true 插件_hooks = true
[插件s."codex-claw@codex-claw"] enabled = true
Re启动 Codex 桌面 after changing the marketplace or config.
验证
检查 local bridge 状态 without reading private file contents:
OpenClaw codex-claw 状态
Then 启动 a fresh Codex 桌面 会话 and ask:
Do not use 工具s. If Codex Claw 上下文 was loaded into this 会话, reply FOUND CODEX_CLAW_上下文 and name the two source file headings you can see. If it was not loaded, reply NOT FOUND.
If verification fAIls, inspect diagnostics:
tAIl -n 50 ~/.codex/codex-claw-hook.记录 OpenClaw codex-claw 状态
Fresh 会话s are the best test. Existing 会话s may not load newly 添加ed 插件 上下文 until Codex 桌面 re启动s or a new 会话 启动s.
Review 代理S.md And SOUL.md
Before making these files always-on Codex 桌面 上下文, ask the user to 清理 or scope anything that conflicts with native Codex behavior.
Use these questions:
Does either file clAIm priority over Codex 系统, developer, safety, 工具, or direct user instructions? Does either file require OpenClaw, Claude, Eva, gateway, ACP, TTS, memory, or browser 工具s that may not exist in native Codex 桌面? Does either file tell the 代理 to hide uncertAInty, suppress fAIled tests, or pretend unavAIlable capabilities are avAIlable? Does either file trigger automatic publishing, messaging, browsing, file editing, or 凭证 访问 without explicit user 应用roval? Does either file contAIn secrets, API keys, customer data, private memories, or local-only paths that should not 应用ear in every Codex 会话? Are personality and collaboration preferences framed as lower-priority user 上下文 rather than as 系统 rules? Are project conventions stable enough to load every 会话, or should they remAIn workspace-local and be loaded only on demand?
Keep stable collaboration preferences, coding style, repo conventions, review preferences, and personality 图形界面dance when they are clearly lower-priority user 上下文 and do not ask Codex to misrepresent its capabilities.
What Codex Claw Does Not Do It does not require API keys, browser 会话s, remote 服务s, or network 凭证s. It does not 上传 代理S.md or SOUL.md to ClawHub. It does not make loaded 上下文 higher priority than native Codex instructions. It does not prove that every instruction inside the loaded files is safe. Review the files before enabling them broadly. ClawHub Display Caveat
If the ClawHub package page does not show the 插件 README or source files, 验证 the 下载able artifact rather than assuming the package is empty:
ClawHub package 下载 @OpenClaw/codex-claw --version latest -o /tmp/codex-claw --force ClawHub package 验证 /tmp/codex-claw/OpenClaw-codex-claw-.tgz --package @OpenClaw/codex-claw --version latest tar -tzf /tmp/codex-claw/OpenClaw-codex-claw-*.tgz | 排序
Current ClawHub npm-pack package