mcpField
C
ctx-upgrade

ctx-upgrade

github.com/mksgluAgent workflows32.7k1.6k installsUpdated today
Repository

About ctx-upgrade

ctx-upgrade is a skill for updating and reinstalling the Context Mode plugin from GitHub. It runs the shell command returned by the `ctx_upgrade` MCP tool and asks for a session restart afterward.

Key features

  1. 01Fetch latest version from GitHub
  2. 02Reinstall the plugin
  3. 03Report version and upgrade checks
  4. 04Use CLI fallback if MCP fails

Use cases

  1. 01Update the Context Mode plugin
  2. 02Reinstall after a tool-provided upgrade command

MCP support

Calls the `ctx_upgrade` MCP tool to obtain a shell command, then runs it. The skill documents a CLI fallback if the MCP call fails.

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/mksglu/context-mode --skill ctx-upgrade

After installing, type/ctx-upgradein Claude Code to confirm it loaded.

Details

From the project README

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
    

Comments

Markdown supported