shadylukin/neumann/neumann-schema
Claude Code and agent skill by shadylukin/neumann
- community
Checking that the SKILL.md file is still in the repository.
Design Neumann data models using relational tables, graph nodes/edges, and vector embeddings. Use when planning a database schema or deciding which Neumann engines to use for a feature.
Install
npx vskill@latest install shadylukin/neumann/neumann-schemaSKILL.md
Neumann Schema Design
When to Use Which Engine
Neumann has multiple engines. Choose based on data shape and query patterns.
| Engine | Best For | Query Style | |
|---|---|---|---|
| Relational | Structured records, joins, aggregations | SELECT, INSERT, WHERE, JOIN | |
| Graph | Relationships, traversals, influence | NODE CREATE, EDGE CREATE, NEIGHBORS, PATH | |
| Vector | Similarity, semantic search, embeddings | EMBED STORE, SIMILAR | |
| Unified Entity | Objects spanning multiple engines | ENTITY CREATE, ENTITY GET | |
| Vault | Secrets, encrypted credentials | VAULT STORE, VAULT GET | |
| Cache | LLM response caching | CACHE GET, CACHE PUT, CACHE SEMANTIC GET | |
| Blob | Files, images, large binary objects | ARTIFACT UPLOAD, ARTIFACT DOWNLOAD | |
| Chain | Immutable audit trail, versioned tensors | CHAIN BEGIN, CHAIN COMMIT |
Decision Guide
- Need columns and types? Use relational tables (
CREATE TABLE). - Need to traverse connections? Use graph nodes and edges.
- Need "find similar" or "nearest neighbor"? Use vector embeddings.
- Need all three for one entity? Use unified entities or link by key.
- Need encryption at rest? Use vault for secrets.
- Need to cache expensive LLM calls? Use cache engine.
Most real applications use 2-3 engines together. A user profile might be a relational row (structured fields), a graph node (connections), and a vector embedding (semantic search) -- all linked by the same user ID.
Schema Design Rules
Relational Tables
Use for structured data with known columns and types. Tables support indexes, constraints, joins, and aggregations.
Graph Nodes and Edges
Use for entities with dynamic properties and typed relationships. Edges are always directed (from -> to). Use labels to categorize nodes and type edges.
Vector Embeddings
Use for data that needs similarity search. Key embeddings by entity ID for cross-engine linking. Choose the right distance metric:
cosine-- text embeddings, normalized vectors (most common)euclidean-- spatial data, coordinate distancesdot-- when vectors are already normalized and you want speed
Vault, Cache, Blob
- Vault: Store secrets with identity-based access control.
VAULT STORE 'db-password' 'secret123' AS admin
- Cache: Cache LLM responses by exact query or semantic similarity.
CACHE PUT 'prompt-hash' 'response-text'
- Blob: Store files with content-addressable deduplication.
ARTIFACT UPLOAD 'report.pdf' FROM '/path/to/file'
Cross-Engine Linking Patterns
The key principle: use the same identifier across engines.
Pattern 1: Shared Key
Store the same ID in a table column, as a node property, and as the embedding key.
Pattern 2: Unified Entity
ENTITY CREATE writes to all relevant engines atomically.
Pattern 3: Combined Queries
Chain vector search with graph traversal.
Anti-Patterns
Do not store graphs in relational tables. Using foreign keys and self-joins to model a graph is slow and awkward. Use NODE CREATE and EDGE CREATE instead -- the graph engine handles traversals efficiently.
Do not store structured records as node properties. If you have 20 typed columns with constraints and indexes, that is a table. Node properties are schemaless key-value pairs.
Do not embed everything. Vector embeddings cost storage and compute. Only embed data that needs similarity search or semantic matching. Exact lookups should use relational SELECT or graph GET.
Do not use vector search for exact lookups. If you know the exact key, use SELECT ... WHERE id = X or NODE GET id. Vector search is approximate and slower for exact matches.
Do not duplicate data across engines without a linking key. If a user exists in the table and in the graph, both must share an identifier. Otherwise updates diverge silently.
Example Schemas
See the examples/ directory for complete schema designs:
examples/rag-app.md-- RAG application with documents, chunks, and
semantic retrieval
examples/agent-memory.md-- AI agent memory with structured recall,
graph associations, and semantic search
examples/knowledge-graph.md-- Knowledge graph with entity
resolution, typed relationships, and similarity
Reference
- See
neumann-queryskill for complete query syntax - See
neumann-vectorskill for HNSW index configuration - See
neumann-graphskill for traversal patterns - See
neumann-clientskill for SDK integration
Security
- Security scanPassed, 95 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-schema/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-schema)