Skip to content
Skillpedia
Agents33k · #8517

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.md

Copy 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

Use this skill to help me: https://github.com/mksglu/context-mode/blob/main/skills/ctx-upgrade/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

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

  1. Call the ctx_upgrade MCP tool directly. It returns a shell command to execute.
  2. Run the returned command using your shell execution tool (Bash, shell_execute, etc.).
  3. Display results as a markdown checklist:
    ## context-mode upgrade
    - [x] Pulled latest from GitHub
    - [x] Built and installed v1.0.39
    - [x] Hooks configured
    - [x] Doctor: all checks PASS
    
    Use [x] for success, [ ] for failure. Show actual version numbers.
  4. Tell the user to restart their session to pick up the new version.
  5. 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

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills