/context-mode:ctx-upgradefrom context-mode
Upgrades the context-mode plugin from GitHub, rebuilding and reinstalling npm global packages, and reconfiguring hooks.
Ships in context-mode. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Pull latest from GitHub and reinstall the plugin.
ctx_upgrade MCP tool directly. It returns a shell command to execute.## 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./skills/ctx-upgrade), then run with Bash:
CLI="<PLUGIN_ROOT>/cli.bundle.mjs"; [ ! -f "$CLI" ] && CLI="<PLUGIN_ROOT>/build/cli.js"; node "$CLI" upgrade
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
ctx-upgrade, context-mode, plugin-upgrade, npm-update, github-update
npx claudepluginhub hgxszhj/mksglu-context-mode --plugin context-mode6 skills in this plugin
/context-modeUse context-mode tools (ctx_execute, ctx_execute_file) instead of Bash/cat when processing
large outputs. Triggers: "analyze logs", "summarize output", "process data",
"parse JSON", "filter results", "extract errors", "check build output",
"analyze dependencies", "process API response", "large file analysis",
"page snapshot", "browser snapshot", "DOM structure", "inspect page",
"accessibility tree", "Playwright snapshot",
"run tests", "test output", "coverage report", "git log", "recent commits",
"diff between branches", "list containers", "pod status", "disk usage",
"fetch docs", "API reference", "index documentation",
"call API", "check response", "query results",
"find TODOs", "count lines", "codebase statistics", "security audit",
"outdated packages", "dependency tree", "cloud resources", "CI/CD output".
Also triggers on ANY MCP tool output that may exceed 20 lines.
Subagent routing is handled automatically via PreToolUse hook.
/ctx-doctorRun context-mode diagnostics. Checks runtimes, hooks, FTS5,
plugin registration, npm and marketplace versions.
Trigger: /context-mode:ctx-doctor
/ctx-insightOpen the context-mode Insight analytics dashboard in the browser.
Shows personal metrics: session activity, tool usage, error rate,
parallel work patterns, project focus, and actionable insights.
First run installs dependencies (~30s). Subsequent runs open instantly.
Trigger: /context-mode:ctx-insight
/ctx-purgePurge the context-mode knowledge base. Permanently deletes all indexed content
and resets session stats. This is destructive and cannot be undone.
Trigger: /context-mode:ctx-purge
/ctx-statsShow how much context window context-mode saved this session.
Displays token consumption, context savings ratio, and per-tool breakdown.
Read-only — shows stats only, no reset capability.
To wipe the knowledge base entirely, use ctx_purge instead.
Trigger: /context-mode:ctx-stats
4 plugins ship this exact skill · first indexed Jun 3, 2026
Other plugins' skills for the same job