--- description: Bulk-index code or docs into the active EEMS --- The user invoked `/index` with arguments: `$ARGUMENTS` Expected forms: - `/index status [project]` → call `index_status` (with optional project filter). Paste the returned string verbatim. - `/index clear [project]` → call `index_clear` with the given kind + optional project. Report one line: `cleared: code=, docs=`. - `/index code [project] [extensions]` → call `index_code`. If `project` is omitted, derive it from the basename of `root_path`. If `extensions` is omitted, leave it unset (sane defaults kick in). Report two lines: ``` indexed / files (skipped ) chunks: inserted, embedded, embed failures ``` - `/index docs [project]` → call `index_docs`. Project derivation same as above. Same two-line report shape. Rules: - If you derived `project` from the path, echo it as `(project=)` on its own line. - No narration. No "I will...". - If `$ARGUMENTS` is empty or starts with `help`, list the four forms above and stop.