update
- Say what you're about to do: "Checking the skill repository for a newer version."
- Run
node "$CLAUDE_PLUGIN_ROOT/scripts/update.mjs"(no flags yet) and print its output verbatim. This only checks and reports; it changes nothing. - If it reports you are already on the latest version, stop there.
- If a newer version exists, it prints what changed and ends with
install?— ask the human that question directly, in your own words, and wait for a clear yes. - Only after a yes, run
node "$CLAUDE_PLUGIN_ROOT/scripts/update.mjs" --confirm. This is the outward act: it verifies no key or setting lives inside the skill folder (refusing otherwise), then runs your host's own plugin update. Print its output verbatim, including a refusal. - End with one line the human can act on: updated to the new version and a restart is needed, or why nothing changed.