installskill

Skills / neondatabase/agent-skills

neon-ai-gateway

Calling LLMs and embedding models from several providers through Neon's single AI Gateway API.

Pinned commit
d3601d9e1f93Committed 2026-11-18
Files
124 KB
License
Apache-2.0
Snapshot taken
2026-11-28
Description from the skill
One API and one credential for frontier and open-source LLMs and embedding models, built into your Neon branch and powered by Databricks. Use when a user wants to call an LLM, generate embeddings, add AI/chat/an agent to their app, route between model providers (OpenAI, Anthropic, Google/Gemini, Meta, Alibaba, and more), or avoid juggling separate provider API keys and accounts — especially when they already use Neon and want AI requests to branch with their project. Works with the OpenAI SDK, Anthropic SDK, google-genai, the Vercel AI SDK, and Mastra by changing only the base URL. Triggers include "call an LLM", "add AI to my app", "chat completion", "model routing", "LLM proxy/gateway", "one API for all models", "use Claude/GPT/Gemini", "AI SDK", "Mastra agent", "Neon AI Gateway", "generate embeddings", "generate images", and "log/rate-limit AI calls".

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-ai-gateway --agent claude-code --pin d3601d9e1f9398b96a1ee25047bafba5f04199eb

gh picks the directory for the agent, names the folder after the source directory (neon-ai-gateway), 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 2441f0961546d83b3f3458f877db2147cc7f1c8e.

skills CLIpinned

$ npx skills add neondatabase/agent-skills@d3601d9e1f9398b96a1ee25047bafba5f04199eb --skill neon-ai-gateway -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-ai-gateway" .claude/skills/neon-ai-gateway

No extra tooling. Files land byte for byte as published in .claude/skills/neon-ai-gateway, 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-ai-gateway && find . -type f -print0 | LC_ALL=C sort -z | xargs -0 shasum -a 256 | shasum -a 256

Expected723e1dfdb54cf305e14097b5a1bcdadf328d8145c2f08fee6551e3a65335309f

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.

SKILL.md · 1

Runs commands4

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

0 in scripts · 4 in docs and other text files

Network access1

Calls that fetch from or send to a remote host.

0 in scripts · 1 in docs and other text files

Installs packages1

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

0 in scripts · 1 in docs and other text files

Reads env or credentials12

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

0 in scripts · 12 in docs and other text files

Privileged or destructiveNo match

sudo, recursive deletes, permission changes and similar commands.

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×16
  • models.dev×3
  • ai-sdk.dev×1
  • console.neon.tech×1
  • github.com×1
  • mastra.ai×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
723e1dfdb54cf305e14097b5a1bcdadf328d8145c2f08fee6551e3a65335309f
Git tree SHA
2441f0961546d83b3f3458f877db2147cc7f1c8e
PathKindSizeSHA-256
SKILL.mdSKILL.md24 KBaf782bf0c85fa3df…

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
866limit 1,024 characters
SKILL.md body
356 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.