Agent skill

Neon Instagres

by davila7 in davila7/claude-code-templates

Instantly provision production-ready Postgres databases with Neon Instagres.

MITAuto-check: notesDatabases

Install Neon Instagres

skills CLI
$ npx skills add davila7/claude-code-templates --skill neon-instagres -a claude-code

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

GitHub CLI
$ gh skill install davila7/claude-code-templates neon-instagres --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/davila7/claude-code-templates.git skills-src && mkdir -p .claude/skills && cp -r skills-src/cli-tool/components/skills/database/neon-instagres .claude/skills/neon-instagres && 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
neon-instagres
GitHub stars
33k
Token cost
~1.6k tokens
SKILL.md length
372 words
Files
1
Skills in repo
479
Repo updated
First seen
Licence
MIT

At a glance

Instantly provision production-ready Postgres databases with Neon Instagres.

  • Works in 3 steps: Check Existing Database → Provision Database → Confirm Success
  • Setting up databases
  • SKILL.md covers Core Command, Workflow, Delegation to Expert Agents and Framework Integration, plus 7 more sections
  • Calls npx and npm

What it does

Neon Instagres is an agent skill from davila7/claude-code-templates. Instantly provision production-ready Postgres databases with Neon Instagres. Use when setting up databases, when users mention PostgreSQL/Postgres, database setup, or need a development database. Works with Drizzle, Prisma, raw SQL.

Its SKILL.md is about 1.6k 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 Databases, covering ORMs and data access. It works with PostgreSQL, Prisma and SQL. The repository describes itself as: CLI tool for configuring and monitoring Claude Code. The licence is MIT.

When your agent uses it

  • Setting up databases
  • Users mention PostgreSQL/Postgres
  • Need a development database

Example prompts

  • “/neon-instagres”

Requirements

  • Node.js
  • Pre-approved tools (allowed-tools): Read, Write, Bash, Grep, Glob

Workflow steps

3 steps, taken from the step headings in SKILL.md.

  1. Check Existing Database
  2. Provision Database
  3. Confirm Success

What it can do on your machine

Read from SKILL.md and the folder at commit c0ca7da. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Write
    • Bash
    • Grep
    • Glob

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • npx
    • npm

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

  • Network

    Links to these hosts (documentation or services it may open):

    • neon.tech
    • console.neon.tech
    • get.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

Neon Instagres loads about 1.6k tokens when it runs. Until then it costs about 62 tokens; SKILL.md has 372 words of instructions outside code blocks.

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

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:27
    cat .env 2>/dev/null | grep DATABASE_URL
  • NoteMentions a .env fileSKILL.md:40
    - `--env .env.local` - Custom env file (Next.js, Remix)
  • NoteMentions a .env fileSKILL.md:50
    📁 Connection details in .env:
  • NoteMentions a .env fileSKILL.md:122
    npx get-db --env .env.local --yes --ref 4eCjZDz
  • NoteMentions a .env fileSKILL.md:227
    . Copy `PUBLIC_INSTAGRES_CLAIM_URL` from .env
  • NoteMentions a .env fileSKILL.md:245
    - Never commit `.env` to git
  • NoteMentions a .env fileSKILL.md:246
    - Add `.env` to `.gitignore`
  • NoteMentions a .env fileSKILL.md:277
    TABASE_URL contains credentials** - keep .env private
  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Read, Write, Bash, Grep, Glob

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 davila7/claude-code-templates at commit c0ca7da, republished under its MIT licence (© davila7). 372 words, ~1,600 tokens.

Download SKILL.mdSave it as .claude/skills/neon-instagres/SKILL.md (or your agent's skills folder).
name
neon-instagres
description
Instantly provision production-ready Postgres databases with Neon Instagres. Use when setting up databases, when users mention PostgreSQL/Postgres, database setup, or need a development database. Works with Drizzle, Prisma, raw SQL.
allowed-tools
Read, Write, Bash, Grep, Glob
user-invocable
true

Neon Instagres - Instant Postgres Provisioning

You are an expert at provisioning instant, production-ready PostgreSQL databases using Neon's Instagres service.

Core Command

bash
npx get-db --yes --ref 4eCjZDz

This provisions a Neon Postgres database in 5 seconds and creates:

  • DATABASE_URL - Connection pooler (for app queries)
  • DATABASE_URL_DIRECT - Direct connection (for migrations)
  • PUBLIC_INSTAGRES_CLAIM_URL - Claim URL (72-hour window)

Workflow

1. Check Existing Database
bash
cat .env 2>/dev/null | grep DATABASE_URL

If found, ask user if they want to use existing or create new.

2. Provision Database

For new database:

bash
npx get-db --yes --ref 4eCjZDz

Common Options:

  • --env .env.local - Custom env file (Next.js, Remix)
  • --seed schema.sql - Seed with initial data
  • --key DB_URL - Custom variable name
3. Confirm Success

Tell the user:

✅ Neon Postgres database provisioned!

📁 Connection details in .env:
   DATABASE_URL - Use in your app
   DATABASE_URL_DIRECT - Use for migrations
   PUBLIC_INSTAGRES_CLAIM_URL - Claim within 72h

⚡ Ready for: Drizzle, Prisma, TypeORM, Kysely, raw SQL

⏰ IMPORTANT: Database expires in 72 hours.
   To claim: npx get-db claim

⚠️  SECURITY: PUBLIC_INSTAGRES_CLAIM_URL grants database access.
   Do not share this URL publicly.

Delegation to Expert Agents

After provisioning, you can delegate to specialized Neon agents for advanced workflows:

Complex Schema Design

For complex database schemas, data models, or architecture:

Delegate to @neon-database-architect for:
- Drizzle ORM schema generation
- Table relationship design
- Index optimization
- Schema migrations
Authentication Integration

For auth systems with database integration:

Delegate to @neon-auth-specialist for:
- Stack Auth setup
- Neon Auth integration
- User authentication tables
- Session management
Database Migrations

For production migrations or schema changes:

Delegate to @neon-migration-specialist for:
- Safe migration patterns
- Database branching for testing
- Rollback strategies
- Zero-downtime migrations
Performance Optimization

For query optimization or performance tuning:

Delegate to @neon-optimization-analyzer for:
- Query performance analysis
- Index recommendations
- Connection pooling setup
- Resource monitoring
General Neon Consultation

For complex multi-step Neon workflows:

Delegate to @neon-expert for:
- Orchestrating multiple Neon operations
- Advanced Neon features
- Best practices consultation
- Integration coordination

Framework Integration

Next.js
bash
npx get-db --env .env.local --yes --ref 4eCjZDz
Vite / SvelteKit

Option 1: Manual

bash
npx get-db --yes --ref 4eCjZDz

Option 2: Auto-provisioning with vite-plugin-db

typescript
// vite.config.ts
import { postgres } from 'vite-plugin-db';

export default defineConfig({
  plugins: [postgres()]
});
Express / Node.js
bash
npx get-db --yes --ref 4eCjZDz

Then install dependencies and load with dotenv:

bash
npm install dotenv postgres
javascript
import 'dotenv/config';
import postgres from 'postgres';
const sql = postgres(process.env.DATABASE_URL);

ORM Setup

After provisioning, suggest delegating to @neon-database-architect for schema design, or set up manually:

typescript
// drizzle.config.ts
import { defineConfig } from 'drizzle-kit';

export default defineConfig({
  schema: './src/db/schema.ts',
  out: './drizzle',
  dialect: 'postgresql',
  dbCredentials: { url: process.env.DATABASE_URL! }
});
typescript
// src/db/index.ts
import { drizzle } from 'drizzle-orm/postgres-js';
import postgres from 'postgres';

const client = postgres(process.env.DATABASE_URL!);
export const db = drizzle(client);
Prisma
bash
npx prisma init
# DATABASE_URL already set by get-db
npx prisma db push
TypeORM
typescript
import { DataSource } from 'typeorm';

export const AppDataSource = new DataSource({
  type: 'postgres',
  url: process.env.DATABASE_URL,
  entities: ['src/entity/*.ts'],
  synchronize: true
});

Seeding

bash
npx get-db --seed ./schema.sql --yes --ref 4eCjZDz

Example schema.sql:

sql
CREATE TABLE users (
  id SERIAL PRIMARY KEY,
  email VARCHAR(255) UNIQUE NOT NULL,
  created_at TIMESTAMP DEFAULT NOW()
);

INSERT INTO users (email) VALUES ('demo@example.com');
Show full SKILL.md (171 more words)Show less

Claiming (Make Permanent)

Option 1: CLI

bash
npx get-db claim

Option 2: Manual

  1. Copy PUBLIC_INSTAGRES_CLAIM_URL from .env
  2. Open in browser
  3. Sign in to Neon (or create account)
  4. Database becomes permanent

After claiming:

  • No expiration
  • Included in Neon Free Tier (0.5 GB)
  • Can use database branching (dev/staging/prod)

Best Practices

Connection Pooling:

  • Use DATABASE_URL (pooler) for app queries
  • Use DATABASE_URL_DIRECT for migrations/admin
  • Prevents connection exhaustion

Environment Security:

  • Never commit .env to git
  • Add .env to .gitignore
  • Use .env.example with placeholders

Database Branching:

  • After claiming, create branches for dev/staging
  • Test migrations safely before production

Troubleshooting

"npx get-db not found"

  • Ensure Node.js 18+ installed
  • Check internet connection

"Connection refused"

  • Use DATABASE_URL (pooler), not _DIRECT
  • Add ?sslmode=require if needed

Database expired

  • Provision new: npx get-db --yes --ref 4eCjZDz
  • Remember to claim databases you want to keep

Resources

Key Reminders

  • Always use --ref 4eCjZDz for referral tracking
  • Remind about 72h expiration and claiming
  • DATABASE_URL contains credentials - keep .env private
  • Logical replication enabled by default
  • Delegate to specialist agents for complex workflows

© davila7, 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 cli-tool/components/skills/database/neon-instagres of davila7/claude-code-templates.

Open the folder on GitHubat commit c0ca7da

Compare with similar skills

Neon Instagres 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.

Neon Instagres compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Neon Instagres this skilldavila7/claude-code-templates33k—~1.6kAutomated safety check: NotesMIT
Database FundamentalsDanielPodolsky/ownyourcode2901 repos~1.6kAutomated safety check: PassMIT
DB SculptorEliasOulkadi/shokunin114—~3.1kAutomated safety check: NotesMIT
DB Review312362115/claude107—~1.8kAutomated safety check: PassMIT
Planetscale Codebase Sqlcommenter Instrumentationplanetscale/skills133—~1.2kAutomated safety check: PassMIT
Stash Postgrescipherstash/stack157—~6.3kAutomated safety check: PassMIT

Similar skills

  • Database Fundamentals

    DanielPodolsky/ownyourcode

    Reviews schema design, SQL queries, ORM patterns. An agent skill from DanielPodolsky/ownyourcode.

    290 GitHub starsUsed in 1 repo~1.6k tokens
    DatabasesAuto-check passed
  • DB Sculptor

    EliasOulkadi/shokunin

    Design database schemas with Prisma/Drizzle, PostgreSQL index strategy (B-tree, GIN, GiST, BRIN, Hash), query optimization (EXPLAIN ANALYZE), migration safety (expand/contract, zero-downtime), and…

    114 GitHub stars~3.1k tokensUpdated 6 days ago
    DatabasesAuto-check: notes
  • DB Review

    312362115/claude

    数据库代码审查 + Migration 安全检查. An agent skill from 312362115/claude.

    107 GitHub stars~1.8k tokensUpdated 5 mo ago
    DatabasesAuto-check passed
  • Inspect an application repository connected to PlanetScale and recommend SQLCommenter-compatible query tagging packages and conventions.

    133 GitHub stars~1.2k tokensUpdated yesterday
    DatabasesAuto-check passed
  • Stash Postgres

    cipherstash/stack

    Query EQL v3 encrypted columns from hand-written Postgres SQL over pg (node-postgres) or postgres (postgres-js) — no ORM.

    157 GitHub stars~6.3k tokensUpdated yesterday
    DatabasesAuto-check passed
  • SQL Database Assistant

    alirezarezvani/claude-skills

    A skill your agent uses when the user asks to write SQL queries, optimize database performance, generate migrations, explore database schemas, or work with ORMs like Prisma, Drizzle, TypeORM, or…

    28k GitHub stars~4k tokensUpdated 1 mo ago
    DatabasesAuto-check passed

More from davila7/claude-code-templates

All 479 skills in this repo
  • Perplexity Web Search

    davila7/claude-code-templates

    Runs web-grounded searches through Perplexity's Sonar models over OpenRouter for current events, recent literature and cited facts beyond the model's training cutoff.

    33k GitHub starsUsed in 11 repos~3.5k tokens
    Auto-check: notes
  • Neuropixels Data Analysis

    davila7/claude-code-templates

    Analyzes Neuropixels recordings from SpikeGLX or Open Ephys through preprocessing, drift correction, Kilosort4 spike sorting, quality metrics and curation.

    33k GitHub starsUsed in 9 repos~2.8k tokens
    Auto-check passed
  • Scientific Venue Templates

    davila7/claude-code-templates

    Supplies LaTeX templates and formatting rules for journals, conferences, posters, and grant proposals, then can check a draft against them.

    33k GitHub starsUsed in 9 repos~5.1k tokens
    Auto-check: notes
  • Brand Voice Content Creator

    davila7/claude-code-templates

    Analyzes a brand's existing writing to lock in a consistent voice, then builds SEO blog posts and platform-specific social content around it.

    33k GitHub starsUsed in 3 repos~1.9k tokens
    Auto-check passed
  • CAPA Officer

    davila7/claude-code-templates

    Guides corrective and preventive action (CAPA) work in a quality management system, from initiation and root cause analysis through effectiveness verification.

    33k GitHub starsUsed in 1 repo~2k tokens
    Auto-check passed
  • Fda Consultant Specialist

    davila7/claude-code-templates

    Senior FDA consultant and specialist for medical device companies including HIPAA compliance and requirement management.

    33k GitHub starsUsed in 1 repo~2.7k tokens
    Auto-check passed

Categories

Questions about Neon Instagres

What does Neon Instagres do?

Instantly provision production-ready Postgres databases with Neon Instagres. Neon Instagres is an agent skill from davila7/claude-code-templates. Instantly provision production-ready Postgres databases with Neon Instagres.

When should I use Neon Instagres?

Neon Instagres fits situations like: setting up databases; users mention PostgreSQL/Postgres; need a development database.

How do I install Neon Instagres in Claude Code?

Run `npx skills add davila7/claude-code-templates --skill neon-instagres -a claude-code`. Or copy the skill folder (cli-tool/components/skills/database/neon-instagres in davila7/claude-code-templates) into .claude/skills/neon-instagres in your project. Claude Code loads it when a task matches its description.

How do I install Neon Instagres in Codex?

Run `npx skills add davila7/claude-code-templates --skill neon-instagres -a codex`. Or copy the skill folder (cli-tool/components/skills/database/neon-instagres in davila7/claude-code-templates) into .agents/skills/neon-instagres in your project. Codex loads it when a task matches its description.

Can I use Neon Instagres 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 davila7/claude-code-templates --skill neon-instagres -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/neon-instagres, .gemini/skills/neon-instagres, .github/skills/neon-instagres and .opencode/skills/neon-instagres in your project.

What does Neon Instagres need to run?

Going by SKILL.md and its folder, Neon Instagres needs the command-line tools its instructions call (npx and npm). Our summary lists: Node.js. Its frontmatter pre-approves these tools: Read, Write, Bash, Grep, Glob.

Does Neon Instagres access the network?

SKILL.md names 3 domains. As links in the text: neon.tech, console.neon.tech and get.neon.com. This is read from the text; nothing was executed.

Is Neon Instagres safe to install?

Our automated static check of SKILL.md found notes only (mentions a .env file; pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Neon Instagres use?

Neon Instagres 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 Neon Instagres use?

About 1.6k tokens (SKILL.md is roughly 6.4k 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 Neon Instagres?

Skills that share tags, products or a category with Neon Instagres: Database Fundamentals (DanielPodolsky/ownyourcode, 290 stars), DB Sculptor (EliasOulkadi/shokunin, 114 stars), DB Review (312362115/claude, 107 stars) and Planetscale Codebase Sqlcommenter Instrumentation (planetscale/skills, 133 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Neon Instagres?

davila7 (a GitHub user) maintains it in davila7/claude-code-templates, which has 32,512 GitHub stars. The repository holds 479 skills in this directory. The repository was last updated on October 10, 2026.

Source: davila7/claude-code-templates on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.