Agent Skills
› mksglu/context-mode
mksglu/context-mode
GitHubAntigravity CLI的上下文模式路由规则,指导在代码库探索、文件分析、搜索及数据密集型任务中调用ctx_execute等MCP工具,优化上下文使用与结果输出。
Install All Skills
npx skills add mksglu/context-mode --all -g -y
Skills in Collection (11)
Antigravity CLI的上下文模式路由规则,指导在代码库探索、文件分析、搜索及数据密集型任务中调用ctx_execute等MCP工具,优化上下文使用与结果输出。
探索代码库结构
读取并分析文件内容
执行批量仓库命令
搜索索引内容或记忆
获取并索引网页内容
npx skills add mksglu/context-mode --skill context-mode -g -y
强制路由规则,指导在分析、搜索或处理数据时通过代码执行而非直接读取原始字节来保护上下文窗口。
需要分析、计数、过滤、比较、搜索、解析或转换数据
需要获取URL内容
运行数据密集型命令
npx skills add mksglu/context-mode --skill context-mode -g -y
用于运行上下文模式诊断,检查运行时、钩子、插件注册及版本状态,并展示结果。
/context-mode:ctx-doctor
npx skills add mksglu/context-mode --skill ctx-doctor -g -y
将本地文件或目录索引至持久化知识库,以便后续通过搜索获取精准片段,避免重复读取原始文件。支持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
用于永久删除上下文模式知识库及会话数据,支持项目或单会话范围。需确认操作并调用MCP工具执行,提供详细清理报告,不可撤销。
用户需要清理上下文知识库
会话数据污染需要重置
切换项目需清除旧数据
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工具获取数据并完整输出,辅助用户了解上下文模式的效果。
/context-mode:ctx-stats
npx skills add mksglu/context-mode --skill ctx-stats -g -y
用于升级 context-mode 插件,从 GitHub 拉取最新代码并重新安装。通过 MCP 工具或 Shell 命令执行构建、安装及配置钩子,并提供版本检查结果与重启指引。
/context-mode:ctx-upgrade
npx skills add mksglu/context-mode --skill ctx-upgrade -g -y
协调多智能体并行处理GitHub Issue、PR、发布及营销任务。涵盖问题分类、代码审查、版本发布、Bug修复、适配器测试等,强调以工程经理角色统筹团队高效执行。
Issue triage
PR review
Releasing versions
Writing marketing posts
Fixing bugs
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
定义命令执行上下文模式规范,强制对大输出使用ctx_execute/file工具而非Bash,提供白名单与决策树以优化Agent会话的上下文管理与处理效率。
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


