docs(codex): update install command for Codex CLI v0.122+

In Codex CLI 0.122 the marketplace subcommand moved from
`codex marketplace` to `codex plugin marketplace`. Update README and
docs/codex-setup.md so install snippets work on current Codex (verified
on 0.128.0). Keep one historical reference in the v0.122 callout.
This commit is contained in:
Federico Bartoli committed 2026-07-08 15:39:36 +02:00
1 parent 217a7e723d
commit 41f6a03a59
2 files changed
+6 -6

No files matched your search

+2 -2
View File
@@ -161,10 +161,10 @@ Use agent definitions from `agents/` as Copilot personas and skill content in `.
<details>
<summary><b>Codex</b></summary>
Install directly via the Codex marketplace:
Install directly via the Codex plugin marketplace (Codex CLI v0.122+):
```bash
codex marketplace add addyosmani/agent-skills
codex plugin marketplace add addyosmani/agent-skills
```
Once installed, invoke skills in chat using @ (e.g., @spec-driven-development). See [docs/codex-setup.md](docs/codex-setup.md) for local installation and troubleshooting.
+4 -4
View File
@@ -5,17 +5,17 @@ This repository is also a [Codex plugin](https://developers.openai.com/codex/plu
## Install (one command)
```bash
codex marketplace add addyosmani/agent-skills
codex plugin marketplace add addyosmani/agent-skills
```
Make sure you have installed the Codex CLI (https://developers.openai.com/codex/cli)
> Requires Codex CLI v0.122 or later. On older releases the command was `codex marketplace add`. See the [Codex CLI docs](https://developers.openai.com/codex/cli).
Codex clones the repo into `~/.codex/plugins/agent-skills/`, registers the marketplace in `~/.codex/config.toml`, and makes the plugin available. Restart Codex if it's already running.
Local clones work too:
```bash
codex marketplace add /path/to/your/clone
codex plugin marketplace add /path/to/your/clone
```
## Usage
@@ -40,4 +40,4 @@ rm codex/skills
cp -R skills codex/skills
```
This is a **local-only** change — don't commit it. The upstream repo keeps the symlink so `codex marketplace add addyosmani/agent-skills` stays a one-liner for everyone else.
This is a **local-only** change — don't commit it. The upstream repo keeps the symlink so `codex plugin marketplace add addyosmani/agent-skills` stays a one-liner for everyone else.