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.
npx skills add tmolavi/mcp-agent-skills-hub --skill neon-postgresgit clone --depth 1 https://github.com/tmolavi/mcp-agent-skills-hubWrote 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.
[](https://agentmods.dev/skills/tmolavi/mcp-agent-skills-hub/neon-postgres)<a href="https://agentmods.dev/skills/tmolavi/mcp-agent-skills-hub/neon-postgres"><img src="https://agentmods.dev/badge/skills/tmolavi/mcp-agent-skills-hub/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.
<a href="https://agentmods.dev/skills/tmolavi/mcp-agent-skills-hub/neon-postgres"><img src="https://agentmods.dev/badge/skills/tmolavi/mcp-agent-skills-hub/neon-postgres.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00025 | $0.03990 |
| Opus 5.5 | $0.00010 | $0.01596 |
| Sonnet 5.5 | $0.00005 | $0.00798 |
| Haiku 4.5 | $0.00003 | $0.00399 |
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 2mo 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.
Copies of this mod
1 near-identical copy found in the catalogue:
- neon-postgres — 98% identical, 1 lines differ
How it starts
The opening of the file, as written. The whole thing — 620 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Neon Postgres
Expert patterns for Neon serverless Postgres, branching, connection pooling, and Prisma/Drizzle integration
Patterns
Prisma with Neon Connection
Configure Prisma for Neon with connection pooling.
Use two connection strings:
- DATABASE_URL: Pooled connection for Prisma Client
- DIRECT_URL: Direct connection for Prisma Migrate
The pooled connection uses PgBouncer for up to 10K connections. Direct connection required for migrations (DDL operations).
Code_example
.env
Pooled connection for application queries
DATABASE_URL="postgres://user:[email protected]/neondb?sslmode=require"
Direct connection for migrations
DIRECT_URL="postgres://user:[email protected]/neondb?sslmode=require"
// prisma/schema.prisma generator client { provider = "prisma-client-js" }
datasource db { provider = "postgresql" url = env("DATABASE_URL") directUrl = env("DIRECT_URL") }
model User { id String @id @default(cuid()) email String @unique name String? createdAt DateTime @default(now()) updatedAt DateTime @updatedAt }
// lib/prisma.ts import { PrismaClient } from '@prisma/client';
const globalForPrisma = globalThis as unknown as { prisma: PrismaClient | undefined; };
export const prisma = globalForPrisma.prisma ?? new PrismaClient({ log: process.env.NODE_ENV === 'development' ? ['query', 'error', 'warn'] : ['error'], });
if (process.env.NODE_ENV !== 'production') { globalForPrisma.prisma = prisma; }
// Run migrations // Uses DIRECT_URL automatically npx prisma migrate dev npx prisma migrate deploy
Anti_patterns
- Pattern: Using pooled connection for migrations | Why: DDL operations fail through PgBouncer | Fix: Set directUrl in schema.prisma
- Pattern: Not using connection pooling | Why: Serverless functions exhaust connection limits | Fix: Use -pooler endpoint in DATABASE_URL
References
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.
- 2mo ago First seen · 620 lines · 25 tokens per session scan A dec580dc3fe3
neon-postgres is a skill published in the GitHub repository tmolavi/mcp-agent-skills-hub (11 stars, last pushed 3d ago), licensed MIT. It adds 25 tokens to every session and 3,990 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
neon-postgres compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| neon-postgrestmolavi/mcp-agent-skills-hub | Skill | 11 | 3d ago | MIT | A | 25 | Claude Code, Codex |
| backup-restoresawrus/agent-guides | Skill | 21 | yesterday | MIT | A | 47 | Claude Code, Codex |
| cockroachdbG1Joshi/Agent-Skills | Skill | 16 | 2mo ago | MIT | A | 45 | Claude Code, Codex |
| cosmosdbG1Joshi/Agent-Skills | Skill | 16 | 2mo ago | MIT | A | 41 | Claude Code, Codex |
| neonG1Joshi/Agent-Skills | Skill | 16 | 2mo ago | MIT | A | 44 | Claude Code, Codex |
| postgresqlG1Joshi/Agent-Skills | Skill | 16 | 2mo ago | MIT | A | 49 | Claude Code, Codex |
| supabaseG1Joshi/Agent-Skills | Skill | 16 | 2mo ago | MIT | A | 48 | Claude Code, Codex |