Agent skill

Context Mode Upgrade

by mksglu in mksglu/context-mode

“Update context-mode from GitHub and fix hooks/settings. Pulls latest, builds, installs, updates npm global, configures hooks. Trigger: /context-mode:ctx-upgrade”

— description from SKILL.md by mksglu
Custom licenceAuto-check passedAgent Workflows

Install Context Mode Upgrade

skills CLI
$ npx skills add mksglu/context-mode --skill ctx-upgrade -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install mksglu/context-mode ctx-upgrade --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/mksglu/context-mode.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/ctx-upgrade .claude/skills/ctx-upgrade && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
ctx-upgrade
GitHub stars
26k
Token cost
~291 tokens
SKILL.md length
97 words
Files
1
Skills in repo
11
Repo updated
First seen
Licence
Custom licence

At a glance

  • Works in 5 steps: Call the ctx_upgrade MCP tool directly.… → Run the returned command using your… → Display results as a markdown checklist → …
  • Calls node

About this skill

Context Mode Upgrade is a skill in mksglu/context-mode (26k stars). Its SKILL.md is about 291 tokens. Licence: Custom licence.

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  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
  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…

What it can do on your machine

Read from SKILL.md and the folder at commit 0dfbe8d. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • node

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Context Mode Upgrade loads about 291 tokens when it runs. Until then it costs about 43 tokens; SKILL.md has 97 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~43
When it runs · the whole SKILL.md, loaded when a task matches
~291

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 97 words (~291 tokens).

“Pull latest from GitHub and reinstall the plugin.”

— opening of SKILL.md by mksglu, Custom licence
name
ctx-upgrade
user-invocable
true

Read the full SKILL.md on GitHub

Files

Just SKILL.md in skills/ctx-upgrade of mksglu/context-mode.

Open the folder on GitHubat commit 0dfbe8d

Compare with similar skills

Context Mode Upgrade next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Context Mode Upgrade compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Context Mode Upgrade this skillmksglu/context-mode26k—~291Automated safety check: PassCustom licence
Paseo Plugin Buildergetpaseo/paseo20k—~9.4kAutomated safety check: PassCustom licence
Project Releaseswimmwatch/cloakbrowser-mcp164—~1.9kAutomated safety check: PassMIT
Devcontainer Devstacklok/toolhive-studio171—~3.8kAutomated safety check: NotesApache-2.0
MCP Server Trello Growthdelorenj/mcp-server-trello445—~3.6kAutomated safety check: PassMIT
Integrate MCPdavekilleen/Dex494—~2.2kAutomated safety check: NotesMIT

Similar skills

  • Paseo Plugin Builder

    getpaseo/paseo

    Builds, installs and troubleshoots trusted local Paseo plugins, from lifecycle hooks and slash commands to screens, themes and timeline renderers.

    20k GitHub stars~9.4k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Project Release

    swimmwatch/cloakbrowser-mcp

    Prepare, publish, verify, or recover a cloakbrowser-mcp release only when the user explicitly requests release work.

    164 GitHub stars~1.9k tokensUpdated yesterday
    Agent WorkflowsAuto-check passed
  • Devcontainer Dev

    stacklok/toolhive-studio

    Spin up and interact with ToolHive Studio's containerized dev environment (Xvfb + noVNC + DinD).

    171 GitHub stars~3.8k tokensUpdated today
    Agent WorkflowsAuto-check: notes
  • MCP Server Trello Growth

    delorenj/mcp-server-trello

    Distribution-first growth ledger for @delorenj/mcp-server-trello — grow reach now, defer (but record) monetization.

    445 GitHub stars~3.6k tokensUpdated 16 days ago
    Agent WorkflowsAuto-check passed
  • Integrate MCP

    davekilleen/Dex

    Install and wire up an existing MCP server from Smithery.ai or a GitHub repo.

    494 GitHub stars~2.2k tokensUpdated today
    Agent WorkflowsAuto-check: notes
  • Project Pull Request

    swimmwatch/cloakbrowser-mcp

    Create, update, prepare, or review a cloakbrowser-mcp GitHub Pull Request only when the user explicitly requests PR work.

    164 GitHub stars~1k tokensUpdated yesterday
    DevelopmentAuto-check passed

More from mksglu/context-mode

All 11 skills in this repo
  • Context Mode Output Sandbox

    mksglu/context-mode

    Routes large command, file, API and browser output through context-mode tools so only the needed result enters the agent's context, instead of dumping it via Bash.

    26k GitHub stars~4.1k tokensUpdated today
    Auto-check passed
  • Routing rules for using context-mode MCP tools in Antigravity CLI: sandboxed code runs, file analysis, indexed search and web fetches that keep large output out of the conversation.

    26k GitHub stars~850 tokensUpdated today
    Auto-check passed
  • Context Mode Ops

    mksglu/context-mode

    Runs maintenance for the context-mode project with parallel subagents: issue triage, PR review, releases, bug fixes, announcements and branch syncing.

    26k GitHub stars~6k tokensUpdated today
    Auto-check passed
  • Context Mode Indexer

    mksglu/context-mode

    Indexes a local file or project directory into context-mode's FTS5 knowledge base so later searches return focused snippets instead of rereading whole files.

    26k GitHub stars~328 tokensUpdated today
    Auto-check passed
  • Context Mode Knowledge Purge

    mksglu/context-mode

    Permanently deletes a project's or a single session's indexed context-mode knowledge base, after confirming the scope and warning what will be lost.

    26k GitHub stars~671 tokensUpdated today
    Auto-check passed
  • Context Mode Doctor

    mksglu/context-mode

    Run context-mode diagnostics. Checks runtimes, hooks, FTS5, plugin registration, npm and marketplace versions. Trigger: /context-mode:ctx-doctor

    26k GitHub stars~262 tokensUpdated today
    Auto-check passed

Categories

Questions about Context Mode Upgrade

How do I install Context Mode Upgrade in Claude Code?

Run `npx skills add mksglu/context-mode --skill ctx-upgrade -a claude-code`. Or copy the skill folder (skills/ctx-upgrade in mksglu/context-mode) into .claude/skills/ctx-upgrade in your project. Claude Code loads it when a task matches its description.

How do I install Context Mode Upgrade in Codex?

Run `npx skills add mksglu/context-mode --skill ctx-upgrade -a codex`. Or copy the skill folder (skills/ctx-upgrade in mksglu/context-mode) into .agents/skills/ctx-upgrade in your project. Codex loads it when a task matches its description.

Can I use Context Mode Upgrade in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add mksglu/context-mode --skill ctx-upgrade -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/ctx-upgrade, .gemini/skills/ctx-upgrade, .github/skills/ctx-upgrade and .opencode/skills/ctx-upgrade in your project.

What does Context Mode Upgrade need to run?

Going by SKILL.md and its folder, Context Mode Upgrade needs the command-line tools its instructions call (node).

Does Context Mode Upgrade access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Context Mode Upgrade safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Context Mode Upgrade use?

Context Mode Upgrade has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Context Mode Upgrade use?

About 291 tokens (SKILL.md is roughly 1.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Context Mode Upgrade?

Skills that share tags, products or a category with Context Mode Upgrade: Paseo Plugin Builder (getpaseo/paseo, 20k stars), Project Release (swimmwatch/cloakbrowser-mcp, 164 stars), Devcontainer Dev (stacklok/toolhive-studio, 171 stars) and MCP Server Trello Growth (delorenj/mcp-server-trello, 445 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Context Mode Upgrade?

mksglu (a GitHub user) maintains it in mksglu/context-mode, which has 26,014 GitHub stars. The repository holds 11 skills in this directory. The repository was last updated on October 10, 2026.

Source: mksglu/context-mode on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.