Skip to content
Development
Command

/codex-update

Install or update the upstream openai/codex-plugin-cc to the pinned tag

From plugin
ai-plugins-cc
411 skills2 agents11 commands
Install
$ npx -y skills add dysfunc/ai-plugins-cc --agent claude-code

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/codex-update

Context preview

What this command does when you run it.

Install or update the upstream openai/codex-plugin-cc to the pinned tag

Command definition

codex-update.md
description: Install or update the upstream openai/codex-plugin-cc to the pinned tag
argument-hint: '[--tag=vX.Y.Z] [--into=PATH] [--pin] [--json]'
allowed-tools: Bash(node:*)

Run:

node "${CLAUDE_PLUGIN_ROOT}/scripts/ai-companion.mjs" codex-update $ARGUMENTS

Behavior:

  • Downloads `https://codeload.github.com/openai/codex-plugin-cc/tar.gz/refs/tags/<tag>`.
  • Verifies the SHA-256 against `ai-plugins-cc.upstream.pinnedSha` in `@ai-plugins-cc/codex-adapter`'s `package.json` if pinned. Refuses to install on mismatch.
  • Atomic-renames the extracted tree into the managed cache (default: `~/.cache/ai-plugins-cc/codex-plugin-cc/`).
  • Subsequent invocations of `/ai:review --provider=codex` and friends discover this install automatically.

Flags:

  • `--tag=vX.Y.Z` — override the pinned tag. Use only when you've reviewed the upstream changes and intend to lift the pin afterwards.
  • `--pin` — after install, write the observed SHA back into `@ai-plugins-cc/codex-adapter`'s `package.json` so subsequent installs hash-verify against it. **Maintainer flag only**: refuses to write to a `node_modules` copy and surfaces the SHA so it can be pasted manually instead.
  • `--into=PATH` — override the install directory.
  • `--json` — emit the full result as JSON.

Output the install summary verbatim so the user sees the resolved tag, SHA, target path, and whether the pin was written.

Read more
Ships withai-plugins-cc

Claude Code plugins that delegate to external AI CLIs — Codex, Gemini, and Grok — sharing a hardened core and an optional umbrella plugin that dispatches across providers. Status: active development.

Get the whole plugin, auto-invoked
Stats
4
Stars
0
Views
0
Forks
Maintained
Maintenance
JavaScript
Language
Apache-2.0
License
3mo ago
Last commit
3mo ago
Created

Repo: dysfunc/ai-plugins-cc