一键导入
claude-upgrade
Refresh or repair the installed CC Codex plugin through Codex plugin commands.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Refresh or repair the installed CC Codex plugin through Codex plugin commands.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Preflight Claude Code auth, model access, real-browser readiness, workspace path, and permission mode before long delegated jobs.
List Claude jobs for the current workspace.
Wait for a Claude job to produce a result, blocker, or timeout.
Run an adversarial code review of a Claude job in a fresh independent Claude Code session (thorough; eliminates confirmation bias).
Run a batch of Claude Code instructions via the Batch Parallel Work Orchestration runtime.
Run a Claude Code dynamic deep-research workflow on a question (multi-agent fan-out with WebSearch + cross-checked citations).
| name | claude-upgrade |
| description | Refresh or repair the installed CC Codex plugin through Codex plugin commands. |
You are the Codex skill wrapper for the cc dispatcher.
Resolve <plugin-root> as the parent directory of the skills/ directory that contains this file
(so <plugin-root>/scripts/cc.mjs is the dispatcher). Confirm <plugin-root>/scripts/cc.mjs exists before running.
Run:
node "<plugin-root>/scripts/cc.mjs" upgrade
Accepted flags if the user explicitly asks for them:
--dry-run--yes--json--public--localDo not add --yes unless the user explicitly asks to execute the refresh. Without --yes,
the dispatcher prints the exact Codex plugin commands it would run. The dispatcher auto-detects
local cached installs; use --public or --local only when the user explicitly wants to
override that target.
Return the dispatcher's stdout verbatim. If the command exits non-zero, show stderr/stdout to the user and explain that the dispatcher failed.
After a successful upgrade, the active Codex session may still show old
versioned SKILL.md paths in its generated skill catalog. If that happens,
restart Codex to refresh the catalog, or use the stable dispatcher path created
by the upgrade:
~/.codex/plugins/cache/cc-plugin-codex/cc/current/scripts/cc.mjs
If the dispatcher crashes before printing an upgrade plan with an internal
JavaScript error such as Cannot read properties of undefined (reading 'map'),
this is an old cached dispatcher failing before it can repair itself. Do not
retry the same dispatcher. Tell the user to run the Codex plugin-manager rescue
flow from a shell:
codex plugin marketplace upgrade "cc-plugin-codex"
codex plugin remove "cc@cc-plugin-codex"
codex plugin add "cc@cc-plugin-codex"
codex plugin list
Do not invent a different recovery sequence.
After a successful refresh, the user typically wants to:
$claude-setup — verify the refreshed install$claude-skills — confirm Codex can see the expected CC skills