shadylukin/neumann/neumann-migrate
Claude Code and agent skill by shadylukin/neumann
- community
Checking that the SKILL.md file is still in the repository.
Migrate data to Neumann from other databases. Use when moving data from PostgreSQL, MySQL, MongoDB, Neo4j, Pinecone, Redis, or other systems to Neumann.
Install
npx vskill@latest install shadylukin/neumann/neumann-migrateSKILL.md
Neumann Migration Guide
Migration Strategy
Before migrating, map your source data model to Neumann's engines:
| Source | Neumann Engine | Command Prefix | |
|---|---|---|---|
| SQL tables | Relational engine | CREATE TABLE, INSERT INTO | |
| Documents (MongoDB, Firestore) | Graph engine or Unified | NODE CREATE or ENTITY CREATE | |
| Graph data (Neo4j, Neptune) | Graph engine | NODE CREATE, EDGE CREATE | |
| Vectors (Pinecone, Weaviate, Qdrant) | Vector engine | EMBED STORE, EMBED BATCH | |
| Key-value (Redis, DynamoDB) | Relational or Unified | INSERT INTO or ENTITY CREATE | |
| Secrets (Vault, AWS Secrets Manager) | Vault engine | VAULT SET |
General approach:
- Create a checkpoint before starting (
CHECKPOINT 'pre-migration'). - Test with a small subset first.
- Bulk load using batch commands.
- Verify row/node/embedding counts match the source.
- Build indexes after loading is complete.
From SQL Databases (PostgreSQL, MySQL, SQLite)
Step 1: Recreate the schema
Map source types to Neumann types:
| Source Type | Neumann Type | |
|---|---|---|
INTEGER, SERIAL, BIGSERIAL | INT or BIGINT | |
VARCHAR(n), TEXT, CHAR(n) | VARCHAR(n) or TEXT | |
FLOAT, DOUBLE PRECISION, REAL | FLOAT or DOUBLE | |
DECIMAL(p,s), NUMERIC(p,s) | DECIMAL(p,s) | |
BOOLEAN | BOOLEAN | |
DATE, TIME, TIMESTAMP | DATE, TIME, TIMESTAMP | |
BYTEA, BLOB | BLOB |
Step 2: Bulk insert data
Use multi-row INSERT for efficiency:
For large tables, batch in groups of 500-1000 rows per INSERT statement.
Step 3: Recreate indexes
Step 4: Verify
From Document Databases (MongoDB, Firestore, CouchDB)
Map documents to nodes or unified entities. Choose based on whether you need graph relationships.
Simple documents to entities
Nested documents to nodes with edges
For a MongoDB document like { user: "Alice", address: { city: "NYC" } }:
Batch creation for bulk import
Arrays as multiple edges
For a document with { user: "Alice", friends: ["Bob", "Carol"] }:
From Graph Databases (Neo4j, Amazon Neptune, ArangoDB)
Node mapping
Neo4j Cypher:
Neumann equivalent:
Edge mapping
Neo4j Cypher:
Neumann equivalent:
Batch import for large graphs
Recreate graph indexes and constraints
From Vector Databases (Pinecone, Weaviate, Qdrant, Milvus)
Bulk vector import
Use EMBED BATCH for the fastest bulk loading:
Collection mapping
If your source uses namespaces or collections:
Metadata as entity properties
If vectors have associated metadata, use unified entities:
Build index after bulk load
Always build the index once after all embeddings are loaded, not after each insert.
Verify
Safety Checklist
- Checkpoint before migration:
``sql CHECKPOINT 'pre-migration' ``
- Test with a small subset first. Load 100 rows/nodes/vectors and verify
correctness before running the full migration.
- Verify counts match:
``sql SELECT COUNT(*) FROM users GRAPH AGGREGATE COUNT NODES person COUNT EMBEDDINGS ``
- Use transactions for atomicity (when available):
``sql BEGIN CHAIN TRANSACTION -- migration commands here COMMIT CHAIN ``
- Rollback if something goes wrong:
``sql CHECKPOINTS ROLLBACK TO 'pre-migration' ``
- Build indexes after loading, not during. This applies to both relational
indexes (CREATE INDEX) and vector indexes (EMBED BUILD INDEX).
Batch Import Tips
- Relational: Multi-row
INSERT INTO ... VALUES (row1), (row2), ...-- batch 500-1000 rows per statement. - Graph nodes:
GRAPH BATCH CREATE NODES [...]-- batch up to 1000 nodes per call. - Graph edges:
GRAPH BATCH CREATE EDGES [...]-- batch up to 1000 edges per call. - Vectors:
EMBED BATCH [...]-- batch up to 1000 vectors per call. - Entities:
ENTITY BATCH CREATE [...]-- batch up to 500 entities per call (each entity may create a node + embedding). - Quote all keys that contain hyphens, colons, or other special characters.
- Order matters: Create nodes before edges that reference them. Create tables before inserting rows.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/neumann-migrate/SKILL.md
Popularity
- Repository stars
- 73
- Repository forks
- 6
- 7-day trend score
- 22
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 18 Mar 2026, 7 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/shadylukin/neumann/neumann-migrate)