setuplisted
Install: claude install-skill WillInvest/ClaudeX
# claudex:setup — bootstrap claudex's dependencies
claudex's `/claudex:think` needs two other plugins: the **Codex** plugin
([openai/codex-plugin-cc](https://github.com/openai/codex-plugin-cc), for the Codex
runtime) and **superpowers** ([anthropics/claude-plugins-official](https://github.com/anthropics/claude-plugins-official),
for the brainstorming flow). This skill installs both, then runs the Codex CLI check.
This skill depends only on the `claude` CLI and Bash, so it works even before either
dependency exists. Every step is **idempotent** — re-running `/claudex:setup` is safe
and resumes cleanly.
## Order (important)
Install **both** plugins first, so the user reloads **once** — only then is
`codex:setup` invokable, and you run it last.
```
1. install codex plugin (CLI, no reload needed yet)
2. install superpowers (CLI, no reload needed yet)
3. ONE reload gate (user runs /reload-plugins → both go live)
4. invoke codex:setup (now available; verifies the Codex CLI)
```
## Steps
### 1. Install the Codex plugin
Check first, then add the marketplace and install only if missing:
```bash
claude plugin marketplace list 2>/dev/null | grep -q openai-codex \
|| claude plugin marketplace add openai/codex-plugin-cc
claude plugin list 2>/dev/null | grep -q 'codex@' \
|| claude plugin install codex@openai-codex
```
### 2. Install superpowers
```bash
claude plugin marketplace list 2>/dev/null | grep -q claude-plugins-official \
|| claude plugin market