Index
indexRun first on new or changed codebases to build the searchable snapshot required by all other tools. Supports multiple paths, incremental updates, live progress, and automatic file watching.
Instructions
Use first on any new or changed codebase, before any other tool —
everything except status/health requires an index. Supports
comma-separated paths for multi-folder/monorepo indexing (processed
sequentially to keep RAM low). Incremental by default once an index
exists, and reports live progress instead of blocking silently. After
this completes, a file watcher keeps the index fresh automatically
(NEXUS_AUTO_WATCH) — re-running index manually is rarely needed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path to the codebase directory (or comma-separated paths) | |
| paths | No | Additional comma-separated paths to index |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||