Skip to main content
plugin

neon — Claude Code plugin: what it does, how to install

Neon's plugin for Claude Code bundles agent skills for Lakebase Postgres with an MCP server that lets the agent touch projects and databases in plain language.

Install into Claude Code · Plugin marketplace All methods and platforms ↓
/plugin install neon@claude-plugins-official
/plugin marketplace add anthropics/claude-plugins-community
/plugin install neon@claude-community
/plugin marketplace add anthropics/claude-plugins-official
Open on GitHub

What neon does

The plugin ships Neon's agent skills alongside the Neon MCP Server as one Claude Code package. Each skill is a folder with a SKILL.md entry point, scripts and reference material. Claude Code opens it by itself when a task looks like database work and reads further files as needed, so there are no commands to memorise.

The set covers Lakebase Postgres documentation, branching, Neon Auth, Object Storage, Functions, Realtime and the AI Gateway. One skill hunts down wasted egress. Through the MCP server the agent lists projects and databases and edits them from a sentence.

Nothing reaches your Neon data until OAuth finishes: the first MCP call brings up the sign-in prompt. Source sits in neondatabase/agent-skills under Apache-2.0.

What it helps with

  • branch a database for a migration test run
  • trace a rising data-transfer bill
  • wire up login and sessions through Neon Auth
  • deploy an HTTP function next to the database
  • look up Lakebase Postgres docs without leaving the editor

Example prompts for the agent

  • List my Neon projects and branch the main one for a migration test.
  • Work out why egress jumped and point at the queries pulling extra rows.
  • Deploy a Node.js function that returns the task list from the injected DATABASE_URL.

How to install neon

Plugin marketplace

/plugin install neon@claude-plugins-official
/plugin marketplace add anthropics/claude-plugins-community
/plugin install neon@claude-community
/plugin marketplace add anthropics/claude-plugins-official

Step by step, with commands for each platform: Claude Code plugins: marketplaces, installing, and building your own

Questions about neon

How do I install neon in Claude Code?

Add the marketplace with /plugin marketplace add anthropics/claude-plugins-official, then install the plugin with /plugin install neon@claude-plugins-official.

What does the neon plugin do?

It packages Neon's agent skills and the Neon MCP Server together. Skills fire on their own when a task matches, and the MCP server gives the agent access to your projects and databases.

What is needed before the MCP tools work?

An OAuth sign-in to Neon, which Claude Code asks for on the first MCP tool call.

Source text

neon-postgres · Apache-2.0
<picture>
  <source media="(prefers-color-scheme: dark)" srcset="https://neon.com/brand/neon-logo-dark-color.svg?new">
  <source media="(prefers-color-scheme: light)" srcset="https://neon.com/brand/neon-logo-light-color.svg?new">
  <img width="250px" alt="Neon Logo fallback" src="https://neon.com/brand/neon-logo-dark-color.svg?new">
</picture>

# Agent Skills

A collection of [Agent Skills](https://agentskills.io/) and agent integrations for Neon — a complete set of cloud backend primitives built around Lakebase Postgres, for developers, startups, and agent platforms, from Databricks.

## What are Agent Skills?

Skills are folders of instructions, scripts, and resources that agents can discover and use to do things more accurately and efficiently. Once installed, skills are automatically invoked by the agent upon detection of relevant tasks.

It all starts with the `SKILL.md` file in the skill's directory. It's the entry point and allows agents to progressively discover information as needed.

## Available Skills

### Neon

[![neon](https://shieldcn.dev/skills/installs/neondatabase/agent-skills/neon.svg?variant=branded&size=xs&label=neon)](https://skills.sh/neondatabase/agent-skills/neon)

An overview of Neon for apps and agents — Lakebase Postgres, Managed Better Auth, Realtime, Object Storage, Functions, the Data API, and AI Gateway — and how to get started. Includes Claimable Neon for use with no Neon account.

### Neon Postgres

[![neon-postgres](https://shieldcn.dev/skills/installs/neondatabase/agent-skills/neon-postgres.svg?variant=branded&size=xs&label=neon-postgres)](https://skills.sh/neondatabase/agent-skills/neon-postgres)

A comprehensive index of documentation and best practices for Lakebase Postgres on Neon, to set your agents up for success.

### Neon Auth

[![neon-auth](https://shieldcn.dev/skills/installs/neondatabase/agent-skills/neon-auth.svg?variant=branded&size=xs&label=neon-auth)](https://skills.sh/neondatabase/agent-skills/neon-auth)

Neon Auth (Managed Better Auth) for login, users, and sessions that branch with the database, including which Better Auth plugins are supported and when to run self-managed Better Auth on Neon instead.

### Neon Postgres Agent Platforms

[![neon-postgres-agent-platforms](https://shieldcn.dev/skills/installs/neondatabase/neon-for-agent-platforms/neon-postgres-agent-platforms.svg?variant=branded&size=xs&label=neon-postgres-agent-platforms)](https://skills.sh/neondatabase/neon-for-agent-platforms/neon-postgres-agent-platforms)

For agent platforms, codegen tools, and multi-tenant SaaS products that provision and run Lakebase Postgres, Object Storage, Functions, Managed Better Auth, and/or AI Gateway access for their users. Includes a companion skill and samples in [neondatabase/neon-for-agent-platforms](https://github.com/neondatabase/neon-for-agent-platforms).

### Neon Postgres Branches

[![neon-postgres-branches](https://shieldcn.dev/skills/installs/neondatabase/agent-skills/neon-postgres-branches.svg?variant=branded&size=xs&label=neon-postgres-branches)](https://skills.sh/neondatabase/agent-skills/neon-postgres-branches)

Choose and create the right Neon branch type for migration testing and isolated development workflows, including schema-only branches for sensitive data and reset-from-parent workflows to quickly realign child branches.

### Neon Postgres Egress Optimizer

[![neon-postgres-egress-optimizer](https://shieldcn.dev/skills/installs/neondatabase/agent-skills/neon-postgres-egress-optimizer.svg?variant=branded&size=xs&label=neon-postgres-egress-optimizer)](https://skills.sh/neondatabase/agent-skills/neon-postgres-egress-optimizer)

Diagnose and fix excessive Postgres egress (network data transfer) in a codebase. Use when investigating high database bills, unexpected data transfer costs, or query overfetching.

### Neon Object Storage

[![neon-object-storage](https://shieldcn.dev/skills/installs/neondatabase/agent-skills/neon-object-storage.svg?variant=branded&size=xs&label=neon-object-storage)](https://skills.sh/neondatabase/agent-skills/neon-object-storage)

S3-compatible object storage that branches with your Neon project, so files and database rows stay in sync across dev, preview, and production environments.

### Neon AI Gateway

[![neon-ai-gateway](https://shieldcn.dev/skills/installs/neondatabase/agent-skills/neon-ai-gateway.svg?variant=branded&size=xs&label=neon-ai-gateway)](https://skills.sh/neondatabase/agent-skills/neon-ai-gateway)

One API and one Neon credential for frontier and open-source LLMs from multiple providers, built into your branch and compatible with the OpenAI, Anthropic, and Vercel AI SDKs.

### Neon Functions

[![neon-functions](https://shieldcn.dev/skills/installs/neondatabase/agent-skills/neon-functions.svg?variant=branded&size=xs&label=neon-functions)](https://skills.sh/neondatabase/agent-skills/neon-functions)

Long-running, serverless Node.js HTTP functions deployed onto your Neon branch, with `DATABASE_URL` injected automatically and compute that runs next to your data.

### Neon Realtime

[![neon-realtime](https://shieldcn.dev/skills/installs/neondatabase/agent-skills/neon-realtime.svg?variant=branded&size=xs&label=neon-realtime)](https://skills.sh/neondatabase/agent-skills/neon-realtime)

Neon Realtime makes any SQL query live. Build realtime, reactive apps and agents on Lakebase Postgres, with type-safe live queries and optimistic mutations.

## Installation

```bash
npx skills add neondatabase/agent-skills
```

### Agent Plugin

The repository root is a portable [Agent Plugins v1](https://agent-plugins.org/specification) package, so any conforming client can install it straight from this repo. The root [`plugin.json`](plugin.json) declares the plugin, [`mcp.json`](mcp.json) declares the [Neon MCP Server](https://mcp.neon.tech), and the skills are the directories under `skills/`.

The Claude Code and Cursor packaging under `plugins/` remains available for clients that expect those formats.

### Antigravity Plugin

Antigravity reads its Marketplace metadata from [`.antigravity-plugin/plugin.json`](.antigravity-plugin/plugin.json) and its native Neon MCP Server configuration from [`mcp_config.json`](mcp_config.json). Install the plugin from this repository:

```bash
agy plugin install https://github.com/neondatabase/agent-skills
```

Confirm that Antigravity discovered the plugin, its skills, and the MCP server:

```bash
agy plugin list
```

To authenticate, run `/mcp` in Antigravity, select the Neon MCP server, and complete the OAuth flow.

### Claude Code Plugin

You can also install the skills as a Claude Code plugin, which bundles the Neon agent skills and the [Neon MCP Server](https://mcp.neon.tech) for natural language database management:

```
/plugin marketplace add neondatabase/agent-skills
/plugin install neon-postgres@neon
```

After installation, you'll be prompted to authenticate with Neon via OAuth when you first use MCP tools.

The top-level `skills/` directory remains the source of truth. Plugin folders ship real copies of the skill directories they expose, regenerated with `npm run sync:plugins` — see [CONTRIBUTING.md](CONTRIBUTING.md) for details.

### Cursor Plugin

This repository also includes Cursor plugin packaging with the same scope as the Claude plugin (the Neon agent skills and the Neon MCP Server).

Run this command in chat:

```text
/add-plugin neon-postgres
```

### Kimi Code Plugin

Kimi Code CLI reads its own manifest at [`kimi.plugin.json`](kimi.plugin.json), which points at the skills under `skills/` and declares the [Neon MCP Server](https://mcp.neon.tech). Install it from this repo in chat:

```text
/plugins install https://github.com/neondatabase/agent-skills
```

Plugin changes apply to new sessions, so run `/new` afterward.

### Pi

You can also install the skills in [Pi](https://pi.dev) from npm:

```bash
pi install npm:@neon/skills
```

Or straight from this repo:

```bash
pi install git:github.com/neondatabase/agent-skills
```

## Usage

Example prompts:

```
Get started with Neon
```

```
Recommend a connection method for this project
```

```
Set up Drizzle ORM with Neon
```

```
Set up Neon Auth for my Next.js app
```

```
Query the database using neon-js
```

```
Create a new Neon branch using the API
```

```
Use the serverless driver for edge functions
```

```
Give me a quick temporary Postgres database
```

```
Why is my Neon bill so high?
```

© neondatabase · Apache-2.0 · neondatabase/agent-skills

Similar plugins

All plugins for Data and databases →

From the same set10

neon This skill helps choose and configure a Neon backend with Postgres, auth, storage, functions, the AI Gateway, and Realtime. Use it when building an app. CX Codex +1 234,000installs neon-postgres-branches Selects and provisions Neon database branches through the CLI or MCP server. Built for validating migrations on real data and isolating staging environments. CX Codex +1 31,200installs neon-postgres-egress-optimizer Finds Postgres queries that send unused data to an application and suggests changes that reduce network transfer. CX Codex +1 29,300installs neon-object-storage Sets up S3-compatible Neon object storage that branches with your database. Use it for application uploads, images, documents, and other generated files. CX Codex +1 28,200installs neon-functions Walks your agent through deploying long-running Node.js handlers onto a Neon branch, with a public URL and DATABASE_URL already wired in. CX Codex +1 27,900installs neon-ai-gateway This skill teaches your agent to route LLM and embedding calls through Neon AI Gateway, using a single Neon credential instead of separate provider keys. CX Codex +1 27,700installs neon-auth Provisions Managed Better Auth in Neon Postgres branches. The skill sets up email OTP, magic links, OAuth, and migration flows from Supabase Auth. CX Codex +1 20,300installs neon-realtime Turns any SQL query live: the client subscribes to row changes in Lakebase Postgres and gets them in batches. Useful for dashboards, feeds and multi-device sync. CX Codex +1 6,000installs

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor