executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
nano-graphragUse nano-graphrag for lightweight GraphRAG indexing, querying, provider customization, storage backend selection, prompt/entity extraction tuning, and troubleshooting.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this repo skill when a task involves the nano-graphrag Python package, lightweight GraphRAG/RAG indexing, graph-backed retrieval, local/global/naive query modes, custom LLM or embedding providers, storage backend swaps, entity-extraction troubleshooting, or GraphML knowledge graph inspection.
The root stays a router. Open the focused sub-skill for the workflow you need, then use its bundled references and scripts instead of reopening the source repository.
Install the package in the active project environment with one of:
pip install nano-graphrag
# or, for a checkout you are actively editing:
pip install -e .
Then verify importability:
from nano_graphrag import GraphRAG, QueryParam
print(QueryParam(mode="global"))
If import fails with ModuleNotFoundError: No module named 'transformers', install transformers; this repository version imports transformers.AutoTokenizer at module import time even though the package metadata may not list it explicitly.
Run scripts/check_nano_graphrag_env.py when you need a safe no-network import/API/storage sanity check before following deeper recipes.
| User task | Read first |
|---|---|
Build a GraphRAG, insert text, query global/local/naive modes, use async methods, reuse a working_dir, or validate custom chunking. | sub-skills/core-graphrag-workflows/SKILL.md |
| Replace OpenAI with Azure OpenAI, Amazon Bedrock, DeepSeek/OpenAI-compatible APIs, Ollama, local embeddings, or debug provider kwargs/credentials. | sub-skills/provider-and-model-integrations/SKILL.md |
| Choose JSON/NanoVectorDB/HNSW/NetworkX/Neo4j storage, adapt FAISS/Milvus/Qdrant-style vector stores, or visualize GraphML. | sub-skills/storage-backends/SKILL.md |
| Change prompts, repair malformed JSON, customize entity extraction/DSPy, or recover from zero entities / empty graph / Leiden failures. | sub-skills/customization-and-troubleshooting/SKILL.md |
refresh-repo-skill is needed.references/repo-routing-metadata.json is structured metadata consumed by the repo-skills router import process; do not edit it casually.working_dir for persistent state. The default local stack writes JSON KV stores, NanoVectorDB JSON files, and NetworkX GraphML under that directory.enable_naive_rag=True before insertion if you will later query QueryParam(mode="naive").