fix(update-skills): prefer --scope managed for IT installs (0.27.1) - #2
Merged
Merged
Conversation
At Moth+Flame, mothy is almost always Scope: managed. Step 1 now branches on Scope, and Step 2 leads with `claude plugin update … --scope managed` for that path instead of wasting a round trip on the bare user-scope update. Same guidance in the onboarding cheat sheet. Bare update remains for hand installs.
richheadley
marked this pull request as ready for review
September 9, 2026 18:50
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
The
/update-skillscoach (and the onboarding cheat sheet) led with:At Moth+Flame, installs are almost always Scope: managed (IT push). That bare update then fails with
Plugin "mothy" is not installed at scope user, wasting a coaching round trip before the coach fell back to--scope managedin an "if error" subsection.Fix
plugins/mothy/skills/update-skills/SKILL.mdclaude plugin list(managedvsuser/project/local).claude plugin update mothy@mothy-marketplace --scope managedwhen Scope was managed (still after marketplace update). Bare update is only for hand installs.docs/onboarding-claude-code-skills.md— same: managed is the normal M+F path; bare update only for hand installs.plugins/mothy/docs/ONBOARDING.md— no change; it only documents first-timemarketplace add+install, not the update sequence.Version — patch bump
0.27.0→0.27.1inplugin.json+marketplace.json.Step 2 managed-first update path
Follow-up (not in this repo)
The skill still points Chat/Cowork at the parallel playbook
mothy-mcp/playbooks/update-skills.md(update_skills_playbook_get). That file is not inmothy-plugins; mothy-mcp may need a matching edit so the MCP coach does not keep leading with the bare user-scope update.Test plan
node --test tests/(Node 20, same as CI / pre-push)--scope managedbefore the bare update command--scope managedwithout an intervening bare-update failureTo show artifacts inline, enable in settings.