Doctor

作者 oryf60f9ecee417无许可证收录于 2026年10月8日更新于 2026年10月8日

Run a health check on the bundled Lumen semantic search setup for the current project, verify backend reachability and index freshness, and summarize remediation steps.

仅含说明DevOps & Cloud
AI 生成的概览

对当前项目内置的 Lumen 语义搜索配置进行健康检查,验证后端可达性与索引新鲜度。

功能
指导智能体针对当前项目调用 Lumen 的 health_check 与 index_status 工具,然后汇总嵌入服务状态、索引统计、存储统计以及任何 MCP 或插件配置问题。它还会说明 semantic_search 工具会在首次使用时建立索引,并建议在需要立即索引时运行 lumen index .。产出是一份带修复建议的诊断摘要,而不是文件。
适用场景
当项目的 Lumen 语义搜索似乎不可用、索引过期或配置有误时使用,也适用于用户要求对 Lumen 配置做健康检查的场景。在依赖语义搜索之前,也可用它确认嵌入后端可达且索引是最新的。
运行要求
需要 Lumen 的 MCP 或插件工具 health_check 与 index_status 可用,并能访问当前项目目录。该技能不附带脚本,仅为说明性指令。

Lumen Doctor

Run a health check on the bundled Lumen semantic search setup for the current project.

Steps

  1. Call the Lumen health_check tool to verify the embedding service is reachable.
  2. Call the Lumen index_status tool with path or cwd set to the current working directory to check index freshness.
  3. Report a concise summary:
    • Embedding service status, backend, host, and model
    • Index totals: files, chunks, last indexed time, stale or fresh
    • Storage totals: unique vectors, shared references, deduplication ratio, vector precision, database bytes, and reclaimable bytes
    • Any MCP or plugin setup issue that blocks the tools
  4. If no index exists yet, explain that the Lumen semantic_search tool seeds the index on first use.
  5. If the user wants eager indexing instead of waiting for the next search, suggest running lumen index . in the repository root.
  6. Interpret storage totals as collection-wide values shared by compatible Git worktrees; file, chunk, freshness, and indexing values are project-local. A high deduplication ratio is expected and is not an index-health problem.

来源与署名

来源:ory/lumen位于skills/doctor提交f60f9ec

许可证: 无许可证

内容归原作者所有。SourceWeft 从公开仓库中收录这些内容。

举报或申请下架