Skill Detail
Context Mode Skill
Context Mode · github
Filters shell output noise from context and restores session state when Claude resets.
Skill Overview
Filters shell output noise from context and restores session state when Claude resets.
Context Mode Search Terms
This page targets users searching for Context Mode Skill, download, installation, README, Skill URL, and usage guide.
Resource Type
Agent Tool
Categories
Development, Productivity, Meta & Tools
Tags
Context, Shell output, Session state
The download is a local Markdown skill file saved by EasyGlobe and deployable with the site to GitHub and Cloudflare.
Detailed Skill Introduction
What Context Mode is for
Context Mode is an AI agent skill resource for Development, Productivity, Meta & Tools workflows. Based on the archived project material, its core value is: Filters shell output noise from context and restores session state when Claude resets.. People landing on this page are likely searching for Context Mode, Context Mode download, Context Mode installation, Context Mode README, Context Mode Skill URL, or platform-specific terms such as Claude Skills, Codex Skills, Gemini Skills, Kimi Skills, and GLM Skills. This detail page brings those signals together so a user can understand what the skill does before opening the original project.
README summary
**The other half of the context problem.**
     [. If /plugin is not recognized, update first: brew upgrade claude-code or npm update -g @anthropic-ai/claude-code.
**Install:**
/plugin marketplace add mksglu/context-mode
/plugin install context-mode@context-modeRestart Claude Code (or run /reload-plugins).
**Verify:**
/context-mode:ctx-doctorAll checks should show [x]....
README usage notes
| Variable | Default | Purpose |
|---|---|---|
| CONTEXT_MODE_DIR | Adapter default, for example ~/.codex/context-mode or ~/.claude/context-mode | Since v1.0.147. Absolute writable root for context-mode storage. Sessions and stats use <root>/sessions; indexed content uses <root>/content. Empty or whitespace-only values are treated as unset and shown by ctx_doctor; non-empty values must be absolute. ~ is not expanded. |
Workflow fit and practical value
The current taxonomy places Context Mode under Development, Productivity, Meta & Tools, with tags such as Context, Shell output, Session state. That means the skill should be evaluated through the lens of repeatable work: what task it helps an AI agent perform, what context the agent needs, what output a user should expect, and whether the workflow can be reused as a team SOP. The archived README is used as the first source of truth whenever it includes feature lists, examples, setup notes, or usage guidance....
Installation
Platforms are grouped by install complexity. Hook-capable platforms get automatic routing enforcement. Non-hook platforms need a one-time routing file copy.
<details open>
<summary><strong>Claude Code</strong> — plugin marketplace, fully automatic</summary>
**Prerequisites:** Claude Code v1.0.33+ (claude --version). If /plugin is not recognized, update first: brew upgrade claude-code or npm update -g @anthropic-ai/claude-code.
**Install:**
/plugin marketplace add mksglu/context-mode
/plugin install context-mode@context-modeRestart Claude Code (or run /reload-plugins).
**Verify:**
/context-mode:ctx-doctorAll checks should show [x]. The doctor validates runtimes, hooks, FTS5, and plugin registration.
**Routing:** Automatic. The SessionStart hook injects routing instructions at runtime — no file is written to your project. The plugin registers all hooks (PreToolUse, PostToolUse, PreCompact, SessionStart) and 11 MCP tools — six sandbox tools (ctx_batch_execute, ctx_execute, ctx_execute_file, ctx_index, ctx_search, ctx_fetch_and_index) plus five meta-tools (ctx_stats, ctx_doctor, ctx_upgrade, ctx_purge, ctx_insight).
| Slash Command | What it does |
|---|---|
| /context-mode:ctx-stats | Context savings — per-tool breakdown, tokens consumed, savings ratio. |
| /context-mode:ctx-doctor | Diagnostics — runtimes, hooks, FTS5, plugin registration, versions. |
| /context-mode:ctx-index | Index a local file or directory into the persistent FTS5 knowledge base. |
| /context-mode:ctx-search | Search previously indexed content. |
| /context-mode:ctx-upgrade | Pull latest, rebuild, migrate cache, fix hooks. |
| /context-mode:ctx-purge | Permanently delete all indexed content from the knowledge base. |
| /context-mode:ctx-insight | Personal analytics dashboard — 90 metrics, 37 insight patterns, 4 composite scores (productivity, quality, delegation, context health) across 23 event categories. Opens a local web UI. |
> **Note:** Slash commands are a Claude Code plugin feature....
Usage
Use this skill when the task involves Context, Shell output, Session state. It can be adapted into Claude Skills, Codex Skills, Gemini Skills, Kimi Skills, GLM Skills, or a team SOP.
Capabilities
Primary workflow coverage: Development, Productivity, Meta & Tools.
Supported Platforms
Use this skill as a reference template for these AI agents, model workflows, or team SOPs.
Configuration & Updates
| Variable | Default | Purpose |
|---|---|---|
| CONTEXT_MODE_DIR | Adapter default, for example ~/.codex/context-mode or ~/.claude/context-mode | Since v1.0.147. Absolute writable root for context-mode storage. Sessions and stats use <root>/sessions; indexed content uses <root>/content. Empty or whitespace-only values are treated as unset and shown by ctx_doctor; non-empty values must be absolute. ~ is not expanded. |
README Command Examples
// Before: 47 × Read() = 700 KB. After: 1 × ctx_execute() = 3.6 KB.
ctx_execute("javascript", `
const files = fs.readdirSync('src').filter(f => f.endsWith('.ts'));
files.forEach(f => console.log(f + ': ' + fs.readFileSync('src/'+f,'utf8').split('\\n').length + ' lines'));
`); /plugin marketplace add mksglu/context-mode
/plugin install context-mode@context-mode /context-mode:ctx-doctor Tags
FAQ
What is Context Mode Skill?
Filters shell output noise from context and restores session state when Claude resets.
Who should use Context Mode?
Use this skill if your team, operator, developer, or AI agent works on Development, Productivity, Meta & Tools workflows.
When should you use Context Mode Skill?
Use it when a task involves Context, Shell output, Session state, or when the workflow should become a Claude Skill, Codex Skill, Gemini Skill, Kimi Skill, GLM Skill, or team SOP.
How do you download Context Mode Skill?
Use the “Download Skill File” button near the top of the page or in the Skill Information panel. The local Markdown file saved by EasyGlobe is manual-context-mode.md.
How do you install Context Mode Skill?
Check the Installation section on this page. If the archived README does not include an explicit installation section, open the Skill URL and follow the official README, platform documentation, or marketplace instructions.
How do you use Context Mode Skill?
Check the Usage, Capabilities, and README summary sections. The page extracts usage notes, command examples, and workflow context from the archived README where available.
Does Context Mode Skill work with Claude, Codex, Gemini, Kimi, and GLM?
This page packages the resource as reusable AI agent skill material for Claude Skills, Codex Skills, Gemini Skills, Kimi Skills, GLM Skills, ChatGPT Skills or team SOPs. Actual runtime compatibility depends on the official instructions at the Skill URL.
Where is the Skill URL for Context Mode Skill?
The Skill URL is shown in the Skill Information panel. You can also use the “Open Original Skill” button near the top of the page to open the original project or official page.
What is the difference between the local download and the Skill URL?
The local download is an EasyGlobe-saved Markdown copy for archiving, reading, and reuse. The Skill URL points to the original project, official documentation, or marketplace page for the latest instructions.