Agent skill

Lunora Setup Hyperdrive Global

by anolilab in anolilab/lunora

Stores a Lunora app's own .global() tables in Postgres or MySQL (PlanetScale, Neon, RDS, or any Hyperdrive-reachable database) through Cloudflare Hyperdrive instead of D1.

Custom licenceAuto-check passedDatabases

Install Lunora Setup Hyperdrive Global

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

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

GitHub CLI
$ gh skill install anolilab/lunora lunora-setup-hyperdrive-global --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-global .claude/skills/lunora-setup-hyperdrive-global && 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-global
GitHub stars
282
Token cost
~1.9k tokens
SKILL.md length
694 words
Files
1
Skills in repo
16
Repo updated
First seen
Licence
Custom licence

At a glance

Stores a Lunora app's own .global() tables in Postgres or MySQL (PlanetScale, Neon, RDS, or any Hyperdrive-reachable database) through Cloudflare Hyperdrive instead of D1.

  • Works in 5 steps: Install → Create the Hyperdrive binding → Mark tables → …
  • The user wants to move global tables to PlanetScale/Postgres
  • SKILL.md covers When Not to Use, How it works, Step 1: Install and Step 2: Create the Hyperdrive…, plus 5 more sections
  • Calls pnpm and wrangler; needs LUNORA_ADMIN_TOKEN and D1_ADMIN_TOKEN

What it does

Lunora Setup Hyperdrive Global is an agent skill from anolilab/lunora. Stores a Lunora app's own .global() tables in Postgres or MySQL (PlanetScale, Neon, RDS, or any Hyperdrive-reachable database) through Cloudflare Hyperdrive instead of D1. Lunora owns the schema, and live queries stay fully reactive. Also migrates an existing D1 .global() dataset with lunora migrate d1-to-hyperdrive. Covers .global({ backend: "hyperdrive" }), @lunora/hyperdrive/global (buildPgExec / buildMysqlExec, createHyperdriveGlobalCtxDb), the app builder's .hyperdriveGlobal({ engine, exec }), and the…

Its SKILL.md is about 1.9k 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 PostgreSQL, MySQL, PlanetScale and SQL. 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 move global tables to PlanetScale/Postgres
  • Use Postgres instead of D1
  • Edits .global({ backend: hyperdrive })

Example prompts

  • “hyperdrive”
  • “move global tables to PlanetScale/Postgres”
  • “use Postgres instead of D1”
  • “/lunora-setup-hyperdrive-global”

Requirements

  • A credential in D1_ADMIN_TOKEN
  • A credential in HD_ADMIN_TOKEN

Workflow steps

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

  1. Install
  2. Create the Hyperdrive binding
  3. Mark tables
  4. Wire .hyperdriveGlobal()
  5. Regenerate and run

What it can do on your machine

Read from SKILL.md and the folder at commit 0d32a44. 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:

    • pnpm
    • wrangler

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

  • Network

    No URLs in SKILL.md. Its commands use pnpm and wrangler, 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 these keys or tokens, usually read from environment variables:

    • LUNORA_ADMIN_TOKEN
    • D1_ADMIN_TOKEN
    • HD_ADMIN_TOKEN

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

Context cost

Lunora Setup Hyperdrive Global loads about 1.9k tokens when it runs. Until then it costs about 221 tokens; SKILL.md has 694 words of instructions outside code blocks.

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

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 694 words (~1,915 tokens).

“Store .global() (cross-tenant) tables in a Postgres or MySQL database reached through Cloudflare Hyperdrive instead of D1. PlanetScale on Cloudflare is the typical case, but nothing here is PlanetScale-specific.”

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

Read the full SKILL.md on GitHub

Files

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

Open the folder on GitHubat commit 0d32a44

Compare with similar skills

Lunora Setup Hyperdrive Global 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 Global compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Lunora Setup Hyperdrive Global this skillanolilab/lunora282—~1.9kAutomated safety check: PassCustom licence
Expert DatabaseReJeCtAll/ExpertTeam-Codex113—~692Automated safety check: PassMIT
Mysqlericrisco/rsc-harness174—~3.7kAutomated safety check: PassMIT
SQL Database Support for pRESTprest/prest4.6k—~1.6kAutomated safety check: PassMIT
Chdb SQLvemetric/vemetric3951 repos~1.2kAutomated safety check: PassApache-2.0
Sql2erystemsrx/sql_to_ER188—~1.1kAutomated safety check: PassAGPL-3.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
  • Mysql

    ericrisco/rsc-harness

    A skill your agent uses when designing, querying, indexing or operating a MySQL or MariaDB database and engine-specific behaviour matters — schema and type choices, index design, reading EXPLAIN…

    174 GitHub stars~3.7k tokensUpdated yesterday
    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…

    395 GitHub starsUsed in 1 repo~1.2k tokens
    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 stars~1.1k tokensUpdated 8 days ago
    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.

    282 GitHub stars~4.5k tokensUpdated today
    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…

    282 GitHub stars~2.6k tokensUpdated today
    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…

    282 GitHub stars~1.7k tokensUpdated today
    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.

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

    282 GitHub stars~2.6k tokensUpdated today
    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…

    282 GitHub stars~2.4k tokensUpdated today
    Auto-check passed

Categories

Questions about Lunora Setup Hyperdrive Global

What does Lunora Setup Hyperdrive Global do?

Stores a Lunora app's own .global() tables in Postgres or MySQL (PlanetScale, Neon, RDS, or any Hyperdrive-reachable database) through Cloudflare Hyperdrive instead of D1. Lunora Setup Hyperdrive Global is an agent skill from anolilab/lunora.global() tables in Postgres or MySQL (PlanetScale, Neon, RDS, or any Hyperdrive-reachable database) through Cloudflare Hyperdrive instead of D1.

When should I use Lunora Setup Hyperdrive Global?

Lunora Setup Hyperdrive Global fits situations like: the user wants to move global tables to PlanetScale/Postgres; use Postgres instead of D1; edits .global({ backend: hyperdrive }).

How do I install Lunora Setup Hyperdrive Global in Claude Code?

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

How do I install Lunora Setup Hyperdrive Global in Codex?

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

Can I use Lunora Setup Hyperdrive Global 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-global -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-global, .gemini/skills/lunora-setup-hyperdrive-global, .github/skills/lunora-setup-hyperdrive-global and .opencode/skills/lunora-setup-hyperdrive-global in your project.

What does Lunora Setup Hyperdrive Global need to run?

Going by SKILL.md and its folder, Lunora Setup Hyperdrive Global needs the command-line tools its instructions call (pnpm and wrangler) and credentials named LUNORA_ADMIN_TOKEN, D1_ADMIN_TOKEN and HD_ADMIN_TOKEN. Our summary lists: A credential in D1_ADMIN_TOKEN; A credential in HD_ADMIN_TOKEN.

Does Lunora Setup Hyperdrive Global 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 Global 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 Global use?

Lunora Setup Hyperdrive Global 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 Global use?

About 1.9k tokens (SKILL.md is roughly 7.7k 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 Global?

Skills that share tags, products or a category with Lunora Setup Hyperdrive Global: Expert Database (ReJeCtAll/ExpertTeam-Codex, 113 stars), Mysql (ericrisco/rsc-harness, 174 stars), SQL Database Support for pREST (prest/prest, 4.6k stars) and Chdb SQL (vemetric/vemetric, 395 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 Global?

anolilab (a GitHub organization) maintains it in anolilab/lunora, which has 282 GitHub stars. The repository holds 16 skills in this directory. The repository was last updated on October 9, 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.