Agent skill

Lunora Setup Hyperdrive

by anolilab in anolilab/lunora

Connects an existing, externally owned Postgres/MySQL database to a Lunora app through Cloudflare Hyperdrive.

Custom licenceAuto-check passedDatabases

Install Lunora Setup Hyperdrive

skills CLI
$ npx skills add anolilab/lunora --skill lunora-setup-hyperdrive -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install anolilab/lunora lunora-setup-hyperdrive --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/anolilab/lunora.git skills-src && mkdir -p .claude/skills && cp -r skills-src/packages/cli/skills/lunora-setup-hyperdrive .claude/skills/lunora-setup-hyperdrive && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
lunora-setup-hyperdrive
GitHub stars
283
Token cost
~1.8k tokens
SKILL.md length
518 words
Files
1
Skills in repo
16
Repo updated
First seen
Licence
Custom licence

At a glance

Connects an existing, externally owned Postgres/MySQL database to a Lunora app through Cloudflare Hyperdrive.

  • Works in 5 steps: Install the package + one driver → Create the binding → Regenerate types → …
  • The user wants to query our existing Postgres
  • SKILL.md covers Step 1: Install the package +…, Step 2: Create the binding, Step 3: Regenerate types and Step 4: Wire the client on the…, plus 2 more sections
  • Calls wrangler and pnpm

What it does

Lunora Setup Hyperdrive is an agent skill from anolilab/lunora. Connects an existing, externally owned Postgres/MySQL database to a Lunora app through Cloudflare Hyperdrive. Lunora does not own its schema. Covers @lunora/hyperdrive, the action-only, non-reactive ctx.sql client (createHyperdrive + fromPostgresJs/fromNodePg/fromMysql2, wired with the app builder's .hyperdrive()), the HYPERDRIVE binding and wrangler hyperdrive create, and making external rows live through a projection or a .source() ingest table. Use when the user wants to "query our existing Postgres", "read…

Its SKILL.md is about 1.8k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Databases, covering SQL. It works with SQL, PostgreSQL, MySQL and Cloudflare Workers. The repository describes itself as: Type-safe, real-time backend framework on your own Cloudflare account — Workers, Durable Objects, D1, R2, Queues. Convex-style DX, Vite-first.

When your agent uses it

  • The user wants to query our existing Postgres
  • Read the legacy DB from an action
  • Connect Neon/RDS/Supabase
  • Sync external rows into Lunora

Example prompts

  • “query our existing Postgres”
  • “read the legacy DB from an action”
  • “connect Neon/RDS/Supabase”
  • “/lunora-setup-hyperdrive”

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. Install the package + one driver
  2. Create the binding
  3. Regenerate types
  4. Wire the client on the app builder
  5. (optional): Make external data reactive

What it can do on your machine

Read from SKILL.md and the folder at commit ad2d4c8. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • wrangler
    • pnpm

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use wrangler and pnpm, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Lunora Setup Hyperdrive loads about 1.8k tokens when it runs. Until then it costs about 212 tokens; SKILL.md has 518 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~212
When it runs · the whole SKILL.md, loaded when a task matches
~1.8k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 518 words (~1,812 tokens).

“@lunora/hyperdrive exposes a Cloudflare Hyperdrive binding as a driver-agnostic ctx.sql client that is available only inside an action. It integrates a database Lunora doesn't own. Don't use it to replace defineSchema, because you'd lose realtime, OCC, optimistic updates, the offline…”

— opening of SKILL.md by anolilab, Custom licence
name
lunora-setup-hyperdrive

Read the full SKILL.md on GitHub

Files

Just SKILL.md in packages/cli/skills/lunora-setup-hyperdrive of anolilab/lunora.

Open the folder on GitHubat commit ad2d4c8

Compare with similar skills

Lunora Setup Hyperdrive next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Lunora Setup Hyperdrive compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Lunora Setup Hyperdrive this skillanolilab/lunora283—~1.8kAutomated safety check: PassCustom licence
Expert DatabaseReJeCtAll/ExpertTeam-Codex113—~692Automated safety check: PassMIT
Safe SQL Executionsupabase/supabase111k—~4.2kAutomated safety check: PassApache-2.0
Sql2erystemsrx/sql_to_ER1881 repos~1.1kAutomated safety check: PassAGPL-3.0
SQL Database Support for pRESTprest/prest4.6k—~1.6kAutomated safety check: PassMIT
Chdb SQLvemetric/vemetric3941 repos~1.2kAutomated safety check: PassApache-2.0

Similar skills

  • Expert Database

    ReJeCtAll/ExpertTeam-Codex

    数据库优化专家入口。用于 Codex CLI 的 $expert-database 调用. An agent skill from ReJeCtAll/ExpertTeam-Codex.

    113 GitHub stars~692 tokensUpdated 3 mo ago
    DatabasesAuto-check passed
  • Safe SQL Execution

    supabase/supabase

    Official

    A skill your agent uses whenever code will build, return, fetch, or execute SQL that runs against a user's real Postgres database — even when the request reads like an ordinary feature or bug fix…

    111k GitHub stars~4.2k tokensUpdated today
    DatabasesAuto-check passed
  • Sql2er

    ystemsrx/sql_to_ER

    A skill your agent uses when the user wants a Chen-model ER diagram from SQL CREATE TABLE statements or DBML, wants to rearrange or clean up an existing sql2er state, wants a skeleton-only overview…

    188 GitHub starsUsed in 1 repo~1.1k tokens
    DatabasesAuto-check passed
  • Guides classifying, gap-analyzing and scaffolding support for a new SQL database in pREST, from Postgres-compatible variants to entirely new dialects.

    4.6k GitHub stars~1.6k tokensUpdated today
    DatabasesAuto-check passed
  • Chdb SQL

    vemetric/vemetric

    A skill your agent uses when the user wants to run SQL — especially analytical SQL — on local files (parquet/csv/json), URLs, S3 paths, or remote databases (Postgres, MySQL, MongoDB, ClickHouse…

    394 GitHub starsUsed in 1 repo~1.2k tokens
    DatabasesAuto-check passed
  • Squix

    eduardofuncao/squix

    Run SQL queries across databases (Postgres, MySQL, SQLite, etc.) via the squix CLI.

    273 GitHub stars~784 tokensUpdated 16 days ago
    DatabasesAuto-check passed

More from anolilab/lunora

All 16 skills in this repo
  • Lunora Design

    anolilab/lunora

    This skill should be used when the user explicitly says "Lunora style", "Lunora design", "/lunora-design", or directly asks to use/apply the Lunora design system.

    283 GitHub stars~4.5k tokensUpdated yesterday
    Auto-check passed
  • Lunora

    anolilab/lunora

    Routes general Lunora requests to the right Lunora skill and gives the shared mental model (codegen loop, generated api/internal references, review commands, add-on capabilities, the @lunora/mcp…

    283 GitHub stars~2.6k tokensUpdated yesterday
    Auto-check passed
  • Lunora Create Package

    anolilab/lunora

    Builds a reusable Lunora capability, either as a registry item that lunora add / lunora registry add copies into an app's lunora/, or as a publishable @lunora/ workspace package in the Lunora…

    283 GitHub stars~1.7k tokensUpdated yesterday
    Auto-check passed
  • Lunora Deploy

    anolilab/lunora

    Deploys a Lunora app to Cloudflare Workers + Durable Objects and gets wrangler.jsonc, remote resources and secrets to line up.

    283 GitHub stars~2.9k tokensUpdated yesterday
    Auto-check passed
  • Plans and runs Lunora schema and data migrations with the widen → migrate → narrow pattern.

    283 GitHub stars~2.6k tokensUpdated yesterday
    Auto-check passed
  • Diagnoses and fixes Lunora performance problems — full-table scans and missing indexes, expensive ctx.db.related traversals, OCC write conflicts (409 CONFLICT), live queries that re-run too often…

    283 GitHub stars~2.4k tokensUpdated yesterday
    Auto-check passed

Categories

Questions about Lunora Setup Hyperdrive

What does Lunora Setup Hyperdrive do?

Connects an existing, externally owned Postgres/MySQL database to a Lunora app through Cloudflare Hyperdrive. Lunora Setup Hyperdrive is an agent skill from anolilab/lunora. Connects an existing, externally owned Postgres/MySQL database to a Lunora app through Cloudflare Hyperdrive.

When should I use Lunora Setup Hyperdrive?

Lunora Setup Hyperdrive fits situations like: the user wants to query our existing Postgres; read the legacy DB from an action; connect Neon/RDS/Supabase; sync external rows into Lunora.

How do I install Lunora Setup Hyperdrive in Claude Code?

Run `npx skills add anolilab/lunora --skill lunora-setup-hyperdrive -a claude-code`. Or copy the skill folder (packages/cli/skills/lunora-setup-hyperdrive in anolilab/lunora) into .claude/skills/lunora-setup-hyperdrive in your project. Claude Code loads it when a task matches its description.

How do I install Lunora Setup Hyperdrive in Codex?

Run `npx skills add anolilab/lunora --skill lunora-setup-hyperdrive -a codex`. Or copy the skill folder (packages/cli/skills/lunora-setup-hyperdrive in anolilab/lunora) into .agents/skills/lunora-setup-hyperdrive in your project. Codex loads it when a task matches its description.

Can I use Lunora Setup Hyperdrive in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add anolilab/lunora --skill lunora-setup-hyperdrive -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/lunora-setup-hyperdrive, .gemini/skills/lunora-setup-hyperdrive, .github/skills/lunora-setup-hyperdrive and .opencode/skills/lunora-setup-hyperdrive in your project.

What does Lunora Setup Hyperdrive need to run?

Going by SKILL.md and its folder, Lunora Setup Hyperdrive needs the command-line tools its instructions call (wrangler and pnpm).

Does Lunora Setup Hyperdrive access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Lunora Setup Hyperdrive safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Lunora Setup Hyperdrive use?

Lunora Setup Hyperdrive has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Lunora Setup Hyperdrive use?

About 1.8k tokens (SKILL.md is roughly 7.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Lunora Setup Hyperdrive?

Skills that share tags, products or a category with Lunora Setup Hyperdrive: Expert Database (ReJeCtAll/ExpertTeam-Codex, 113 stars), Safe SQL Execution (supabase/supabase, 111k stars), Sql2er (ystemsrx/sql_to_ER, 188 stars) and SQL Database Support for pREST (prest/prest, 4.6k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Lunora Setup Hyperdrive?

anolilab (a GitHub organization) maintains it in anolilab/lunora, which has 283 GitHub stars. The repository holds 16 skills in this directory. The repository was last updated on October 7, 2026.

Source: anolilab/lunora on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.