installskill

Skills / neondatabase/agent-skills

neon-postgres

Guides for Postgres on Neon: connections, migrations, branching, autoscaling, replicas and search.

Pinned commit
d3601d9e1f93Committed 2026-11-18
Files
779 KB
License
Apache-2.0
Snapshot taken
2026-11-28
Description from the skill
Guides and best practices for working with Lakebase Postgres on Neon: connections, pooled vs direct, schema migrations, branching (including schema-only, reset-from-parent, and branch-per-PR workflows), autoscaling, scale-to-zero, instant restore, read replicas, IP allow lists, logical replication, egress optimization, and Lakebase Search. Use when the work is an existing DATABASE_URL, SQL, schema, inspect, or search. New backends, Auth, files, Functions, and LLM calls go to the parent `neon` skill. Live queries, reactive UIs, and realtime data go to `neon-realtime`. Also use for "@neondatabase/serverless", "@neon/neon-js", "neon inspect db", "neon postgres computes", "Neon branch", "schema-only branch", "reset branch", "branch per PR", high database bills, network transfer or egress, Free plan limits or a compute suspended over quota (SQLSTATE 53000, HTTP 402), SELECT * optimization, query overfetching, "semantic search", "vector search", "full-text search", "BM25", or "hybrid search".

This is the text your agent reads to decide when to use the skill.

Install

Choose your agent. Pinned commands install exactly the commit this page describes.

Skill directory .claude/skills/Claude Code · Official docs

Does not read the shared .agents/skills directory. A skill must land in .claude/skills, or arrive inside a plugin.

GitHub CLIpinned

$ gh skill install neondatabase/agent-skills skills/neon-postgres --agent claude-code --pin d3601d9e1f9398b96a1ee25047bafba5f04199eb

gh picks the directory for the agent, names the folder after the source directory (neon-postgres), and writes source metadata into the SKILL.md frontmatter, so the content hash below will not match. Check the github-tree-sha it records instead: it should read 1dc66b5d1beecf66408539451db33e3899c600ad.

skills CLIpinned

$ npx skills add neondatabase/agent-skills@d3601d9e1f9398b96a1ee25047bafba5f04199eb --skill neon-postgres -a claude-code --copy

Downloads and runs the skills package from npm. --copy writes real files instead of symlinks. The CLI sends anonymous telemetry unless DISABLE_TELEMETRY=1 is set, and that setting also turns off its audit lookups.

Plain gitpinned

$ tmp=$(mktemp -d)
$ git clone --quiet https://github.com/neondatabase/agent-skills.git "$tmp"
$ git -C "$tmp" checkout --quiet d3601d9e1f9398b96a1ee25047bafba5f04199eb
$ mkdir -p .claude/skills
$ cp -R "$tmp/skills/neon-postgres" .claude/skills/neon-postgres

No extra tooling. Files land byte for byte as published in .claude/skills/neon-postgres, so the content hash below can be checked directly.

Check what landed

Run this after installing. It prints one SHA-256 for the whole directory. If your installer reported a different directory, cd there instead.

$ cd .claude/skills/neon-postgres && find . -type f -print0 | LC_ALL=C sort -z | xargs -0 shasum -a 256 | shasum -a 256

Expected871cfe6fa966d7ec0f261fafc85f58dbdd121db0b9f5e8b9baf0404429b979db

It matches only when the files are byte for byte as published. A difference means something changed: by the installer, by you, or upstream.

What is inside

Pattern matches in the files, each linked to its line. A match is a place to read, not a verdict, and no match is not proof of absence.

Docs · 6SKILL.md · 1

Runs commands12

Code that spawns other processes, or shell code blocks in the instructions.

0 in scripts · 12 in docs and other text files

Network accessNo match

Calls that fetch from or send to a remote host.

Installs packages12

Commands that pull and run third-party packages at use time.

0 in scripts · 12 in docs and other text files

Reads env or credentials13

References to environment variables, tokens, keys or credential files.

0 in scripts · 13 in docs and other text files

Privileged or destructiveNo match

sudo, recursive deletes, permission changes and similar commands.

Dynamic or encoded codeNo match

eval, exec, base64 decoding and remote-script piping, which hide what runs.

Outside hosts mentioned

Hostnames of every URL in the text files.

  • neon.com×45
  • github.com×7
  • ai-sdk.dev×2
  • console.neon.tech×2
  • huggingface.co×2
  • upstash.com×2
  • docs.typesafe.ai×1

Entries worth a second look

No symlinks, submodules, hidden files, archives, compiled files or unscanned files.

File manifest

Every file in the skill directory at the pinned commit.

Content hash
871cfe6fa966d7ec0f261fafc85f58dbdd121db0b9f5e8b9baf0404429b979db
Git tree SHA
1dc66b5d1beecf66408539451db33e3899c600ad
PathKindSizeSHA-256
SKILL.mdSKILL.md20 KB06153ccdf20fc05c…
references/branching.mdDocs12 KB2212db6f23cfe5ac…
references/egress-optimization.mdDocs9.3 KBc103951687a0f9d6…
references/full-text-search.mdDocs4.2 KBddeb529f7a6c520b…
references/hybrid-search.mdDocs10 KB047b80f8d23df815…
references/lakebase-search-drizzle.mdDocs9.9 KB1e9c764004a40010…
references/vector-search.mdDocs12 KB062a6d1d7aa81857…

Spec and portability

Checked against the Agent Skills specification.

Frontmatter
Parses as YAML
Name matches directory
Yes
Name uses lowercase letters, digits and hyphens
Yes
Description length
1,001limit 1,024 characters
SKILL.md body
304 linesthe spec suggests under 500 lines
Fields outside the spec
None
License field
None declared
License file
None declared
Repository license
LICENSE (Apache-2.0)

Change history

No changes recorded since the first snapshot on 2026-11-28.

Follow changes to this skill in a feed reader: Atom feed · all skills

Get an email when this skill changes

Email alerts are not built yet. Leave your address and we will write to you once, when they are. The feed above works today.

We store your address, the name of this skill and the date. It is used for nothing else.