leann
Installation
SKILL.md
LEANN operator
Instructions
- Identify the exact checkout and pin. From the jeo-skills repository root, run
python3 .agent-skills/leann/scripts/preflight.py --repo /absolute/upstream --json(or invokescripts/preflight.pyfrom the installed skill root). An omitted--repois inventory only. The helper compares selected pinned-file hashes; it does not prove Git HEAD, the whole checkout, installed dependencies, or runtime readiness. Read the pinned source notes. - Keep the system model straight. LEANN is a vector index that uses graph-based selective recomputation to reduce stored embedding data. Its graph is an index/search optimization, not a semantic knowledge graph or durable code-architecture graph. Route the latter to
mexorgraphify. - Plan local indexing before running it. Confirm source paths, file types/exclusions, index directory, chosen backend, embedding mode/model, and whether incremental updates or a full rebuild are intended. Check storage, memory, native dependencies, and data sensitivity.
- Get approval before effects. Ask before installing packages or downloading models; ingesting private, regulated, or third-party source material; calling paid or remote embedding APIs; starting a service or binding beyond loopback; creating/updating/rebuilding/deleting an index; or enabling integrations that read account/workspace data. Do not put keys in command history. A full rebuild (
--force) is distinct from the default incremental build. - Use the pinned CLI and verify the result. After approval, check the checkout's own
leann --helpandleann <command> --help; command options can change. Run a small representative index/search first, then verify expected source coverage and retrieval. Do not claim runtime readiness from preflight alone.
Examples
# Inspection only; use an absolute, non-symlink upstream checkout.
python3 .agent-skills/leann/scripts/preflight.py --repo /work/LEANN --json