用途:为 Cursor 文档提供本地单一事实来源与检索能力,管理文档存储、抓取、发现与引用解析,避免链接失效并支持离线访问与按需提取子章节。
主要能力:从 https://cursor.com/llms.txt 抓取文档;按关键词、分类、标签或自然语言搜索;将 doc_id 解析为文件路径;子章节提取以节省 token;基于哈希与 404 检查的漂移检测;索引元数据、关键词、标签、别名维护与重建。文档分类包括 get-started、core、context、integrations、configuration、account、cookbook、troubleshooting;常见标签有 cli、ide、agent、tab、mcp、context、enterprise、cloud-agent、inline-edit。
使用方式:斜杠命令 /cursor-ecosystem:docs-ops scrape、refresh、validate、rebuild-index、clear-cache。脚本示例:python plugins/cursor-ecosystem/skills/cursor-docs/scripts/core/scrape_docs.py;python plugins/cursor-ecosystem/skills/cursor-docs/scripts/management/refresh_index.py;find_docs.py 支持 resolve、search、query、category、tag 及 --limit、--no-limit、--min-score、--fast、--json、--verbose。index.yaml 必须通过 manage_index.py count/list/get/verify 访问,禁用 read_file。Python 3.11+,依赖 pyyaml、requests、beautifulsoup4、markdownify、filelock,可选 yake。
限制与注意:禁止在 PowerShell 中用 cd 与 && 组合,须用绝对路径或分开命令,避免路径重复;Windows 用 PowerShell 或 Git Bash 加 MSYS_NO_PATHCONV=1;脚本前台运行,不用 run_in_background 或后台轮询;抓取中的 404 属预期并会继续。其余信息暂未提供。