installskill

Skills / neondatabase/agent-skills

neon-functions

Deploying long-running serverless Node.js HTTP functions on a Neon branch, with cron triggers.

Pinned commit
d3601d9e1f93Committed 2026-11-18
Files
9138 KB
License
Apache-2.0
Snapshot taken
2026-11-28
Description from the skill
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. Use when a user wants to host an API, an AI agent with long streaming responses, a WebSocket or server-sent-events (SSE) server, a webhook handler, a Discord bot, an MCP server, or any request/response workload that risks timing out on short, lambda-style serverless functions — and wants it to branch with their database. Also use for Function Triggers: a cron or an object-storage event that POSTs to a function. Triggers include "serverless function", "deploy an API", "long-running function", "streaming agent", "SSE server", "WebSocket server", "webhook handler", "MCP server", "cron", "scheduled function", "object storage trigger", "on upload", "function that won't time out", "function logs", "Neon Functions", "Neon Compute", "DDoS protection", "rate limiting", and "production hardening". For live UIs over database rows, use neon-realtime.

This is the text your agent reads to decide when to use the skill.

Install

Choose your agent. Pinned commands install exactly the commit this page describes.

Skill directory .claude/skills/Claude Code · Official docs

Does not read the shared .agents/skills directory. A skill must land in .claude/skills, or arrive inside a plugin.

GitHub CLIpinned

$ gh skill install neondatabase/agent-skills skills/neon-functions --agent claude-code --pin d3601d9e1f9398b96a1ee25047bafba5f04199eb

gh picks the directory for the agent, names the folder after the source directory (neon-functions), and writes source metadata into the SKILL.md frontmatter, so the content hash below will not match. Check the github-tree-sha it records instead: it should read 4c901065cab88dcfba37eaa56e3d2bc5e61277f7.

skills CLIpinned

$ npx skills add neondatabase/agent-skills@d3601d9e1f9398b96a1ee25047bafba5f04199eb --skill neon-functions -a claude-code --copy

Downloads and runs the skills package from npm. --copy writes real files instead of symlinks. The CLI sends anonymous telemetry unless DISABLE_TELEMETRY=1 is set, and that setting also turns off its audit lookups.

Plain gitpinned

$ tmp=$(mktemp -d)
$ git clone --quiet https://github.com/neondatabase/agent-skills.git "$tmp"
$ git -C "$tmp" checkout --quiet d3601d9e1f9398b96a1ee25047bafba5f04199eb
$ mkdir -p .claude/skills
$ cp -R "$tmp/skills/neon-functions" .claude/skills/neon-functions

No extra tooling. Files land byte for byte as published in .claude/skills/neon-functions, so the content hash below can be checked directly.

Check what landed

Run this after installing. It prints one SHA-256 for the whole directory. If your installer reported a different directory, cd there instead.

$ cd .claude/skills/neon-functions && find . -type f -print0 | LC_ALL=C sort -z | xargs -0 shasum -a 256 | shasum -a 256

Expected89fc5551b45154a07d3f8e9a02f28ba2aefbdf04ff624eaf54622d4c02c35676

It matches only when the files are byte for byte as published. A difference means something changed: by the installer, by you, or upstream.

What is inside

Pattern matches in the files, each linked to its line. A match is a place to read, not a verdict, and no match is not proof of absence.

Docs · 8SKILL.md · 1

Runs commands21

Code that spawns other processes, or shell code blocks in the instructions.

0 in scripts · 21 in docs and other text files

Network access5

Calls that fetch from or send to a remote host.

0 in scripts · 5 in docs and other text files

Installs packages7

Commands that pull and run third-party packages at use time.

0 in scripts · 7 in docs and other text files

Reads env or credentials53

References to environment variables, tokens, keys or credential files.

0 in scripts · 53 in docs and other text files

Privileged or destructive2

sudo, recursive deletes, permission changes and similar commands.

0 in scripts · 2 in docs and other text files

Dynamic or encoded codeNo match

eval, exec, base64 decoding and remote-script piping, which hide what runs.

Outside hosts mentioned

Hostnames of every URL in the text files.

  • neon.com×27
  • github.com×5
  • mastra.ai×5
  • ai-sdk.dev×4
  • developers.cloudflare.com×3
  • app.example.com×2
  • developer.mozilla.org×2
  • localhost×2
  • modelcontextprotocol.io×2
  • br-cool-lab-a1b2c3d4-todos.compute.c-2.us-east-2.aws.neon.tech×1
  • upstash.com×1
  • www.npmjs.com×1

Entries worth a second look

No symlinks, submodules, hidden files, archives, compiled files or unscanned files.

File manifest

Every file in the skill directory at the pinned commit.

Content hash
89fc5551b45154a07d3f8e9a02f28ba2aefbdf04ff624eaf54622d4c02c35676
Git tree SHA
4c901065cab88dcfba37eaa56e3d2bc5e61277f7
PathKindSizeSHA-256
SKILL.mdSKILL.md54 KB5f21534568cbba55…
references/ai-sdk.mdDocs6.7 KB9b525964c8ddca1d…
references/function-triggers.mdDocs11 KBa54ed9599ebdcd34…
references/mastra-studio.mdDocs6.3 KB68b22e99930334df…
references/mcp.mdDocs14 KB09df828e9db2eee6…
references/native-binaries.mdDocs9.2 KB04d39d8dc2e822e6…
references/production-hardening.mdDocs15 KB1b3f0eb3e13aae1d…
references/sentry.mdDocs15 KBbe93790a9b62e0a7…
references/sse.mdDocs8.5 KB331caf1e37de5a3d…

Spec and portability

Checked against the Agent Skills specification.

Frontmatter
Parses as YAML
Name matches directory
Yes
Name uses lowercase letters, digits and hyphens
Yes
Description length
1,012limit 1,024 characters
SKILL.md body
707 linesthe spec suggests under 500 lines
Fields outside the spec
None
License field
None declared
License file
None declared
Repository license
LICENSE (Apache-2.0)

Change history

No changes recorded since the first snapshot on 2026-11-28.

Follow changes to this skill in a feed reader: Atom feed · all skills

Get an email when this skill changes

Email alerts are not built yet. Leave your address and we will write to you once, when they are. The feed above works today.

We store your address, the name of this skill and the date. It is used for nothing else.