neon-postgres

neon-postgres is a skill for Claude Code, Codex from seaworld008/Commonly-used-high-value-skills. It costs 29 tokens per session (3,989 once invoked), scanned A, a copy of neon-postgres, MIT.

A guide to Neon, a serverless hosting platform for PostgreSQL databases. It covers connecting to a database, database branches, automatic scaling, connection pooling, authentication, and Neon’s tools and APIs.

In plain words
What is it for?
Use it to create connections, configure Neon projects, work with branches and replicas, set up pooling or authentication, and use Neon’s CLI, MCP server, REST API, or SDKs.
Why use it?
It gives you a reference for setting up and operating a PostgreSQL database on Neon, including features that differ from a traditional database server.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to create connections, configure Neon projects, work with branches and replicas, set up pooling or authentication, and use Neon’s CLI, MCP server, REST API, or SDKs.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/seaworld008/commonly-used-high-value-skills/neon-postgres
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add seaworld008/Commonly-used-high-value-skills --skill neon-postgres
Clone the repo
git clone --depth 1 https://github.com/seaworld008/Commonly-used-high-value-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for neon-postgres

README.md
[![agentmods](https://agentmods.dev/badge/skills/seaworld008/commonly-used-high-value-skills/neon-postgres/github.svg)](https://agentmods.dev/skills/seaworld008/commonly-used-high-value-skills/neon-postgres)
Your own site
<a href="https://agentmods.dev/skills/seaworld008/commonly-used-high-value-skills/neon-postgres"><img src="https://agentmods.dev/badge/skills/seaworld008/commonly-used-high-value-skills/neon-postgres/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for neon-postgres

Your own site · 80×15
<a href="https://agentmods.dev/skills/seaworld008/commonly-used-high-value-skills/neon-postgres"><img src="https://agentmods.dev/badge/skills/seaworld008/commonly-used-high-value-skills/neon-postgres.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 29 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,989 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 95% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00029 $0.03989
Opus 5.5 $0.00012 $0.01596
Sonnet 5.5 $0.00006 $0.00798
Haiku 4.5 $0.00003 $0.00399

Measured 2d ago against content hash 643886832b2b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

neon-postgres scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

95% identical to neon-postgres — 388 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

openclaw-skills/neon-postgres/SKILL.md · 295 lines

How it starts

The opening of the file, as written. The whole thing — 295 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Lakebase Postgres

Local Scope and Authorization

Use existing authorized Neon connections and the user's supplied DATABASE_URL or linked .neon project first. Do not create a second project, replace an ORM, install a CLI, or start an authentication flow merely because this skill was loaded. Use tools actually available in the current host; optional neon, neon-auth, and branch skills are separate capabilities, not assumed installed dependencies. Installer commands below are examples only for an explicitly requested setup.

Lakebase Postgres is the database at the core of Neon. It runs on the lakebase architecture — OLTP built directly on cloud object storage — which decouples storage from compute to offer autoscaling, branching, instant restore, and scale-to-zero. It's fully compatible with Postgres and works with any language, framework, or ORM that supports Postgres.

It is the same database whether you reach it through Neon or through Databricks; this skill covers the Neon access path.

Login, users, sessions, and @neon/auth belong in neon-auth.

Live queries, reactive UIs, and realtime data belong in neon-realtime.

Setup Flow

1. Select the organization and project

If a DATABASE_URL is already supplied (prompt, environment, or repo) or a .neon file points at a project, use it. Do not list organizations or create a second project for schema work.

Otherwise use the CLI (default) or MCP server to list organizations and projects. Let the user select an existing project or create a new one.

2. Get the connection string

If a DATABASE_URL is already supplied, use it. Do not fetch another through the CLI or MCP.

Otherwise use the CLI (default), neon env pull, or the MCP server to get the connection string. Store it in .env as DATABASE_URL. Read the file first before modifying it, to avoid overwriting existing values.

When to use pooled vs direct connections
Use case Connection type
Web applications, serverless functions Pooled (-pooler)
Schema migrations Direct
pg_dump / pg_restore Direct
Logical replication Direct
Long-running analytics with temp tables Direct
Admin tasks needing SET or session state Direct
LISTEN / NOTIFY Direct

Read the full file on GitHub · 295 lines

Files

What ships with it

6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago Changed · +10 lines 643886832b2b
  2. 11d ago Changed 97cc1fc8280b
  3. 13d ago Changed f03a1ae8ecaf
  4. 21d ago Changed eb24b1898648
  5. 1mo ago Changed · -142 lines d56bc858a7f6
  6. 1mo ago Changed · +8 lines 9e0ae9614cab
  7. 2mo ago Changed · +14 lines · -122 tokens per session ea9fa0d833bb
  8. 2mo ago First seen · 405 lines · 151 tokens per session scan A 9e1da5b4b14f

Subscribe to this mod's changes

neon-postgres is a skill published in the GitHub repository seaworld008/Commonly-used-high-value-skills (74 stars, last pushed 2d ago), licensed MIT. It adds 29 tokens to every session and 3,989 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 95% identical to neon-postgres, differing in 388 lines, and is treated as a copy.

Related

neon-postgres compared with skills from other repositories

neon-postgres next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
neon-postgresseaworld008/Commonly-used-high-value-skillsSkill742d agoMITA29Claude Code, Codex
read-only-postgresjawwadfirdousi/agent-skillsSkill153mo agononeB78Claude Code
omh-relational-dbrlaope/oh-my-hermesSkill5.2kyesterdayMITA100Claude Code, Codex
database-skillbytedance/agentkit-samplesSkill484todayApache-2.0A196Claude Code, Codex
volcengine-rds-postgresqlbytedance/agentkit-samplesSkill484todayApache-2.0A63Claude Code, Codex
yida-db-seq-fixopenyida/openyidaSkill231yesterdayMITA73Claude Code, Codex
database-postgresqlHoangNguyen0403/agent-skills-standardSkill583yesterdayMITA40Claude Code, Codex