Skip to content
Development
Skill

/doctor

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.

From plugin
lumen
2903 skills2 agents2 hooks1 MCP
Install
$ npx -y skills add ory/lumen --skill doctor --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/doctor

Context preview

The summary Claude sees to decide when to auto-load this skill.

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.

SKILL.md

doctor.SKILL.md
name: doctor
description: 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.

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.

Ships withlumen

Save 30% token costs when using Claude Code, Codex, OpenCode for free - with open source, local semantic search. Works for small and large codebases and monorepos! Enterprise-ready and fully compliant via Ollama and SQLite-vec.

Get the whole plugin
Stats
290
Stars
32
Forks
Maintained
Maintenance
Go
Language
1mo ago
Last commit
6mo ago
Created

Repo: ory/lumen

Other skills on lumen.