Update Plugins
Refresh the configured source first, then reinstall only the plugins whose installed copies must change.
Workflow
Fetch current plugin packaging documentation and inspect the installed
codex plugin marketplace upgrade --helpandcodex plugin add --help.Run
codex plugin marketplace listandcodex plugin list. Identify the marketplace name, source type, installed plugins, and whether the user is editing a local source or consuming a Git snapshot.Refresh one Git marketplace with:
codex plugin marketplace upgrade <marketplace>Omit the marketplace name only when the user explicitly wants every Git source refreshed.
Reinstall each requested plugin from its actual marketplace:
codex plugin add <plugin>@<marketplace>codex plugin add <plugin> --marketplace <marketplace>selects the same plugin. Prefer the@form so the source is visible in the command itself.For a local plugin under active development, use the built-in
$plugin-creatorcachebuster/reinstall workflow. Do not increment release versions or hand-edit marketplace configuration merely to invalidate cache.Verify the resulting plugin listing and installation result. Start a new task before testing changed skills, hooks, or MCP tools.
Guardrails
- Do not assume a marketplace is Git-backed; local sources are not upgraded by fetching a remote.
- Do not replace a pinned ref with
mainwithout explicit approval. - Preserve unrelated enabled/disabled plugin state.
- If a source path no longer matches the plugin being edited, resolve that mismatch before reinstalling.