/codex-cloud:codex-cloudfrom codex-cloud
Run Codex tasks in cloud environments. Use when you need to execute coding tasks asynchronously in the cloud.
Ships in codex-cloud. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
!codex cloud exec --help
codex cloud exec --env <ENV_ID> "<task_description>"
Use this command to get the repo in owner/repo format:
git remote get-url origin | sed -E 's#^.*(github\.com[:/])##; s#\.git$##'
Default behavior: Use current repo name as ENV_ID
# Default: --env is the current repo (dvcrn/fixmyjp)
REPO=$(git remote get-url origin | sed -E 's#^.*(github\.com[:/])##; s#\.git$##')
codex cloud exec --env "$REPO" "your task"
Override via AGENTS.md/CLAUDE.md:
If a custom ENV_ID is specified at the top of AGENTS.md or CLAUDE.md:
- Repo: dvcrn/fixmyjp
- Codex Cloud ENV: fixmyjp-production-env-123
Then use that custom ENV_ID instead of the default repo name.
- Codex Cloud ENV: <ENV_ID>codex cloud --help for an environment-listing command.codex cloud (TUI).- Repo: owner/repo
- Codex Cloud ENV: <discovered-env-id>
Example AGENTS.md header after discovery:
- Repo: dvcrn/fixmyjp
- Codex Cloud ENV: fixmyjp-prod-abc123
[rest of AGENTS.md content...]
Basic usage (default to current repo):
REPO=$(git remote get-url origin | sed -E 's#^.*(github\.com[:/])##; s#\.git$##')
codex cloud exec --env "$REPO" "your task"
From a file:
REPO=$(git remote get-url origin | sed -E 's#^.*(github\.com[:/])##; s#\.git$##')
cat docs/plan.md | codex cloud exec --env "$REPO"
From multiple files:
cat requirements.md architecture.md | codex cloud exec --env "$REPO"
Important: Tasks should be detailed and self-contained, not one-liners. Include the requested outcome, constraints, and acceptance criteria.
Include:
Bad example:
codex cloud exec --env "$REPO" "add auth"
Good example:
REPO=$(git remote get-url origin | sed -E 's#^.*(github\.com[:/])##; s#\.git$##')
codex cloud exec --env "$REPO" "$(cat <<'EOF'
Implement user authentication system
**Goal:** Add secure user authentication
**Acceptance Criteria:**
- Users can register with email/password
- JWT tokens with 24hr expiry
- All tests pass
**Files to Touch:**
- lib/myapp/accounts.ex
- lib/myapp_web/controllers/auth_controller.ex
- test/myapp/accounts_test.exs
**Implementation:**
- Use bcrypt for password hashing
- Follow Phoenix authentication patterns
EOF
)"
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub dvcrn/skills --plugin codex-cloud