Skip to content
Back to skills

Storage Backends

ASecurity

"Choose, configure, validate, and troubleshoot nano-graphrag

  • 247 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 8, 2026
ai-agentsnodeapidatabasebackend

Works with

  • api

Security analysis

A100/100

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

Scanned September 8, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Storage Backends?

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

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

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: storage-backends
description: "Choose, configure, validate, and troubleshoot nano-graphrag
  storage backends for KV data, vector indexes, graph persistence, Neo4j, and
  safe GraphML visualization."
disable-model-invocation: true
metadata:
  disco-role: operating
license: MIT
---

# Storage Backends

Use this sub-skill when a user needs to choose a nano-graphrag storage class, configure `GraphRAG` storage arguments, validate local storage persistence, adapt a third-party vector database, set up Neo4j graph storage, or inspect a GraphML knowledge graph.

Do not use this sub-skill for provider-specific LLM or embedding implementation details; storage docs only state the vector `embedding_func` contract and should hand off actual provider code to the sibling [provider-and-model-integrations](../provider-and-model-integrations/SKILL.md) skill. Do not use it for the high-level insert/query workflow; route that to the sibling [core-graphrag-workflows](../core-graphrag-workflows/SKILL.md) skill.

## Runtime references and scripts

- Read [references/storage-backends.md](references/storage-backends.md) when choosing among `JsonKVStorage`, `NanoVectorDBStorage`, `HNSWVectorStorage`, `NetworkXStorage`, `Neo4jStorage`, or when implementing a FAISS/Milvus/Qdrant-style vector adapter.
- Read [references/graphml-visualization.md](references/graphml-visualization.md) when the user has a GraphML file and wants JSON export or an optional local browser preview.
- Read [references/troubleshooting.md](references/troubleshooting.md) when storage initialization, persistence, HNSW capacity/search, Neo4j/GDS, empty graph clustering, or vector adapter behavior fails.
- Run [scripts/storage_smoke.py](scripts/storage_smoke.py) to instantiate NetworkX plus local vector storage with a fake embedding function and no provider API calls.
- Run [scripts/visualize_graphml.py](scripts/visualize_graphml.py) to convert a user-provided GraphML file to node-link JSON and, only if requested, generate/serve a local HTML preview.

## Fast routing

- Default local file-backed setup: keep `JsonKVStorage`, `NanoVectorDBStorage`, and `NetworkXStorage`; use a fresh `working_dir` for an independent index.
- Larger/faster local vector search: set `vector_db_storage_cls=HNSWVectorStorage` and tune `vector_db_storage_cls_kwargs` before inserting data.
- External graph service: set `graph_storage_cls=Neo4jStorage` and provide `addon_params={"neo4j_url": ..., "neo4j_auth": (...)}` after confirming Neo4j 5.x plus the GDS plugin are running.
- Third-party vector database: subclass `BaseVectorStorage`, preserve `upsert`, `query`, and `index_done_callback`, return ranked results containing source ids plus any required metadata.
- If a storage symptom is caused by LLM/entity extraction producing no graph, route to the sibling [customization-and-troubleshooting](../customization-and-troubleshooting/SKILL.md) skill after confirming the graph backend itself is healthy.

Files in this skill

  • SKILL.md2.9 KB
  • references/graphml-visualization.md3 KB
  • references/storage-backends.md13.2 KB
  • references/troubleshooting.md7.8 KB
  • scripts/storage_smoke.py11.5 KB
  • scripts/visualize_graphml.py10.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.