Skip to content
Back to skills

Reindex

ASecurity

Refresh or rebuild the bundled Lumen index for the current project, preferring MCP-driven refreshes and using the CLI only for an explicit clean rebuild.

  • 254 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 6, 2026
ai-agentsshelldatabase

Works with

  • cli
  • mcp

Security analysis

A100/100

Scanned September 6, 2026

npx -y skills add ory/lumen --skill reindex --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Reindex?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Reindex
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ory-reindex-lumen/badge)](https://www.skillsdirectory.com/skills/ory-reindex-lumen)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: reindex
description: Refresh or rebuild the bundled Lumen index for the current project, preferring MCP-driven refreshes and using the CLI only for an explicit clean rebuild.
---

# Lumen Reindex

Refresh or rebuild the bundled Lumen index for the current project.

## Steps

1. Call the Lumen `index_status` tool for the current working directory so you
   can report the current state before making changes.
2. If the user wants the index refreshed or seeded, call the Lumen
   `semantic_search` tool with a broad natural-language query and set `path` or
   `cwd` to the current working directory. The search tool refreshes stale or
   missing indexes automatically.
3. If the user explicitly asks for a clean rebuild, explain the options and
   run one via the shell:
   - `lumen index --force .` — reprocesses every file for the current project
     without wiping other worktrees or their shared vectors. Prefer this.
   - `lumen clean --days 0 && lumen index .` — deletes every cached index not
     held by an active indexer lock before rebuilding; locked collections are
     skipped and counted in the summary. Use only when the user asks for a full
     wipe.
   - `lumen clean` — removes indexes for projects that no longer exist or have
     not been used in 30 days. Use to reclaim disk space, not to rebuild the
     current project.
4. After the refresh or rebuild, report the new index status, including vector
   precision, unique vectors, shared references, deduplication ratio, database
   bytes, and reclaimable bytes when available.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.