Skip to content
Back to skills

Backends And Storage

ASecurity

"Choose, configure, validate, and troubleshoot LEANN vector

  • 247 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 8, 2026
ai-agentspythongoapibackendperformancedocumentation

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 7 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill backends-and-storage --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Backends And Storage?

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

Security grade badge for Backends And Storage
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-backends-and-storage/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-backends-and-storage)

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: backends-and-storage
description: "Choose, configure, validate, and troubleshoot LEANN vector
  backends, index artifacts, and selective embedding recomputation."
disable-model-invocation: true
metadata:
  disco-role: operating
license: MIT
---

# Backends and storage

Use this sub-skill when the task changes the vector index backend, storage mode,
search graph, optional accelerator, or recomputation path. Keep ordinary
embedding/provider and end-to-end API/CLI instructions in their sibling
sub-skills.

## Route by decision

1. Choose a backend or plan an update: [backend selection](references/backend-selection.md).
2. Identify files, passage offsets, or recomputation behavior:
   [artifacts and recomputation](references/index-artifacts-and-recomputation.md).
3. Tune graph/IVF search, pruning, beam, or metric compatibility:
   [backend tuning](references/backend-tuning.md).
4. Evaluate DiskANN or CUDA FlashLib variants:
   [optional accelerator backends](references/optional-accelerator-backends.md).
5. Diagnose a failed install, build, search, or incomplete index:
   [troubleshooting](references/troubleshooting.md).
6. Validate an existing index without changing it:
   `python scripts/inspect_leann_index.py INDEX_PATH`.

## Non-negotiable invariants

- The installed distribution names (`leann-backend-*`) and registry names are
  different; use the exact registry name in LEANN configuration.
- The embedding dimension and distance metric recorded in `.meta.json` must
  agree with the vectors and backend artifact. Normalized vectors need the
  cosine-compatible path described in the tuning reference.
- Compact/pruned HNSW is a storage format, not an update format: it requires
  recomputation for search and must be rebuilt for in-place changes.
- IVF is the CPU modification-oriented option: it uses FAISS `IndexIVFFlat`
  with `DirectMap.Hashtable`, and updates remove old IDs before adding new ones.
- DiskANN and both FlashLib variants are optional in this verified environment;
  never turn their documentation into a local availability or performance
  promise. The inspector checks files only and does not prove native/GPU search.

The bundled inspector is read-only, uses no model/network/credential, and exits
nonzero for invalid metadata, passage-offset mappings, or required backend
artifacts. See the references for the exact checks and known limits.

Files in this skill

  • SKILL.md2.3 KB
  • references/backend-selection.md7 KB
  • references/backend-tuning.md5.8 KB
  • references/index-artifacts-and-recomputation.md6 KB
  • references/optional-accelerator-backends.md3.9 KB
  • references/troubleshooting.md6.6 KB
  • scripts/inspect_leann_index.py21.4 KB

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.