用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/dvcrn/skills --skill codex-cloud命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
Install and configure PostHog in an Elixir/Phoenix project, including backend SDK, runtime configuration, an app-owned analytics boundary, identity wiring, JS client assets, template wiring, Plug middleware, and verification. Use when adding PostHog analytics or event capture to an Elixir or Phoenix application.
Install and configure Sentry in an Elixir or Phoenix project using official modern defaults, including runtime DSN configuration, Sentry.LoggerHandler with log message capture and rate limiting, Sentry.PlugContext placement, Cowboy/Bandit server detection, Oban error reporting, PII scrubbing, source code packaging for releases, and verification. Use when adding Sentry error monitoring or updating Sentry setup in an Elixir codebase.
SwiftUI state management using @Observable Store containers (Observation framework, iOS 17+), @Environment injection, store composition, derived state, and async mutation patterns. Use when designing or reviewing Store architecture, migrating from ObservableObject/Combine, translating React hooks or React Query patterns to SwiftUI, or implementing shared app-wide state containers.
| name | codex-cloud |
| description | Run Codex tasks in cloud environments. Use when you need to execute coding tasks asynchronously in the cloud. |
!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 (TUI) to browse available environments- 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 exhaustive and detailed, not one-liners.
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
)"