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 從公開儲存庫中收錄這些內容。

檢舉或申請下架