用途:为 Gemini CLI 全部文档提供唯一真实来源与检索入口,管理本地存储、抓取、发现与解析。
主要能力:从 geminicli.com 的 llms.txt 抓取文档并转为 Markdown;按标题提取子章节以节省 60-90% token;通过 404 检查与哈希比对检测文档漂移;按 doc_id、关键词或自然语言搜索与解析文档;维护索引元数据、关键词、标签与别名。
使用方式:抓取用 python plugins/google-ecosystem/skills/gemini-cli-docs/scripts/core/scrape_docs.py --llms-txt https://geminicli.com/llms.txt;刷新索引用 py -3.13 plugins/google-ecosystem/skills/gemini-cli-docs/scripts/management/manage_index.py refresh;查找用 scripts/core/find_docs.py 的 resolve/search/query/category/tag 子命令;斜杠命令为 /google-ecosystem:docs-ops 的 scrape、refresh、validate、rebuild-index、clear-cache。另有 Python 公共 API,如 find_document、resolve_doc_id、detect_drift、refresh_index。
限制:禁止对 index.yaml 使用 read_file,须用 manage_index.py;PowerShell 中禁止 cd 与 && 连用以免路径重复;脚本须前台运行,不得后台执行;推荐 Python 3.13,spaCy 与 Python 3.14+ 存在兼容问题;Windows Git Bash 需加 MSYS_NO_PATHCONV=1。依赖 pyyaml、requests、beautifulsoup4、markdownify、filelock,可选 spaCy。抓取时部分 404 为预期情况。收费、价格与平台支持等未提供。