datahike

Manage database patterns and Datalog queries within the Seon runtime.

1|Updated Apr 21, 2026
One-click install
npx skills add https://github.com/seantempesta/seon --skill datahike
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: datahike
Source: https://github.com/seantempesta/seon/tree/main/seon-skills/datahike
Command: npx skills add https://github.com/seantempesta/seon --skill datahike

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill resolves the complexity of managing persistent, queryable data within the Seon runtime, ensuring you can store, retrieve, and evolve your knowledge graph without manual schema management or database connection errors.

Core Features & Use Cases

  • Schema Management: Provides a single source of truth for attribute shapes using the Malli-to-datahike bridge, preventing data corruption and type mismatches.
  • Datalog Querying: Enables powerful, declarative data retrieval, including complex joins, recursive rules, and temporal lookups.
  • Use Case: Use this skill to design a persistent knowledge graph for your personal projects, allowing you to query relationships between entities like tasks, notes, and source documents with high precision.

Quick Start

Use the datahike skill to register a new attribute for your project and transact a piece of data into the database.

Frequently Asked Questions about datahike

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I manage a persistent Datalog database schema in Clojure?

To manage a persistent Datalog database schema in Clojure, use the Malli-to-datahike bridge to register attribute shapes, preventing data corruption and type mismatches. This provides a single source of truth for evolving your knowledge graph.

What are Datalog queries used for when building a knowledge graph?

Datalog queries are used for declarative data retrieval in a knowledge graph, enabling complex joins, recursive rules, and temporal lookups. They allow you to query precise relationships between entities like tasks, notes, and source documents.

Can I perform asynchronous writes and synchronous reads with Datahike?

Yes, you can perform asynchronous wire-based writes and local synchronous reads using the Seon database API. This facilitates transaction handling and complex data retrieval for persistent knowledge graphs without manual connection errors.

How do I transact data and register a new attribute in a Datalog database?

To transact data and register a new attribute in a Datalog database, use the datahike skill to define the attribute shape via the schema bridge and process the transaction through the database API for persistent storage.

Does Datahike support temporal lookups and recursive rules?

Yes, Datahike supports temporal lookups and recursive rules through its Datalog querying capabilities. This enables powerful, declarative data retrieval and complex joins across your persistent knowledge graph.

Why does my Datalog database schema keep getting type mismatches?

Type mismatches occur when schema shapes are not strictly enforced. Using the Malli-to-datahike bridge provides a single source of truth for attribute shapes, preventing data corruption and ensuring type consistency during transactions.