lunora-setup-hyperdrive

Integrate Postgres or MySQL databases into Lunora applications via Cloudflare Hyperdrive bindings.

214|7|Updated May 29, 2026
One-click install
npx skills add https://github.com/anolilab/lunora --skill lunora-setup-hyperdrive
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lunora-setup-hyperdrive
Source: https://github.com/anolilab/lunora/tree/main/packages/cli/skills/lunora-setup-hyperdrive
Command: npx skills add https://github.com/anolilab/lunora --skill lunora-setup-hyperdrive

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @lunora/hyperdrive, postgres, pg, mysql2.

What problem does it solve?

This skill bridges the gap between existing Postgres or MySQL databases and your Lunora application, allowing you to perform non-reactive data operations safely within action contexts.

Core Features & Use Cases

  • Database Integration: Seamlessly connect legacy SQL databases to your Cloudflare-backed Lunora app.
  • Action-Only Access: Provides a driver-agnostic ctx.sql client specifically for actions to maintain system determinism.
  • Data Projection: Enables the projection of external database rows into reactive Lunora tables for real-time updates.

Quick Start

Run the lunora-setup-hyperdrive skill to configure your Hyperdrive binding and generate the necessary TypeScript types for your database connection.

Frequently Asked Questions about lunora-setup-hyperdrive

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

FAQPage Schema
How do I connect a legacy Postgres or MySQL database to a Lunora application?

To connect legacy Postgres or MySQL databases to Lunora, use Cloudflare Hyperdrive bindings to integrate external SQL databases and generate TypeScript types for non-reactive data access within actions.

Can I use Cloudflare Hyperdrive to access external databases within Lunora action workflows?

Yes, Cloudflare Hyperdrive enables external database interaction within Lunora action-based workflows. It provides a driver-agnostic SQL client specifically for actions to maintain system determinism during non-reactive data operations.

Do I need specific SQL drivers to set up Hyperdrive with Lunora?

Yes, setting up Hyperdrive with Lunora requires installing compatible SQL drivers like postgres, pg, or mysql2. These dependencies facilitate the connection between your legacy database and the Cloudflare-backed Lunora application.

What is non-reactive data access in Lunora and when do I need it?

Non-reactive data access in Lunora allows safe database operations within action contexts without triggering reactive updates. You need it when performing action-only data operations against external Postgres or MySQL databases via Hyperdrive bindings.

How do I project external database rows into reactive Lunora tables?

You can project external database rows into reactive Lunora tables for real-time updates by using the Hyperdrive integration. This bridges existing SQL databases with your Lunora app to enable reactive data synchronization.

Why should I use Hyperdrive instead of direct database connections in Lunora actions?

Using Hyperdrive instead of direct connections maintains system determinism by providing a driver-agnostic SQL client specifically for actions. This ensures safe non-reactive data operations while bridging legacy databases to Cloudflare-backed Lunora apps.