/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.
Claude Code
$ npx -y skills add ory/lumen --skill doctor --agent claude-code
Codex
$ npx skills add ory/lumen --skill doctor -a codex -y
Cursor
$ npx skills add ory/lumen --skill doctor -a cursor -y
Gemini CLI
$ npx skills add ory/lumen --skill doctor -a gemini-cli -y
GitHub Copilot
$ npx skills add ory/lumen --skill doctor -a github-copilot -y
OpenCode
$ npx skills add ory/lumen --skill doctor -a opencode -y
Windsurf
$ npx skills add ory/lumen --skill doctor -a windsurf -y
SKILL.md
doctor.SKILL.mdname: 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.
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.
More skills from other plugins.
brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
ask-matt
Ask which skill or flow fits your situation. A router over the skills in this repo.
Questions about doctor.
- Which coding agents can use doctor?
- doctor installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.

