update-plugin
Skill1 starsChanged 18 days agoMITView on GitHub
Make the Cortex this session runs match the repo — check the repo, marketplace and cache copies, update the ones behind, verify the version moved. Triggers — "my change isn't showing up", "update the plugin", "why is it running the old version".
3 other projects use a version of this.
Adopted by
Most recently taken up by
- garbageek/claude-pluginstheir own version, first seen Oct 13, 2026
- odere-pro/claude-software-3-0-marketplacetheir own version, first seen Jun 5, 2026
- PierrickMartos/Leadership-Skillstheir own version, first seen Apr 28, 2026
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 3
- PierrickMartos/Leadership-Skills★ 4same name
- odere-pro/claude-software-3-0-marketplace★ 2same name
- garbageek/claude-plugins★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository43 other files it gives its agents.
- AGENTS.mdAGENTS.md
- core/AGENTS.mdAGENTS.md
- evals/AGENTS.mdAGENTS.md
- index/AGENTS.mdAGENTS.md
- mcp/AGENTS.mdAGENTS.md
- tools/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- architecture-reviewSkill
- audit-notesSkill
- challenge-planSkill
- change-impactSkill
- clarify-requestSkill
- connect-mcpSkill
- create-teamSkill
- daily-planSkill
- debug-issueSkill
- define-termsSkill
- design-specSkill
- end-of-day-summarySkill
- handover-notesSkill
- join-teamSkill
- merge-workSkill
- migrate-legacy-engineSkill
- personal-setupSkill
- quick-noteSkill
- register-projectsSkill
- repo-mapSkill
- resolve-conflictsSkill
- resume-workSkill
- retrospectiveSkill
- review-changeSkill
- set-profileSkill
- setup-repoSkill
- story-mapSkill
- suggest-skillsSkill
- summarize-filesSkill
- sync-websiteSkill
- trim-agent-docsSkill
- weekly-reviewSkill
- whats-changedSkill
- write-agent-docsSkill
- write-area-briefSkill
- write-context-docsSkill
The file
We split this skill into the rules it gives an agent
4 rules. 0 are common, 2 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 3 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 43
Update the marketplace — it is the git clone the installer reads from.
- Distinctive: line 44
Update the installed plugin.
- Very specific: line 48
Prefer the /plugin UI or claude plugin CLI over hand-editing anything under ~/.claude/plugins/ — the registry there is the installer's …
- Very specific: line 74
Not a hand-rolled cp -r: that copies once and thereafter never refreshes a changed skill or removes a deleted one, which is how the mirror …
“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
/update-plugin — make the running Cortex the one you edited
A plugin reaches a session through three copies:
repo VERSION → marketplace clone → installed cache → this session
(what you edit) (what update pulls) (what actually runs)Nothing announces a mismatch. Every command is present, every skill loads, and the model follows last week's instructions against this week's code. So a fix you just wrote appears not to work, and the obvious conclusion — the fix is wrong — is the wrong one. People lose hours re-writing a correct change.
Suspect this before debugging a skill that "didn't take".
1. Ask which copies disagree
node "${CLAUDE_PLUGIN_ROOT}/tools/cortex-plugin-check.mjs"It prints all three stages and which are behind. Read the installed cache line: that is the one deciding behaviour. The repo sitting ahead of both copies mid-release is normal and not a defect.
From an installed copy the three rows always agree, because the "repo" there is the cache. To ask
whether a newer Cortex is published, add --remote: it reads VERSION upstream over the network
and says so.
2. Update — both steps
Updating the marketplace alone does not move the installed plugin. That is the whole trap: the marketplace is a git clone that pulls happily and changes nothing about what runs.
- Update the marketplace — it is the git clone the installer reads from.
- Update the installed plugin.
- Restart the session. A running session holds the skills it loaded at start; no update reaches it in place.
Prefer the /plugin UI or claude plugin CLI over hand-editing anything under ~/.claude/plugins/
— the registry there is the installer's bookkeeping, and a hand-edited entry disagrees with the
directory it names.
3. Verify it moved
node "${CLAUDE_PLUGIN_ROOT}/tools/cortex-plugin-check.mjs" --checkExit 0 means the running copy matches the repo. Do not skip this — the failure being fixed is precisely a change that looked applied and was not, so an update reported as done is the same evidence you already had. If the number did not move, the update did not take; find out why rather than repeating it.
4. In this checkout, the mirror too
skills/ is canonical and is what an installed plugin loads. .claude/skills/ is a gitignored,
machine-local mirror exposing the rituals as slash commands in this checkout only — and because
it is gitignored, nothing keeps it current.
bash "${CLAUDE_PLUGIN_ROOT}/tools/cortex-sync-skills.sh" --check # report drift, change nothing
bash "${CLAUDE_PLUGIN_ROOT}/tools/cortex-sync-skills.sh" # syncNot a hand-rolled cp -r: that copies once and thereafter never refreshes a changed skill or removes
a deleted one, which is how the mirror drifted to 22 of 30 skills with 9 stale copies.
Working from a checkout rather than an install? Then the mirror is the only copy that matters and
steps 1–3 do not apply. cortex-plugin-check.mjs says so rather than inventing a version.
Gotchas
- A skill edit needs a restart even in this checkout. Syncing the mirror updates files on disk; the session already loaded the old ones.
- If the versions match and the skill still misbehaves, it is the skill. That is the point of
checking first — it converts "my change did nothing" from a guess into a fact.
/write-agent-docs, in itsNEW-SKILL.mdstep 5, is where a skill gets read back and tested. - The MCP server is a separate lifecycle.
/mcpshows whether it connected. A failed connection is not a version problem and updating the plugin will not fix it — read the server's error first. - Version numbers are never hand-edited:
node "${CLAUDE_PLUGIN_ROOT}/tools/cortex-version.mjs" --set <x.y.z>stamps every site at once. Editing one by hand is how the three copies started disagreeing.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

