nanograph-lance
nanograph storage migration
A one-shot migration of a legacy nanograph database onto the current NamespaceLineage storage generation. Preserves the current visible graph state, resets storage-era history, and leaves a verifiable backup — with clear rollback steps if anything looks wrong.
- Run
nanograph storage migrate --db <db>.nano --target lineage-native - Keep the current committed graph state; drop old manifest/WAL-era history
- Verify row counts, queries, embeddings, and media before deleting the backup
- For schema changes in a healthy database, use
nanograph migrateinstead — this skill is storage-only
For new graphs, nanograph 1.2.x defaults to NamespaceLineage. That storage generation is Lance 4 namespace-backed, uses lineage-native CDC for inserts and updates, keeps delete tombstones in __graph_deletes, and stores committed graph state in Lance-backed internal tables such as __graph_snapshot and __graph_tx.
When to use this
Use this skill when any of these are true:
- the CLI refuses to open a database normally and prints
nanograph storage migrate --db ... --target lineage-native - the database still uses the old manifest or WAL-era storage layout
- the project wants the current default storage generation for new work
More from nanograph/nanograph-skills
nanograph-ops
Operational guide for managing nanograph embedded graph databases. Use this skill whenever the user works with nanograph files (.pg schemas, .gq queries, nanograph.toml, *.nano/ databases), asks about graph data operations, mutations, schema changes, data loading, CDC, embeddings, media, or any nanograph CLI command. Also trigger when you see nanograph-related files in the project or the user mentions graph databases or Lance-backed local graph storage in the context of this codebase.
24nanograph-industry-intel
Stand up a SPIKE industry intelligence graph on nanograph. Use this skill whenever the user wants to set up a SPIKE-style knowledge graph — either using the existing AI industry example or designing the ontology for another domain (Biotech, Fintech, Space, Crypto, Geopolitics, or anything else the user brings). The skill focuses on ontology and schema: it either reuses the AI template or collaborates with the user to design a domain-specific ontology (entity kinds, sub-fields, actor roles, source/artifact types) following the AI pattern, then adapts the schema and initializes the database. Data loading, research, and ingestion are explicitly out of scope — use the nanograph-ops skill for those. Apply when the user says any of: set up SPIKE, bootstrap an intel graph, create a knowledge graph for X industry, initialize intel for Y, start a new context graph, set up a graph for AI / biotech / fintech / space / crypto / geopolitics / <any domain>.
3