ctx-upgrade — Claude Code skill: update and reconfigure
A skill that pulls the latest context-mode from GitHub, rebuilds the plugin, reinstalls it globally, and reconfigures hooks. Run once, get a checklist of results.
npx skills add mksglu/context-mode --skill ctx-upgrade -a claude-codeWhat ctx-upgrade does
ctx-upgrade fetches the latest code from the repository, rebuilds it, reinstalls the npm package, and fixes all configuration files and hooks. Output is a checklist with version numbers and status of each check. After running, restart your editor session so the new version takes effect.
If the MCP tool call fails, the skill falls back to running Node.js directly. It finds cli.bundle.mjs or build/cli.js in the plugin root and executes the upgrade command. This means the update works even if external services are unavailable.
What it helps with
- update context-mode to the latest version from GitHub
- rebuild the plugin after code changes
- reinstall the npm package without manual cleanup
- reconfigure hooks and verify the installation
- sync versions across multiple editors
Example prompts for the agent
- /context-mode:ctx-upgrade
- /context-mode:ctx-upgrade then restart your session
- run ctx-upgrade to pick up fresh changes from the repo
How to install ctx-upgrade
1Skills CLI (Vercel)
npx skills add mksglu/context-mode --skill ctx-upgrade -a claude-code2Manually: put the files in place
~/.claude/skills/ctx-upgrade/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/ctx-upgrade/
1Skills CLI (Vercel)
npx skills add mksglu/context-mode --skill ctx-upgrade -a codex2Manually: put the files in place
.agents/skills/ctx-upgrade/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add mksglu/context-mode --skill ctx-upgrade -a cursor2Manually: put the files in place
.cursor/skills/ctx-upgrade/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install mksglu/context-mode ctx-upgrade2Manually: put the files in place
.github/skills/ctx-upgrade/SKILL.md1Skills CLI (Vercel)
npx skills add mksglu/context-mode --skill ctx-upgrade -a gemini-cli2Platform CLI
gemini skills install https://github.com/mksglu/context-mode --path skills/ctx-upgradeManually: put the files in place
.devin/skills/ctx-upgrade/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add mksglu/context-mode --skill ctx-upgrade -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
From the same set7
The whole set →Similar
Questions about ctx-upgrade
How do I install ctx-upgrade in Claude Code?
Run npx skills add mksglu/context-mode --skill ctx-upgrade -a claude-code twice as shown in the instructions. The skill will appear in ~/.claude/skills/ctx-upgrade/.
What does ctx-upgrade do?
Pulls context-mode from GitHub, rebuilds the source, reinstalls the npm package, reconfigures hooks, and checks that everything works. Outputs a checklist showing the result of each step.
What do I do after running ctx-upgrade?
Restart your editor session so the new plugin version loads. If the update does not take effect, check the console logs.