Skip to content
Skills Library
Programming · Automation

ce:update

/ce:update

检查 compound-engineering 插件是否已是最新版本,并在落后时给出更新命令。适用于用户说“更新插件”、 “检查版本”、“ce update”、或怀疑当前插件缓存过旧。该技能仅支持 Claude Code marketplace 缓存安装。

Licence
MIT
Last repository change
01.06.2026

Assessment and security

85/ 100Class: good
Format15 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content30 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
4
Scripts
3
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 01.06.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What to check before installing
  • 3 scripts in this package. Review them before installing, as Claude may execute them.

Scripts: scripts/currently-loaded-version.sh, scripts/marketplace-name.sh, scripts/upstream-version.sh

What it does and when to use it

检查 compound-engineering 插件是否已是最新版本,并在落后时给出更新命令。适用于用户说“更新插件”、 “检查版本”、“ce update”、或怀疑当前插件缓存过旧。该技能仅支持 Claude Code marketplace 缓存安装。

Triggers from the description

更新插件检查版本ce update

Arguments

/ce:update [留空即可;本地 --plugin-dir 会提示无需更新]
Original author description

检查 compound-engineering 插件是否已是最新版本,并在落后时给出更新命令。适用于用户说“更新插件”、 “检查版本”、“ce update”、或怀疑当前插件缓存过旧。该技能仅支持 Claude Code marketplace 缓存安装。

How it works

  1. Step 1: Probe versions
  2. Step 2: Apply decision logic
Original SKILL.md headings · 87 lines, 478 words
SKILL.md preview
---
name: ce:update
description: |
  检查 compound-engineering 插件是否已是最新版本,并在落后时给出更新命令。适用于用户说“更新插件”、
  “检查版本”、“ce update”、或怀疑当前插件缓存过旧。该技能仅支持 Claude Code marketplace 缓存安装。
argument-hint: "[留空即可;本地 --plugin-dir 会提示无需更新]"
disable-model-invocation: true
ce_platforms: [claude]
allowed-tools: Bash(bash *upstream-version.sh), Bash(bash *currently-loaded-version.sh), Bash(bash *marketplace-name.sh)
---

# Check Plugin Version

Verify the installed compound-engineering plugin version matches the public
repository `plugin.json` on `main`, and recommend the update command if it
doesn't. Claude Code only.

The public repository version comes from
`plugins/compound-engineering/.claude-plugin/plugin.json` on `main` rather than
the latest GitHub release tag, because the marketplace installs plugin contents
from `main` HEAD. Comparing against release tags
false-positives whenever `main` is ahead of the last tag (the normal state
between releases).

## Step 1: Probe versions

Run these three scripts in parallel via the Bash tool. Each prints a single
line of output; capture the values for the decision logic below. Use
`${CLAUDE_SKILL_DIR}` so the path resolves correctly in both `claude --plugin-dir`
local-development sessions and standard marketplace-cached installs.

```bash
bash "${CLAUDE_SKILL_DIR}/scripts/upstream-version.sh"
bash "${CLAUDE_SKILL_DIR}/scripts/currently-loaded-version.sh"
bash "${CLAUDE_SKILL_DIR}/scripts/marketplace-name.sh"
```

`scripts/upstream-version.sh` reads `plugin.json` on `main` via `gh api`, then
falls back to the GitHub Contents API when `gh` is unavailable in the shell
PATH. It avoids raw.githubusercontent.com because the raw CDN can briefly serve
stale content immediately after release automation updates `main`. It prints
the version string, or the sentinel `__CE_UPDATE_VERSION_FAILED__` if the
public repository version cannot be fetched or parsed.

`scripts/currently-loaded-version.sh` and `scripts/marketplace-name.sh` parse
`${CLAUDE_SKILL_DIR}` against the marketplace-cache layout
`~/.claude/plugins/cache/<marketplace>/compound-engineering/<version>/skills/ce-update`.
They print the version segment / marketplace segment, or the sentinel
`__CE_UPDATE_NOT_MARKETPLACE__` if the path doesn't match (typical for
`claude --plugin-dir` local development).

## Step 2: Apply decision logic

### Handle failure cases

If `scripts/upstream-version.sh` printed `__CE_UPDATE_VERSION_FAILED__`: tell
the user the public repository version could not be fetched or parsed (network
access, `gh`, `curl`, Python, or Node may be unavailable) and stop.

If `scripts/currently-loaded-version.sh` printed
`__CE_UPDATE_NOT_MARKETPLACE__`: the skill is loaded from outside the
standard marketplace cache. Two cases collapse to the same handling: a
`claude --plugin-dir` local-development session, or a non-Claude-Code
platform (this skill is Claude Code-only because it relies on the plugin
harness cache layout). Tell the user:

> "Skill is loaded from outside the marketplace cache at
> `~/.claude/plugins/cache/`. This is normal when using
> `claude --plugin-dir` for local development. No action for this session.
> Your marketplace install (if any) is unaffected — run `/ce:update` in a
> regular Claude Code session (no `--plugin-dir`) to check that cache."

Then stop.

### Compare versions

**Up to date** — `currently_loaded == upstream`:

> "compound-engineering **v{version}** is installed and up to date."

**Out of date** — `currently_loaded != upstream`:

> "compound-engineering is on **v{currently_loaded}** but **v{upstream}** is available.
>
> Update with:
> ```
> claude plugin update compound-engineering@{marketplace_name}
> ```
> Then restart Claude Code to apply."

The `claude plugin update` command ships with Claude Code itself and updates
installed plugins to their latest version; it replaces earlier manual cache
sweep / marketplace-refresh workarounds. The marketplace name is derived from
the skill path rather than hardcoded because this plugin is distributed under
multiple marketplace names (for example, `compound-engineering-plugin` for
public installs per the README, or other names for internal/team marketplaces).
Files in this package (4)
  • SKILL.md 4 KB
  • scripts/currently-loaded-version.sh 1 KB
  • scripts/marketplace-name.sh 1 KB
  • scripts/upstream-version.sh 2 KB

Versions

The database has no other skills named ce:update.

Database snapshot: 13.11.2026 · package version 534ce093bc2c (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100ce-setup
    Check Compound Engineering's tools and repo config and fix what it finds, scaffold a Compound Pack with `pack:<id>`, or draft and refresh coding standards and review docs from pull request history. Use when setting up or diagnosing Compound Engineering, or when creating or…
  • 100agency-compound-engineering
    Bridge Compound Engineering (ce-* plugin skills) into agency routing. Use when substantive git-repo work should run CE’s brainstorm → plan → work → compound loop alongside agency-project-gateway, or when the user asks for CE, /ce-*, compound engineering, or knowledge capture…
  • 100flux-upgrade
    Use when upgrading Flux itself after a new release or when legacy plugin metadata/cache drift leaves Flux on an older version. Refresh marketplace metadata, clear plugin cache, update the install record, and route literal `/flux:upgrade` prompts.
  • 100update-project-skills
    Brings an installed plugin marketplace (claude-skills by default) up to date and reports what is different afterwards. Refreshes the marketplace, updates each plugin installed from it and prints the skills that were added, changed or removed, with a reminder to restart Claude…
  • 100update
    Check for new versions of Claude Code and ClawCode, and print safe update commands. Triggers on /agent:update, /update, "check for updates", "are there updates", "buscar actualizaciones".
  • 90publishing-mental-to-stores
    Publish and update the Mental CLI (@balacode/mental) on every platform it supports: npm with version lockstep and the release.yml workflow, the Claude Code marketplace and Anthropic directory, the Cursor plugin and marketplace, the GitHub Copilot CLI marketplace, VS Code plugin…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.