ctx-upgrade
What it does
This skill updates the context-mode plugin to its latest version and repairs its settings. It is for users who want the newest context-mode release without installing it by hand.
When to use it
- ✓When a user wants the latest context-mode release installed.
- ✓When context-mode hooks or settings are broken after an earlier install.
- ✓When a diagnostic check shows the plugin needs a clean reinstall.
Skill link
https://github.com/mksglu/context-mode/blob/main/skills/ctx-upgrade/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Upgrade context-mode to the latest version and fix its hooks.”
5 new skills a week. 1 minute to read.
How it works
The skill asks the upgrade tool for the commands to run, executes them, and shows a checklist of the steps. It then asks you to restart your session so the new version loads.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Context Mode Upgrade
Pull latest from GitHub and reinstall the plugin.
Instructions
- Call the
ctx_upgradeMCP tool directly. It returns a shell command to execute. - Run the returned command using your shell execution tool (Bash, shell_execute, etc.).
- Display results as a markdown checklist:
Use## context-mode upgrade - [x] Pulled latest from GitHub - [x] Built and installed v1.0.39 - [x] Hooks configured - [x] Doctor: all checks PASS[x]for success,[ ]for failure. Show actual version numbers. - Tell the user to restart their session to pick up the new version.
- Fallback (only if MCP tool call fails): Derive the plugin root from this skill's base directory (go up 2 levels — remove
/skills/ctx-upgrade), then run with Bash:CLI="<PLUGIN_ROOT>/cli.bundle.mjs"; [ ! -f "$CLI" ] && CLI="<PLUGIN_ROOT>/build/cli.js"; node "$CLI" upgrade
FAQ
Do I need to restart?
Yes. Restart your session after the upgrade so the new version is picked up.
What if the upgrade tool fails?
The skill has a fallback that runs the command-line version of the upgrade.
Where does the new version come from?
It pulls the latest code from GitHub, builds it and installs it.
Details
Original description by the author
Update context-mode from GitHub and fix hooks/settings. Pulls latest, builds, installs, updates npm global, configures hooks. Trigger: /context-mode:ctx-upgrade
repo: mksglu/context-mode
Popularity
- GitHub stars
- 33k
- Ranking position
- #8517
- License
- —
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
context-mode
33kTeaches your agent to use context-mode tools for reading, searching and running data-heavy tasks, so large outputs stay out of the main conversation.
context-mode
33kTeaches your agent to run data-heavy work in a sandbox and print only the answer, so raw files and web pages do not flood the conversation.
context-mode
33kTeaches your agent to use context-mode tools instead of plain shell commands when output may be large, such as logs, JSON or build results.
ctx-doctor
33kRuns context-mode diagnostics that check runtimes, hooks, search storage, plugin setup and versions, then shows a clear pass or fail report.
Similar skills
add-model-provider
394kLets your agent connect a new AI model provider to OpenClaw using safe setup commands, keep API keys out of plain text, and run a live test.
acp-router
394kHelps your agent send a task to a coding assistant such as Claude Code or Cursor through OpenClaw, so the work runs in that tool.
browser-automation
394kTeaches your agent to control web pages step by step, including logins, tabs, and recovery when a page stops responding.