跳到正文
cccskills
免费在 GitHub 公开

context-mode

Route data analysis, large-file processing, and web retrieval through context-mode tools, returning only relevant results to the conversation. This helps preserve the context window, the limited amount of information an AI can work with at once.

中文简介正在准备中。当前显示英语简介。

原文查看原文说明

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.

查看安装方法

适用场景

  • Counting or filtering large datasets
  • Retrieving relevant information from web pages
  • Collecting and searching results from multiple commands
  • Saving large outputs as files

包含的文件(1)

  • SKILL.md1.7 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

context-mode — MANDATORY routing rules

context-mode MCP tools are available in GitHub Copilot CLI. These rules protect the context window from flooding — one unrouted command can dump tens of KB into the conversation. Follow them strictly.

Think in Code — MANDATORY

Analyze / count / filter / compare / search / parse / transform data: write code via ctx_execute(language, code) and console.log() only the answer. Do NOT read raw data into context. PROGRAM the analysis, do not COMPUTE it by reading. One script replaces ten tool calls.

BLOCKED — do NOT use

  • curl / wget — dumps raw HTTP into context. Use ctx_fetch_and_index(url, source) then ctx_search(queries).
  • Inline HTTP (node -e "fetch(...)", python -c "requests.get(...)") — use ctx_execute(language, code); only stdout enters context.
  • Reading large files to analyze — use ctx_execute_file(path, language, code).

Tool selection

  1. GATHER: ctx_batch_execute(commands, queries) — runs all commands, auto-indexes, returns search. One call replaces dozens.
  2. PROCESS: ctx_execute / ctx_execute_file — sandbox; only stdout enters context.
  3. WEB: ctx_fetch_and_index(url, source) then ctx_search(queries) — raw HTML never enters context.
  4. SEARCH: ctx_search(queries: [...]) — all questions in one call.

Write artifacts to FILES; return a path + one-line description, not inline dumps.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Analyze large logs, test results, API responses, and files outside the conversation, then return focused findings. It guides agents to save, process, index, and search outputs while limiting how much raw data enters their working context.

中文简介正在准备中。当前显示英语简介。

  • Extracting errors from large logs
  • Summarizing test failures and build warnings
  • Inspecting JSON and CSV data
mksglu/context-mode3.1万2026年10月19日 更新

Route codebase exploration, file analysis, and web research through context-mode tools in Antigravity CLI. Process large outputs outside the conversation and return focused findings, with indexed content available for later searches.

中文简介正在准备中。当前显示英语简介。

  • Explore a codebase and summarize key findings
  • Extract and count information in a file
  • Index web content for follow-up searches
mksglu/context-mode3.1万2026年10月19日 更新

Coordinate multiple agents to maintain context-mode, from sorting GitHub issues and reviewing pull requests to preparing releases and announcements. Workflows require reproduced bugs, source evidence, test-first changes, and checks across supported platforms.

中文简介正在准备中。当前显示英语简介。

  • Investigating reported bugs and their history
  • Reviewing contributor pull requests
  • Preparing releases and compatibility checks
mksglu/context-mode3.1万2026年10月19日 更新

Run context-mode diagnostics to check runtimes, hooks, full-text search support, plugin registration, and npm and marketplace versions. Results appear directly in the conversation with clear status labels, with a CLI fallback if the MCP call fails.

中文简介正在准备中。当前显示英语简介。

  • Checking the environment after installation
  • Checking hooks and full-text search support
  • Reviewing plugin registration status
mksglu/context-mode3.1万2026年10月19日 更新

ctx-index

免费

Index local files or folders in context-mode’s persistent search database, so later searches can retrieve relevant passages without rereading entire files. Useful for repeatedly consulting project documents while keeping raw file contents out of the conversation.

中文简介正在准备中。当前显示英语简介。

  • Preparing project documents for repeated searches
  • Finding relevant passages in local files
  • Indexing a repository with selected folders excluded
mksglu/context-mode3.1万2026年10月19日 更新

Open the hosted context-mode Insight dashboard in your default browser to access analytics for AI-assisted engineering teams, including productive rates per engineer, retry waste, blockers, and views tailored to different roles.

中文简介正在准备中。当前显示英语简介。

  • Opening the team's development analytics dashboard
  • Reviewing productive rates and retry waste per engineer
  • Checking blockers and views tailored to team roles
mksglu/context-mode3.1万2026年10月19日 更新

查看 mksglu 的全部技能

报告此技能的问题