Context Mode
技能 已验证 活跃在处理大型输出时,请使用 context-mode 工具 (ctx_execute, ctx_execute_file) 而不是 Bash/cat。 触发条件:"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"。 当任何 MCP 工具的输出可能超过 20 行时也会触发。 子代理路由通过 PreToolUse hook 自动处理。
通过优化上下文窗口使用并实现高效、沙盒化的海量数据处理,显著提高 LLM 性能和用户生产力。
功能
- 用于处理大型输出的沙盒工具
- 跨上下文压缩的会话连续性
- 代码优先的数据处理范式
- 支持多个平台和 AI 代理
- 详细的文档和使用示例
使用场景
- 分析大型日志文件或 API 响应而不丢失 token
- 高效处理代码库或配置文件
- 在上下文窗口切换中保持对话状态
- 通过本地处理数据来确保隐私
非目标
- 充当云分析仪表板
- 收集或同步用户数据
- 替换用于简单、小输出命令的 Bash
- 直接提供 AI 生成的文本摘要(专注于数据处理)
安装
/plugin install context-mode@mksglu-context-mode质量评分
已验证类似扩展
Context Mode
100从 GitHub 更新 context-mode 并修复 hooks/settings。 拉取最新代码,构建,安装,更新 npm 全局包,配置 hooks。 触发器:/context-mode:ctx-upgrade
Ctx Doctor
100运行 context-mode 诊断。检查运行时、钩子、FTS5、 插件注册、npm 和 marketplace 版本。 触发器:/context-mode:ctx-doctor
Lean Ctx
100AI 代理的上下文运行时 — 包含 59 个 MCP 工具、10 种读取模式、95+ 种 shell 模式、支持 18 种语言的 tree-sitter AST。将 LLM 上下文压缩高达 99%。用于读取文件、运行 shell 命令、搜索代码或探索目录。如果不存在,则自动安装。
Agent Teams
100Coordinate multiple Claude Code sessions as a team — lead + teammates with shared task lists, mailbox messaging, and file-lock claiming. Patterns for team sizing, task decomposition, and when to use teams vs sub-agents vs worktrees.
Ctx Insight
99在浏览器中打开 context-mode Insight 分析仪表板。 显示个人指标:会话活动、工具使用情况、错误率、 并行工作模式、项目焦点和可操作的见解。 首次运行会安装依赖项(约 30 秒)。后续运行会立即打开。 触发器:/context-mode:ctx-insight
Metal
100Extract the conceptual essence of a repository as skills, agents, and teams — the project's roles, procedures, and coordination patterns expressed as agentskills.io-standard definitions. Reads an arbitrary codebase and produces generalized definitions that capture WHAT the project does and WHO operates it, without replicating HOW it does it. Use when onboarding to a new codebase and wanting to understand its conceptual architecture, when bootstrapping an agentic system from an existing project, when studying a project's organizational DNA for cross-pollination, or when creating a skill/agent/team library inspired by a reference implementation.