본문으로 건너뛰기
cccskills
무료GitHub에 공개

context-mode

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.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

원문원문 설명 보기

Mandatory routing rules for Antigravity CLI. Invoke when exploring a codebase, reading files for analysis, listing context-mode tools, searching, parsing, counting, comparing, summarizing, fetching web content, or running data-heavy commands.

설치 방법 보기

이럴 때 유용합니다

  • Explore a codebase and summarize key findings
  • Extract and count information in a file
  • Index web content for follow-up searches
  • Search stored material across related questions

포함된 파일(1)

  • SKILL.md3.3 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

context-mode for Antigravity CLI

context-mode MCP tools are available in agy as context-mode/<tool>. Use these tools directly. Do not inspect cached schema files under ~/.gemini/antigravity-cli/mcp/context-mode/*.json, and do not run ctx_execute just to discover tool names or schemas.

If agy uses the generic MCP wrapper, call call_mcp_tool with:

  • ServerName: "context-mode"
  • ToolName: one of the tool names below
  • Arguments: the JSON arguments for that tool

Tool List

  • context-mode/ctx_execute: run JavaScript, TypeScript, Python, shell, or other code in a sandbox. Print only the final answer.
  • context-mode/ctx_execute_file: read one file into FILE_CONTENT inside the sandbox and run code over it. This is the context-mode file-read surface.
  • context-mode/ctx_batch_execute: run multiple repository commands in one batch, index large output, and answer follow-up queries.
  • context-mode/ctx_index: store a file, directory, or content in the local FTS5 knowledge base for later search.
  • context-mode/ctx_search: search indexed content and captured session memory. Batch related questions in queries.
  • context-mode/ctx_fetch_and_index: fetch web content, store it, then query with ctx_search.
  • context-mode/ctx_stats: show context savings and current-session stats.
  • context-mode/ctx_doctor: diagnose context-mode runtime and hook health.
  • context-mode/ctx_upgrade: provide upgrade or repair guidance.
  • context-mode/ctx_purge: purge stored context-mode knowledge after confirmation.
  • context-mode/ctx_insight: launch or report the Insight analytics app.

When the user asks "what context-mode tools are available", answer from this list. Do not list ~/.gemini/antigravity-cli/mcp/context-mode and do not read the JSON schema files.

File Reading

There is no separate ctx_read tool. Use context-mode/ctx_execute_file for file reads that analyze, summarize, extract, count, filter, or compare.

Native Read / view_file is only right when editing needs exact bytes in the conversation, or when the user explicitly asks to view a small known range.

Use JavaScript by default for lightweight file analysis:

{
  "path": "README.md",
  "language": "javascript",
  "code": "const lines = FILE_CONTENT.split(/\\r?\\n/); console.log(lines.slice(0, 20).join('\\n'));"
}

Never print FILE_CONTENT wholesale unless the user explicitly asks for a full file dump. Print selected lines, counts, matches, summaries, or structured results.

Codebase Exploration

For repository exploration, prefer one context-mode/ctx_batch_execute call instead of many native ListDir, Read, Grep, or shell calls.

For one-off computed answers, use context-mode/ctx_execute. For one-file analysis, use context-mode/ctx_execute_file. For durable recall across follow-up questions, use context-mode/ctx_index with a descriptive source, then context-mode/ctx_search.

Return concise derived answers. Do not paste raw command dumps, full files, large search results, cached schemas, or raw HTML into the conversation.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

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.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Counting or filtering large datasets
  • Retrieving relevant information from web pages
  • Collecting and searching results from multiple commands
mksglu/context-mode3.1만2026년 10월 18일 업데이트

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월 18일 업데이트

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월 18일 업데이트

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월 18일 업데이트

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월 18일 업데이트

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월 18일 업데이트

mksglu의 스킬 모두 보기

이 스킬의 문제 신고