{"_id":"@ai-content-space/claude-code-codex","_rev":"2-6aacfd76df5ab036175113006eaba165","name":"@ai-content-space/claude-code-codex","dist-tags":{"latest":"0.1.2"},"versions":{"0.1.1":{"name":"@ai-content-space/claude-code-codex","version":"0.1.1","license":"Apache-2.0","_id":"@ai-content-space/claude-code-codex@0.1.1","maintainers":[{"name":"hugh_zhan9","email":"hugh_zhan9@163.com"}],"bin":{"claude-code-codex":"scripts/cli.mjs"},"dist":{"shasum":"688d8b31a4f2268321b3d23e228c8e95dd251355","tarball":"https://registry.npmjs.org/@ai-content-space/claude-code-codex/-/claude-code-codex-0.1.1.tgz","fileCount":34,"integrity":"sha512-lkmHYuCyw1Sq8apHJLgxeI1bTO7La846B3L4ffB0h4GPELtkiLNGgymyyNMX7JrNA4YsLQxglwNP5AOPeeJKLg==","signatures":[{"sig":"MEUCIAdR++4Kmd/17u5UGegQU7qqeX6NtjOeTEg7ZtB4dP0PAiEAwFIvps2KLZc9tdDAjS2wS+YVZxP9bLKGv5pA/dXFefo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":112554},"type":"module","engines":{"node":">=20"},"gitHead":"82f6b03122279745494a00473e48aab0a9515bd3","scripts":{"test":"node --test","test:smoke":"node scripts/cc-companion.mjs setup"},"_npmUser":{"name":"hugh_zhan9","email":"hugh_zhan9@163.com"},"_npmVersion":"10.9.2","description":"Codex plugin that delegates tasks and reviews to Claude Code.","directories":{},"_nodeVersion":"22.14.0","dependencies":{"@anthropic-ai/claude-agent-sdk":"^0.3.167"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/claude-code-codex_0.1.1_1780904252308_0.6792183896506658","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@ai-content-space/claude-code-codex","version":"0.1.2","description":"Codex plugin that delegates tasks and reviews to Claude Code.","type":"module","bin":{"claude-code-codex":"scripts/cli.mjs"},"publishConfig":{"access":"public"},"scripts":{"test":"node --test","test:smoke":"node scripts/cc-companion.mjs setup"},"dependencies":{"@anthropic-ai/claude-agent-sdk":"^0.3.167"},"engines":{"node":">=20"},"license":"Apache-2.0","_id":"@ai-content-space/claude-code-codex@0.1.2","gitHead":"946d232583cd73a11e0bfdedf0564ecab49f87e5","_nodeVersion":"22.14.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-bgjqqN0RysOiQGTzsJ+NFdipBkARCondF1UlcLQM36D1XXV3LtendBA9BGyLyF8CJfVowysuLrnul0sm2sUJvg==","shasum":"632087e4e28f3031fe47c31fdfdf52261b17a5c5","tarball":"https://registry.npmjs.org/@ai-content-space/claude-code-codex/-/claude-code-codex-0.1.2.tgz","fileCount":34,"unpackedSize":116016,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIGG6t5iJvHqyGeuZlRoE9uImeRCfjjLEk9dlmip558zyAiEA6RaOIupSeWmi+/zBrG7lFUKmQdMmlLMH30ys13a2Idg="}]},"_npmUser":{"name":"hugh_zhan9","email":"hugh_zhan9@163.com"},"directories":{},"maintainers":[{"name":"hugh_zhan9","email":"hugh_zhan9@163.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/claude-code-codex_0.1.2_1780907211038_0.5064709544688852"},"_hasShrinkwrap":false}},"time":{"created":"2026-06-08T07:37:32.184Z","modified":"2026-06-08T08:26:51.324Z","0.1.1":"2026-06-08T07:37:32.439Z","0.1.2":"2026-06-08T08:26:51.177Z"},"license":"Apache-2.0","description":"Codex plugin that delegates tasks and reviews to Claude Code.","maintainers":[{"name":"hugh_zhan9","email":"hugh_zhan9@163.com"}],"readme":"# Claude Code Plugin For Codex\n\nLocal Codex plugin that delegates selected tasks and reviews to Claude Code.\n\n## Install\n\nRequires Node.js 20 or newer, the `codex` CLI, and the `claude` CLI on `PATH`.\n\nInstall from npm:\n\n```bash\nnpm install -g @ai-content-space/claude-code-codex\nclaude-code-codex install\n```\n\n`claude-code-codex install` creates a local Codex marketplace at\n`~/.codex/local-marketplaces/claude-code-codex`, points that marketplace at the\ninstalled npm package, runs `codex plugin marketplace add`, runs\n`codex plugin add claude-code@claude-code-codex`, and then runs the plugin setup\ncheck.\n\nFor local development in this repository:\n\n```bash\nnpm install\nnpm test\nnode scripts/cli.mjs install --skip-setup\n```\n\n## Usage\n\nFrom Codex, explicitly ask for one of these skills:\n\n- `claude-code-setup`: check readiness.\n- `claude-code-task`: delegate a task to Claude Code.\n- `claude-code-review`: ask Claude Code to review the current Git change.\n- `claude-code-adversarial-review`: ask Claude Code for a stricter structured review.\n- `claude-code-status`: list plugin-created jobs.\n- `claude-code-result`: show a stored job result.\n- `claude-code-cancel`: cancel an active plugin-created job.\n\nDirect companion commands:\n\n```bash\nclaude-code-codex setup\nnode scripts/cc-companion.mjs setup\nnode scripts/cc-companion.mjs task -- \"Fix the failing auth test\"\nnode scripts/cc-companion.mjs task --background -- \"Run a long investigation\"\nnode scripts/cc-companion.mjs review --base main\nnode scripts/cc-companion.mjs adversarial-review -- \"Focus on auth and data loss\"\nnode scripts/cc-companion.mjs status\nnode scripts/cc-companion.mjs result <job-id>\nnode scripts/cc-companion.mjs cancel <job-id>\n```\n\n## Runtime Notes\n\nThe plugin uses Claude Agent SDK as the primary runtime. The SDK currently installs with:\n\n```bash\nnpm install @anthropic-ai/claude-agent-sdk\n```\n\n`setup` checks availability and readiness. It does not install packages or log in. No MCP tools are used.\nThe npm install command installs package dependencies, including Claude Agent SDK.\nReview commands use a scoped prompt containing the repository root, changed files,\nand diff instead of Claude Code's native `/review` slash command. This keeps the\nreview bounded to the current repository. Review runs with project/local settings\ndisabled while retaining user settings for Claude Code authentication; when the\ndiff is inline, read tools are disabled so Claude cannot inspect sibling\nrepositories.\n\n## Permissions\n\n- Task defaults to workspace-write.\n- Review and adversarial review are read-only.\n- Dangerous permission bypass is never used unless explicitly requested.\n\n## State\n\nJob state is stored under `CODEX_PLUGIN_DATA`, `CLAUDE_CODE_PLUGIN_CODEX_DATA`, or `/tmp/claude-code-companion`.\nOnly sessions created by this plugin are eligible for resume.\nThe workspace index keeps the 50 most recent jobs. Pruned job files and logs are removed best-effort; failed cleanup does not block saving the current index.\n\n## Constraints\n\n- Skill-only Codex plugin.\n- No MCP tools.\n- No automatic dependency install or Claude login.\n","readmeFilename":"README.md"}