Agent Skills
› mksglu/context-mode
mksglu/context-mode
GitHubAntigravity CLI 的上下文模式路由规则,指导在代码库探索、文件分析、搜索、索引及批量执行等场景下调用对应的 MCP 工具,以高效处理数据密集型任务。
Install All Skills
npx skills add mksglu/context-mode --all -g -y
Skills in Collection (11)
Antigravity CLI 的上下文模式路由规则,指导在代码库探索、文件分析、搜索、索引及批量执行等场景下调用对应的 MCP 工具,以高效处理数据密集型任务。
探索代码库结构
读取并分析文件内容
搜索或索引本地知识
批量执行仓库命令
获取并存储网页内容
npx skills add mksglu/context-mode --skill context-mode -g -y
强制路由规则,指导通过代码执行和索引工具处理数据、抓取URL及运行命令,防止原始数据污染上下文窗口。
分析或处理大量数据
抓取网页内容
运行重型命令行任务
npx skills add mksglu/context-mode --skill context-mode -g -y
用于运行上下文模式诊断,检查运行时、钩子、FTS5、插件注册及版本状态。通过MCP工具或CLI执行并返回格式化报告,辅助排查环境配置问题。
/context-mode:ctx-doctor
npx skills add mksglu/context-mode --skill ctx-doctor -g -y
将本地文件或目录索引至FTS5知识库,以便后续通过ctx_search检索片段。支持MCP工具或CLI回退,需排除依赖和敏感文件,保障安全与效率。
/context-mode:ctx-index
npx skills add mksglu/context-mode --skill ctx-index -g -y
通过调用MCP工具在浏览器中打开Context Mode Insight仪表盘,展示AI工程团队的生产力、重试浪费及阻塞检测等分析数据。
/context-mode:ctx-insight
npx skills add mksglu/context-mode --skill ctx-insight -g -y
用于永久删除 Context Mode 的知识库索引和会话数据。支持按项目或会话范围清理,执行前需确认并警告用户,调用 MCP 工具完成不可逆的数据清除操作。
/context-mode:ctx-purge
npx skills add mksglu/context-mode --skill ctx-purge -g -y
用于在本地持久化知识库中搜索已索引的项目内容、文档或会话记忆,避免重新加载原始上下文。支持通过MCP工具或CLI执行,可指定项目源和限制返回结果数量。
用户需要检索之前索引过的本地项目内容
用户需要查询已存储的文档或会话记忆
npx skills add mksglu/context-mode --skill ctx-search -g -y
展示当前会话上下文窗口节省情况,包括Token消耗、节省比例及工具明细。通过调用MCP工具获取数据并以Markdown格式完整输出,最后附一句关键节省指标总结,仅用于查看统计信息。
/context-mode:ctx-stats
npx skills add mksglu/context-mode --skill ctx-stats -g -y
用于升级 context-mode 插件,包括拉取最新代码、构建安装、更新 npm 全局包及配置钩子。通过 MCP 工具或命令行执行,并提示重启会话以生效新版本。
用户请求升级 context-mode 插件
调用 /context-mode:ctx-upgrade 命令
npx skills add mksglu/context-mode --skill ctx-upgrade -g -y
协调多智能体并行处理GitHub Issue、PR审查、版本发布及营销任务。通过子代理团队执行代码验证、测试适配器和分支同步,确保高质量交付与业务目标对齐。
Issue分诊与Bug修复
PR审查与合并
版本发布与营销公告
适配器测试与环境变量验证
npx skills add mksglu/context-mode --skill context-mode-ops -g -y
Dependencies:
mksglu/context-mode
https://github.com/mksglu/context-mode/tree/main/skills/context-mode-ops
定义命令执行策略,默认使用 context-mode 处理大输出,仅白名单操作用 Bash。涵盖日志分析、测试、API 调用等场景,自动路由子代理,减少上下文冗余。
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
npx skills add mksglu/context-mode --skill context-mode -g -y


