원클릭으로
claude-setup
Diagnose whether Claude Code is installed and authenticated for this local Codex plugin without making a billable Claude call.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Diagnose whether Claude Code is installed and authenticated for this local Codex plugin without making a billable Claude call.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Compatibility alias for stricter Claude review; prefer claude-review with --adversarial for new use.
Run a structured, read-only Claude Code review over the current git diff or a branch diff.
Delegate a foreground read-only or write-capable task to Claude Code from Codex using the local companion script.
Configure or explain the optional Codex Stop hook that can run a read-only Claude review when a turn ends.
Cancel a running Claude Code companion job by sending process signals through the plugin job index.
Analyze plugin-owned Claude Code job logs for permission prompts and export reviewed allowedTools arguments.
| name | claude-setup |
| description | Diagnose whether Claude Code is installed and authenticated for this local Codex plugin without making a billable Claude call. |
Use this skill when the user wants to check whether Claude Code is available for the Codex Claude companion plugin, or when Claude delegation fails before a task starts.
Run the setup diagnostic with the companion script from the installed plugin
root. If the current working directory is not this plugin checkout, do not first
try node scripts/claude-companion.mjs; resolve the script relative to this
skill file, for example ../../scripts/claude-companion.mjs from the skill
directory.
From the plugin root:
node scripts/claude-companion.mjs setup
For machine-readable output, run:
node scripts/claude-companion.mjs setup --json
To print the optional unmanaged-local Codex approval profile and narrow command prefixes without probing Claude or writing files, run:
node scripts/claude-companion.mjs setup-profile
The setup diagnostic is intentionally non-billable. It only checks:
node --versionnpm --versionclaude --versionclaude auth status --textIf Claude Code is missing, guide the user to install it with:
npm install -g @anthropic-ai/claude-code
claude install stable
If Claude Code is unauthenticated, guide the user to use one of:
claude auth login --claudeai for Claude subscription accountsclaude setup-token for long-lived subscription auth in strict bare modeANTHROPIC_API_KEYCLAUDE_CODE_USE_BEDROCK=1 with AWS credentialsCLAUDE_CODE_USE_VERTEX=1 with GCP credentialsapiKeyHelperThe setup command treats ANTHROPIC_API_KEY,
CLAUDE_CODE_USE_BEDROCK=1, or CLAUDE_CODE_USE_VERTEX=1 as configured
environment auth and reports claudeAuth.status: "env_configured". Claude Code
still validates API keys or provider credentials at runtime.
If claude auth status --text succeeds in the user's normal terminal but the plugin setup check reports unauthenticated, treat it as a sandbox/keychain visibility problem instead of a missing login. Ask the user to approve the Claude-invoking command outside the sandbox, or guide them to bare-compatible auth such as claude setup-token, ANTHROPIC_API_KEY, provider credentials, or apiKeyHelper.
For a smoother unmanaged local Codex setup, recommend a one-time profile that routes approvals to the user:
cat > ~/.codex/claude-companion.config.toml <<'EOF'
approval_policy = "on-request"
approvals_reviewer = "user"
sandbox_mode = "workspace-write"
EOF
codex --profile claude-companion
If organization policy forces automatic approval review and denies external Claude disclosure, the plugin cannot bypass that policy. Tell the user that an admin or workspace policy must allow the narrow Claude delegation command prefixes before live Claude calls can run.
If setup is ready but the first live rescue, plan, ui, or review
command is denied by Codex or the host approval reviewer, diagnose that as a
host permission block, not Claude auth failure. Report the exact narrow command
prefix Codex asked to run and stop. The setup-profile output prints prefixes
using the current script path, so a repo checkout and an installed plugin cache
can show different paths. Do not fall back to a local Codex implementation
unless the user explicitly asks to proceed without Claude.
Do not run a prompt through Claude as part of setup.