Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

neon-functions

Skill by sickn33

Neon Functions helps an assistant define, run locally, deploy and manage long-running Node.js HTTP functions on a Neon branch. It is for developers who want backend code to run in the same region as their Postgres database.

  • Score 92
  • 50k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install neon-functions

Built from the published package, never by AI.

git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.claude/skills && cp -r /tmp/agentic-awesome-skills/skills/neon-functions ~/.claude/skills/neon-functions

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install neon-functions in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

Neon Functions is an agent skill for building and managing long-running Node.js HTTP handlers deployed onto a Neon branch. Each function gets a public HTTPS URL and runs in the same region as the branch's database. When the branch has Postgres, DATABASE_URL is injected automatically. Functions are declared in neon.ts under preview.functions, keyed by a slug, and managed with the Neon CLI, neon.ts, or the Neon API.

The skill covers web-standard handlers that export a default object with a fetch method, such as a Hono app. It describes module-scope connection pools, and WebSocket or SSE endpoints that stay open in-process. Each branch runs its own function version at its own URL against isolated state. The source is aimed at developers building request/response agents, webhooks, bots, and backends that need to sit close to Postgres. It is published by sickn33 and taken from the Neon agent-skills repository under Apache-2.0.

Written from the project's SKILL.md and checked against it.

What it can do

  • Define functions in neon.tsDeclares functions under preview.functions with a slug, display name and source entry file.
  • Local development loopRuns every declared function locally with hot reload using neon dev, with DATABASE_URL injected.
  • Deploy to a branchBundles and uploads functions with neon deploy, applying neon.ts to the linked branch.
  • Manage deployed functionsLists, gets and deletes functions with neon functions list, get and delete commands.
  • Inject branch connection stringsProvides DATABASE_URL, DATABASE_URL_UNPOOLED and NEON_BRANCH at runtime.
  • Set per-deployment secretsPasses your own secrets with --env on deploy or through the env block in neon.ts.
  • Branch-scoped deploymentsGives each branch its own function version and URL, and applies neon.ts on new branch checkout.
  • Stateful streaming endpointsHosts SSE endpoints or WebSocket servers that hold connections open in-process.

What you need

  • Neon account with a branch that has Postgres for DATABASE_URL
  • Neon CLI
  • Node.js 24 runtime
  • neon.ts configuration file

Try asking

  • Create a Neon function with a todos endpoint that uses Postgres
  • Deploy my function to the current Neon branch and give me the URL
  • Show the status and invocation URL of my deployed todo function

Good to know

  • Upstream preview snapshot; verify regions, access and billing in the official docs.
  • Function slugs are limited to lowercase letters and digits, up to 20 characters, and cannot change after the first deploy.
  • The source says functions currently run in us-east-2 and are not the right fit for workloads that must run elsewhere.
  • Checking out an existing branch does not redeploy functions; neon deploy must be run explicitly.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/neon-functions/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md35 KB
  • references/ai-sdk.md7 KB
  • references/hono-websockets.md8 KB
  • references/mastra-studio.md7 KB
  • references/mcp.md9 KB
Show all 7 files
  • references/sentry.md7 KB
  • references/sse.md8 KB

Alternatives to neon-functions

All alternatives →
deploy-release-testvercel
94

Runs the full Next.js deployment test suite for an internal vercel/next.js pull request. It validates the commit's preview package, then dispatches the test_e2e_deploy_release.yml workflow. Meant for maintainers who explicitly ask for the entire suite.

AAA Skill 144k
deepeval-tracingconfident-ai
94

Instruments Python AI applications with DeepEval's native tracing so their execution appears span by span in Confident AI's Observatory. It is for developers building LLM apps, agents, RAG pipelines and chatbots.

AAA Skill 20k
azure-container-registry-cligithub
94

Manages Azure Container Registry through the az acr Azure CLI command group. It covers registries, images, cloud builds, ACR Tasks, tokens, geo-replication and networking. Built for developers and operators who work with ACR in Azure.

AAA Skill 42k
crabbox-appsopenclaw
94

Opens, runs, and shows apps on a temporary Crabbox machine, including native desktops and web previews. It is for OpenClaw users who want an app running and visible in their chat side panel.

AAA Skill 395k
gke-batch-hpcgoogle
94

Runs batch and HPC workloads on GKE using job queues and parallel processing. Aimed at teams running batch pipelines, HPC simulations, or ML training jobs on Google Kubernetes Engine.

AAA Skill 25k
gke-cost-analysisgoogle
94

Answers questions about GKE cluster and workload costs using BigQuery billing exports and live cluster metrics. Built for platform engineers and cloud teams who need to analyze and diagnose GKE spend.

AAA Skill 25k

Compare with deploy-release-test, deepeval-tracing or azure-container-registry-cli

neon-functions: common questions

What runtime do Neon Functions use?

The source says functions run on Node.js 24, so all Node APIs are available. Handlers are web-standard default exports with a fetch method.

Where does DATABASE_URL come from?

Neon injects DATABASE_URL automatically when the branch has Postgres. The pooled connection string is used for most queries, and DATABASE_URL_UNPOOLED is for direct connections.

Can a function keep a WebSocket or SSE connection open?

Yes. The source says functions can host SSE endpoints or WebSocket servers and hold connections open in-process, without an external state store.

How do I install neon-functions?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is neon-functions free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is neon-functions safe to use?

It scores 92 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to neon-functions?

Similar skills: deploy-release-test, deepeval-tracing, azure-container-registry-cli, crabbox-apps.

neon-functions Install

Add to stack

Loading.