agentsclimarketplace

Neon

Skill stonelyd/seiraiyu-skills/skills/neon

Manage Neon serverless Postgres projects, branches, databases, and roles. Use when the user needs to create or manage Neon projects, branch databases, get connection strings, or perform any Neon database administration from the CLI.From its SKILL.md

Install
npx -y skills add stonelyd/seiraiyu-skills --skill neon

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

3.9 KB, as published. Nobody here has run it

Neon CLI

Manage Neon serverless Postgres from the terminal. Branching, connection strings, projects, databases, roles.

Quick start

# Authenticate
neon auth

# Set project context (avoids --project-id on every command)
neon set-context --project-id <project-id>

# Get connection string for default branch
neon cs

# Create a branch
neon branches create --name feature/my-branch

# List databases
neon databases list

# Schema diff between branches
neon branches schema-diff main feature/my-branch

Commands

CommandPurpose
neon authAuthenticate (alias: login).
neon meShow current user info.
neon set-contextSet default project/org. --project-id, --org-id.
neon projects listList projects. --org-id.
neon projects createCreate project. --name, --region-id, --cu, --database, --set-context.
neon projects update <id>Update project. --name, --cu.
neon projects delete <id>Delete a project.
neon projects get <id>Get project details.
neon projects recover <id>Recover deleted project (within grace period).
neon branches listList branches.
neon branches createCreate branch. --name, --parent, --type, --cu, --schema-only.
neon branches reset <id|name>Reset branch. --parent, --preserve-under-name.
neon branches restore <target> <source>Restore branch. Supports @timestamp and @lsn.
neon branches rename <id|name> <new>Rename a branch.
neon branches delete <id|name>Delete a branch.
neon branches get <id|name>Get branch details.
neon branches schema-diff [base] [compare]Compare schemas. --database.
neon branches set-default <id|name>Set default branch.
neon branches add-compute <id|name>Add compute. --type, --cu.
neon databases listList databases. --branch.
neon databases createCreate database. --branch.
neon databases delete <db>Delete database. --branch.
neon roles listList roles. --branch.
neon roles createCreate role. --branch.
neon roles delete <role>Delete role. --branch.
neon cs [branch]Connection string. --role-name, --database-name, --pooled, --psql.
neon ip-allow listList IP allowlist.
neon ip-allow add [ips...]Add IPs. --protected-only.
neon ip-allow remove [ips...]Remove IPs.
neon ip-allow reset [ips...]Reset allowlist.
neon operations listList operations.
neon orgs listList organizations.

Output format

Default output is table. Use --output json or --output yaml for machine-readable output.

# JSON output (recommended for agent use)
neon projects list --output json

# Table output (human-readable, default)
neon branches list

Important: Table format omits some fields. Always use --output json when you need complete data.

Global options

All commands accept: --output (json/yaml/table), --api-key, --project-id, --config-dir, --no-color, --no-analytics.

Context

Use neon set-context --project-id <id> to avoid passing --project-id on every command. Context is stored in ~/.config/neonctl/context.json by default.

Auth precedence

  1. --api-key flag (highest)
  2. NEON_API_KEY env var
  3. ~/.config/neonctl/credentials.json (from neon auth)

Detailed guides

Keep looking

Skills are one crate of 607,533. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.