Agent skill

Claimable Postgres

by henryalouf in henryalouf/ruflow

Provision instant temporary Postgres databases via Claimable Postgres by Neon (pg.new).

MITAuto-check: notesDevelopment

Install Claimable Postgres

skills CLI
$ npx skills add henryalouf/ruflow --skill claimable-postgres -a claude-code

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

GitHub CLI
$ gh skill install henryalouf/ruflow claimable-postgres --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/henryalouf/ruflow.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/claimable-postgres .claude/skills/claimable-postgres && 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
claimable-postgres
GitHub stars
155
Token cost
~2.4k tokens
SKILL.md length
1,110 words
Files
1
Skills in repo
12
Repo updated
First seen
Licence
MIT

At a glance

Provision instant temporary Postgres databases via Claimable Postgres by Neon (pg.new).

  • Works in 3 steps: Remove or comment out the existing line,… → Use --env to write to a different file… → Use --key to write under a different…
  • Quick Postgres environments and throwaway DATABASEURL for prototyping
  • SKILL.md covers Quick Start, Which Method?, REST API and CLI, plus 8 more sections
  • Calls npx, curl and psql; reaches pg.new

What it does

Claimable Postgres is an agent skill from henryalouf/ruflow. Provision instant temporary Postgres databases via Claimable Postgres by Neon (pg.new). No login or credit card required. Use for quick Postgres environments and throwaway DATABASEURL for prototyping.

Its SKILL.md is about 2.4k 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 Development, covering Prototyping. It works with PostgreSQL and Vite. The licence is MIT.

When your agent uses it

  • Quick Postgres environments and throwaway DATABASEURL for prototyping
  • Tasks that involve Prototyping

Example prompts

  • “/claimable-postgres”

Requirements

  • Node.js

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. Remove or comment out the existing line, then rerun.
  2. Use --env to write to a different file (e.g. --env .env.local).
  3. Use --key to write under a different variable name.

What it can do on your machine

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

    • npx
    • curl
    • psql
    • yarn
    • pnpm
    • bunx
    • deno
    • npm

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

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • pg.new

    Also links to:

    • neon.com

    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

Claimable Postgres loads about 2.4k tokens when it runs. Until then it costs about 55 tokens; SKILL.md has 1,110 words of instructions outside code blocks.

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

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: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NoteMentions a .env fileSKILL.md:20
    te `connection_string` to the project's `.env` as `DATABASE_URL`.
  • NoteMentions a .env fileSKILL.md:27
    b@latest --yes`): Provisions and writes `.env` in one command. Convenient when Node.js is available and the user wants a
  • NoteMentions a .env fileSKILL.md:88
    ase and writes the connection string to `.env` in one step. Always use `@latest` and `--yes` (skips interactive prompts
  • NoteMentions a .env fileSKILL.md:92
    hosen key) already exists in the target `.env`. The CLI exits without provisioning if it finds the key.
  • NoteMentions a .env fileSKILL.md:97
    o write to a different file (e.g. `--env .env.local`).
  • NoteMentions a .env fileSKILL.md:107
    | `--env` | `-e` | .env file path | `./.env` |
  • NoteMentions a .env fileSKILL.md:118
    The CLI writes to the target `.env`:
  • NoteMentions a .env fileSKILL.md:152
    4. **Write .env:** Write `DATABASE_URL=<connection_string>` to the project's `.env` (or the user's preferred file and ke
  • NoteMentions a .env fileSKILL.md:162
    1. **Check .env:** Check the target `.env` for an existing `DATABASE_URL` (or chosen key). If present, do not run. Offer
  • NoteMentions a .env fileSKILL.md:167
    db@latest --yes --ref agent-skills --env .env.local --seed ./schema.sql

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

The full file from henryalouf/ruflow at commit 568d7a5, republished under its MIT licence (© henryalouf). 1,110 words, ~2,443 tokens.

Download SKILL.mdSave it as .claude/skills/claimable-postgres/SKILL.md (or your agent's skills folder).
name
claimable-postgres
description
Provision instant temporary Postgres databases via Claimable Postgres by Neon (pg.new). No login or credit card required. Use for quick Postgres environments and throwaway DATABASE_URL for prototyping.
risk
unknown
source
community

Claimable Postgres

Instant Postgres databases for local development, demos, prototyping, and test environments. No account required. Databases expire after 72 hours unless claimed to a Neon account.

Quick Start

bash
curl -s -X POST "https://pg.new/api/v1/database" \
  -H "Content-Type: application/json" \
  -d '{"ref": "agent-skills"}'

Parse connection_string and claim_url from the JSON response. Write connection_string to the project's .env as DATABASE_URL.

For other methods (CLI, SDK, Vite plugin), see Which Method? below.

Which Method?

  • REST API: Returns structured JSON. No runtime dependency beyond curl. Preferred when the agent needs predictable output and error handling.
  • CLI (npx get-db@latest --yes): Provisions and writes .env in one command. Convenient when Node.js is available and the user wants a simple setup.
  • SDK (get-db/sdk): Scripts or programmatic provisioning in Node.js.
  • Vite plugin (vite-plugin-db): Auto-provisions on vite dev if DATABASE_URL is missing. Use when the user has a Vite project.
  • Browser: User cannot run CLI or API. Direct to https://pg.new.

REST API

Base URL: https://pg.new/api/v1

Create a database
bash
curl -s -X POST "https://pg.new/api/v1/database" \
  -H "Content-Type: application/json" \
  -d '{"ref": "agent-skills"}'
ParameterRequiredDescription
refYesTracking tag that identifies who provisioned the database. Use "agent-skills" when provisioning through this skill.
enable_logical_replicationNoEnable logical replication (default: false, cannot be disabled once enabled)

The connection_string returned by the API is a pooled connection URL. For a direct (non-pooled) connection (e.g. Prisma migrations), remove -pooler from the hostname. The CLI writes both pooled and direct URLs automatically.

Response:

json
{
  "id": "019beb39-37fb-709d-87ac-7ad6198b89f7",
  "status": "UNCLAIMED",
  "neon_project_id": "gentle-scene-06438508",
  "connection_string": "postgresql://...",
  "claim_url": "https://pg.new/claim/019beb39-...",
  "expires_at": "2026-01-26T14:19:14.580Z",
  "created_at": "2026-01-23T14:19:14.580Z",
  "updated_at": "2026-01-23T14:19:14.580Z"
}
Check status
bash
curl -s "https://pg.new/api/v1/database/{id}"

Returns the same response shape. Status transitions: UNCLAIMED -> CLAIMING -> CLAIMED. After the database is claimed, connection_string returns null.

Error responses
ConditionHTTPMessage
Missing or empty ref400Missing referrer
Invalid database ID400Database not found
Invalid JSON body500Failed to create the database.

CLI

bash
npx get-db@latest --yes

Provisions a database and writes the connection string to .env in one step. Always use @latest and --yes (skips interactive prompts that would stall the agent).

Pre-run Check

Check if DATABASE_URL (or the chosen key) already exists in the target .env. The CLI exits without provisioning if it finds the key.

If the key exists, offer the user three options:

  1. Remove or comment out the existing line, then rerun.
  2. Use --env to write to a different file (e.g. --env .env.local).
  3. Use --key to write under a different variable name.

Get confirmation before proceeding.

Options
OptionAliasDescriptionDefault
--yes-ySkip prompts, use defaultsfalse
--env-e.env file path./.env
--key-kConnection string env var keyDATABASE_URL
--prefix-pPrefix for generated public env varsPUBLIC_
--seed-sPath to seed SQL filenone
--logical-replication-LEnable logical replicationfalse
--ref-rReferrer id (use agent-skills when provisioning through this skill)none

Alternative package managers: yarn dlx get-db@latest, pnpm dlx get-db@latest, bunx get-db@latest, deno run -A get-db@latest.

Output

The CLI writes to the target .env:

DATABASE_URL=postgresql://...              # pooled (use for application queries)
DATABASE_URL_DIRECT=postgresql://...       # direct (use for migrations, e.g. Prisma)
PUBLIC_POSTGRES_CLAIM_URL=https://pg.new/claim/...

SDK

Use for scripts and programmatic provisioning flows.

typescript
import { instantPostgres } from 'get-db';

const { databaseUrl, databaseUrlDirect, claimUrl, claimExpiresAt } = await instantPostgres({
  referrer: 'agent-skills',
  seed: { type: 'sql-script', path: './init.sql' },
});

Returns databaseUrl (pooled), databaseUrlDirect (direct, for migrations), claimUrl, and claimExpiresAt (Date object). The referrer parameter is required.

Vite Plugin

For Vite projects, vite-plugin-db auto-provisions a database on vite dev if DATABASE_URL is missing. Install with npm install -D vite-plugin-db. See the Claimable Postgres docs for configuration.

Agent Workflow

API path
  1. Confirm intent: If the request is ambiguous, confirm the user wants a temporary, no-signup database. Skip this if they explicitly asked for a quick or temporary database.
  2. Provision: POST to https://pg.new/api/v1/database with {"ref": "agent-skills"}.
  3. Parse response: Extract connection_string, claim_url, and expires_at from the JSON response.
  4. Write .env: Write DATABASE_URL=<connection_string> to the project's .env (or the user's preferred file and key). Do not overwrite an existing key without confirmation.
  5. Seed (if needed): If the user has a seed SQL file, run it against the new database:
    bash
    psql "$DATABASE_URL" -f seed.sql
  6. Report: Tell the user where the connection string was written, which key was used, and share the claim URL. Remind them: the database works now; claim within 72 hours to keep it permanently.
  7. Optional: Offer a quick connection test (e.g. SELECT 1).
Show full SKILL.md (487 more words)Show less
CLI path
  1. Check .env: Check the target .env for an existing DATABASE_URL (or chosen key). If present, do not run. Offer remove, --env, or --key and get confirmation.
  2. Confirm intent: If the request is ambiguous, confirm the user wants a temporary, no-signup database. Skip this if they explicitly asked for a quick or temporary database.
  3. Gather options: Use defaults unless context suggests otherwise (e.g., user mentions a custom env file, seed SQL, or logical replication).
  4. Run: Execute with @latest --yes plus the confirmed options. Always use @latest to avoid stale cached versions. --yes skips interactive prompts that would stall the agent.
    bash
    npx get-db@latest --yes --ref agent-skills --env .env.local --seed ./schema.sql
  5. Verify: Confirm the connection string was written to the intended file.
  6. Report: Tell the user where the connection string was written, which key was used, and that a claim URL is in the env file. Remind them: the database works now; claim within 72 hours to keep it permanently.
  7. Optional: Offer a quick connection test (e.g. SELECT 1).
Output Checklist

Always report:

  • Where the connection string was written (e.g. .env)
  • Which variable key was used (DATABASE_URL or custom key)
  • The claim URL (from .env or API response)
  • That unclaimed databases are temporary (72 hours)

Claiming

Claiming is optional. The database works immediately without it. To optionally claim, the user opens the claim URL in a browser, where they sign in or create a Neon account to claim the database.

  • API/SDK: Give the user the claim_url from the create response.
  • CLI: npx get-db@latest claim reads the claim URL from .env and opens the browser automatically.

Users cannot claim into Vercel-linked orgs; they must choose another Neon org.

Defaults and Limits

ParameterValue
ProviderAWS
Regionus-east-2
Postgres17

Region cannot be changed for claimable databases. Unclaimed databases have stricter quotas. Claiming resets limits to free plan defaults.

UnclaimedClaimed (Free plan)
Storage100 MB512 MB
Transfer1 GB~5 GB
BranchesNoYes
Expiration72 hoursNone

Auto-provisioning

If the agent needs a database to fulfill a task (e.g. "build me a todo app with a real database") and the user has not provided a connection string, provision one via the API and inform the user. Include the claim URL so they can keep it.

Safety and UX Notes

  • Do not overwrite existing env vars. Check first, then use --env or --key (CLI) or skip writing (API) to avoid conflicts.
  • Ask before running destructive seed SQL (DROP, TRUNCATE, mass DELETE).
  • For production workloads, recommend standard Neon provisioning instead of temporary claimable databases.
  • If users need long-term persistence, instruct them to open the claim URL right away.
  • After writing credentials to an .env file, check that it's covered by .gitignore. If not, warn the user. Do not modify .gitignore without confirmation.

When to Use

Use this skill when tackling tasks related to its primary domain or functionality as described above.

© henryalouf, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/claimable-postgres of henryalouf/ruflow.

Open the folder on GitHubat commit 568d7a5

Compare with similar skills

Claimable Postgres 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.

Claimable Postgres compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Claimable Postgres this skillhenryalouf/ruflow155—~2.4kAutomated safety check: NotesMIT
Lunoraanolilab/lunora283—~2.7kAutomated safety check: PassCustom licence
Marina Appletmarin-community/marin3.9k—~2.3kAutomated safety check: PassApache-2.0
Claimable Postgressickn33/agentic-awesome-skills47k1 repos~3.2kAutomated safety check: NotesApache-2.0
LangBot Core Developmentlangbot-app/LangBot18k—~1.4kAutomated safety check: NotesApache-2.0
BackendInsForge/InsForge13k—~1.7kAutomated safety check: PassApache-2.0

Similar skills

  • Lunora

    anolilab/lunora

    Routes general Lunora requests to the right project skill. An agent skill from anolilab/lunora.

    283 GitHub stars~2.7k tokensUpdated today
    Backend & APIsAuto-check passed
  • Marina Applet

    marin-community/marin

    Build, validate, publish, update, inspect, query, roll back, or archive a dynamic Marina applet.

    3.9k GitHub stars~2.3k tokensUpdated today
    Backend & APIsAuto-check passed
  • Claimable Postgres

    sickn33/agentic-awesome-skills

    Provision instant temporary Postgres databases via Claimable Postgres by Neon (neon.new) with no login, signup, or credit card.

    47k GitHub starsUsed in 1 repo~3.2k tokens
    Backend & APIsAuto-check: notes
  • LangBot Core Development

    langbot-app/LangBot

    Covers developing the LangBot core backend and web UI: dev setup, repo layout, API auth types, adding endpoints, migrations and keeping the MCP server in step.

    18k GitHub stars~1.4k tokensUpdated today
    DevelopmentAuto-check: notes
  • Backend

    InsForge/InsForge

    A skill your agent uses when contributing to InsForge's backend package.

    13k GitHub stars~1.7k tokensUpdated today
    DevelopmentAuto-check passed
  • Digikey

    aklofas/kicad-happy

    Search DigiKey for electronic components and download datasheets — primary source for prototype orders and the preferred API method for fetching datasheets.

    1.3k GitHub starsUsed in 1 repo~4.5k tokens
    DevelopmentAuto-check passed

More from henryalouf/ruflow

All 12 skills in this repo
  • SEO Aeo Blog Writer

    henryalouf/ruflow

    Writes long-form blog posts with TL;DR block, definition sentence, comparison table, and 5-question FAQ for SEO ranking and AEO citation.

    155 GitHub stars~1.1k tokensUpdated 4 mo ago
    Auto-check passed
  • SEO Aeo Content Cluster

    henryalouf/ruflow

    Builds a topical authority map with a pillar page, prioritised cluster articles, content types, internal link map, and content gap analysis.

    155 GitHub stars~954 tokensUpdated 4 mo ago
    Auto-check passed
  • Audits content for SEO and AEO performance with scored reports, severity-ranked fix lists, and projected scores after fixes.

    155 GitHub stars~986 tokensUpdated 4 mo ago
    Auto-check passed
  • SEO Aeo Internal Linking

    henryalouf/ruflow

    Maps internal link opportunities between pages with anchor text, placement instructions, orphan page detection, and cannibalization checks.

    155 GitHub stars~949 tokensUpdated 4 mo ago
    Auto-check passed
  • SEO Aeo Keyword Research

    henryalouf/ruflow

    Researches and prioritises SEO keywords with AEO question queries, difficulty tiers, cannibalization checks, and a content map.

    155 GitHub stars~1.1k tokensUpdated 4 mo ago
    Auto-check passed
  • Writes complete, structured landing pages optimized for SEO ranking, AEO citation, and visitor conversion.

    155 GitHub stars~1.1k tokensUpdated 4 mo ago
    Auto-check passed

Works with

Questions about Claimable Postgres

What does Claimable Postgres do?

Provision instant temporary Postgres databases via Claimable Postgres by Neon (pg.new). Claimable Postgres is an agent skill from henryalouf/ruflow.new).

When should I use Claimable Postgres?

Claimable Postgres fits situations like: quick Postgres environments and throwaway DATABASEURL for prototyping; tasks that involve Prototyping.

How do I install Claimable Postgres in Claude Code?

Run `npx skills add henryalouf/ruflow --skill claimable-postgres -a claude-code`. Or copy the skill folder (.agents/skills/claimable-postgres in henryalouf/ruflow) into .claude/skills/claimable-postgres in your project. Claude Code loads it when a task matches its description.

How do I install Claimable Postgres in Codex?

Run `npx skills add henryalouf/ruflow --skill claimable-postgres -a codex`. Or copy the skill folder (.agents/skills/claimable-postgres in henryalouf/ruflow) into .agents/skills/claimable-postgres in your project. Codex loads it when a task matches its description.

Can I use Claimable Postgres 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 henryalouf/ruflow --skill claimable-postgres -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/claimable-postgres, .gemini/skills/claimable-postgres, .github/skills/claimable-postgres and .opencode/skills/claimable-postgres in your project.

What does Claimable Postgres need to run?

Going by SKILL.md and its folder, Claimable Postgres needs the command-line tools its instructions call (npx, curl, psql, yarn, pnpm and bunx). Our summary lists: Node.js.

Does Claimable Postgres access the network?

SKILL.md names 2 domains. In commands or code: pg.new; the agent is likely to contact it when it follows the instructions. As links in the text: neon.com. This is read from the text; nothing was executed.

Is Claimable Postgres safe to install?

Our automated static check of SKILL.md found notes only (mentions a .env file), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Claimable Postgres use?

Claimable Postgres is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Claimable Postgres use?

About 2.4k tokens (SKILL.md is roughly 9.8k 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 Claimable Postgres?

Skills that share tags, products or a category with Claimable Postgres: Lunora (anolilab/lunora, 283 stars), Marina Applet (marin-community/marin, 3.9k stars), Claimable Postgres (sickn33/agentic-awesome-skills, 47k stars) and LangBot Core Development (langbot-app/LangBot, 18k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Claimable Postgres?

henryalouf (a GitHub user) maintains it in henryalouf/ruflow, which has 155 GitHub stars. The repository holds 12 skills in this directory. The repository was last updated on May 18, 2026.

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