---
title: "mksglu&#x2F;context-mode skills · skilld"
canonical_url: "https://skilld.dev/gh/mksglu/context-mode"
meta:
  description: "Context window optimization for AI coding agents. Sandboxes tool output (98% reduction), persists session memory, and   enforces routing across 17 platforms via MCP + hooks."
  "og:description": "Context window optimization for AI coding agents. Sandboxes tool output (98% reduction), persists session memory, and   enforces routing across 17 platforms via MCP + hooks."
  "og:title": "mksglu/context-mode skills"
  "twitter:description": "Context window optimization for AI coding agents. Sandboxes tool output (98% reduction), persists session memory, and   enforces routing across 17 platforms via MCP + hooks."
  "twitter:title": "mksglu/context-mode skills"
---

`

[All skills](https://skilld.dev/skills)

[![mksglu avatar](https://skilld.dev/_img/avatar?url=https%3A%2F%2Fgithub.com%2Fmksglu.png)](https://skilld.dev/gh/mksglu)

# **mksglu/context-mode**

Context window optimization for AI coding agents. Sandboxes tool output (98% reduction), persists session memory, and enforces routing across 17 platforms via MCP + hooks.

main Updated 4 hours ago [GitHub](https://github.com/mksglu/context-mode)

![README badge for mksglu/context-mode](https://skilld.dev/b/mksglu/context-mode?theme=light&label=0)

## Repository statistics

- Indexed skills

  **9**
- Skill groups

  **1**
- GitHub stars

  **24,949**
- Forks

  **1,795**

## Skills

9 total

Sort skills

[<h3>**/context-mode-ops**</h3>Manage context-mode GitHub issues, PRs, releases, and marketing with parallel subagent army. Orchestrates 10-20 dynamic agents per task. Use when triaging issues, reviewing PRs, releasing versions, writing LinkedIn posts, announcing releases, fixing bugs, merging contributions, validating ENV vars, testing adapters, or syncing branches. /context-mode-ops](https://skilld.dev/gh/mksglu/context-mode/context-mode-ops)

Updated 3 months ago

[<h3>**/context-mode**</h3>MANDATORY routing rules for context-mode. Invoke whenever you analyze, count, filter, compare, search, parse, or transform data; fetch a URL; or run a data-heavy command — so raw bytes stay out of the context window. /context-mode](https://skilld.dev/gh/mksglu/context-mode/context-mode)

Updated 3 months ago

[<h3>**/ctx-insight**</h3>Open the context-mode Insight dashboard in your default browser. Insight is the hosted analytics layer for AI-assisted engineering teams — per-engineer productive rate, retry waste, blocker detection, role-narrowed views. Trigger: /context-mode:ctx-insight /ctx-insight](https://skilld.dev/gh/mksglu/context-mode/ctx-insight)

Updated 3 months ago

[<h3>**/ctx-index**</h3>Index a local file or directory into context-mode's persistent FTS5 knowledge base so future ctx\_search calls can retrieve focused snippets without rereading raw files. Trigger: /context-mode:ctx-index /ctx-index](https://skilld.dev/gh/mksglu/context-mode/ctx-index)

Updated 4 months ago

[<h3>**/ctx-search**</h3>Search context-mode's persistent FTS5 knowledge base for previously indexed local project content, documentation, or session memory. Trigger: /context-mode:ctx-search /ctx-search](https://skilld.dev/gh/mksglu/context-mode/ctx-search)

Updated 4 months ago

Requires [/context-mode](https://skilld.dev/gh/mksglu/context-mode/context-mode)

[<h3>**/ctx-purge**</h3>Purge 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-purge](https://skilld.dev/gh/mksglu/context-mode/ctx-purge)

Updated 5 months ago

[<h3>**/ctx-doctor**</h3>Run context-mode diagnostics. Checks runtimes, hooks, FTS5, plugin registration, npm and marketplace versions. Trigger: /context-mode:ctx-doctor /ctx-doctor](https://skilld.dev/gh/mksglu/context-mode/ctx-doctor)

Updated 5 months ago

[<h3>**/ctx-stats**</h3>Show 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 /ctx-stats](https://skilld.dev/gh/mksglu/context-mode/ctx-stats)

Updated 6 months ago

Requires [/context-mode](https://skilld.dev/gh/mksglu/context-mode/context-mode)

[<h3>**/ctx-upgrade**</h3>Update context-mode from GitHub and fix hooks/settings. Pulls latest, builds, installs, updates npm global, configures hooks. Trigger: /context-mode:ctx-upgrade /ctx-upgrade](https://skilld.dev/gh/mksglu/context-mode/ctx-upgrade)

Updated 7 months ago

## Add to your README

The badge links readers to this page. It shows the skilld mark and no counts, and it follows the reader's light or dark GitHub theme.

`<a href="https://skilld.dev/gh/mksglu/context-mode"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://skilld.dev/b/mksglu/context-mode?theme=dark"> <source media="(prefers-color-scheme: light)" srcset="https://skilld.dev/b/mksglu/context-mode?theme=light"> <img alt="Skill repository on skilld.dev" src="https://skilld.dev/b/mksglu/context-mode?theme=light"> </picture> </a>`