marinvch/cortex/update-plugin
Claude Code and agent skill by marinvch/cortex
- community
Checking that the SKILL.md file is still in the repository.
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".
Install
npx vskill@latest install marinvch/cortex/update-pluginSKILL.md
The same SKILL.md was published earlier as marinvch/cortex/update-plugin.
/update-plugin — make the running Cortex the one you edited
A plugin reaches a session through three copies:
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
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
Exit 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.
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 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 its NEW-SKILL.md step 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.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/update-plugin/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/marinvch/cortex/update-plugin)