basemind-scan

Solid

Build or refresh the basemind index by running `basemind scan` via the CLI. Use this when basemind reports "no index" / "no indexed files", when the MCP server isn't available, or after large changes when the index is stale. Works without the MCP server — it shells the basemind binary directly.

AI & Automation 69 stars 13 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 85/100

Stars 20%
61
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# basemind-scan — build or refresh the index (no MCP server required) basemind answers code-map questions from an index in a machine-global cache (Linux `~/.local/share/basemind/`, macOS `~/Library/Application Support/basemind/`; override `BASEMIND_DATA_HOME`), keyed by workspace. That index is built by `basemind scan`. This skill runs the scan via the **CLI**, so it works even when the MCP server (`basemind serve`) is not running — which is exactly the situation when basemind reports **"no index"** or **"no indexed files"**, or when MCP tools aren't loaded in the session. ## When to use - basemind / the statusline reports **no index** for this repo. - An MCP tool returns "no indexed files" or empty results that should not be empty. - The MCP server isn't running or isn't reachable, and you need the code map. - The index is stale after large changes and you want a full rebuild. ## How to run From the repository root: ```sh basemind scan # full working-tree scan basemind scan <path> # scope to a path (incremental) ``` Finding the binary (in order of preference): 1. `basemind` on `PATH`. 2. The plugin-managed binary the MCP launcher caches: `${XDG_CACHE_HOME:-~/.cache}/basemind/bin/<version>/basemind`. 3. A dev build: `cargo build --release` then `./target/release/basemind scan`. ## Notes - The scan writes the content-addressed blob store + Fjall inverted index into the machine-global cache (never inside the repo). Seconds for small repos; ~22 s fo...

Details

Author
Goldziher
Repository
Goldziher/basemind
Created
2 years ago
Last Updated
yesterday
Language
Rust
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category