Neon AI Gateway
原名:neon-ai-gateway
为 AI 应用配置 Neon AI Gateway 的模型访问和可观测能力。
中文 Skills 技能说明
适合需要集中管理模型调用的应用;先核对模型提供方、区域、费用、日志和敏感提示词边界,密钥必须由用户自行配置。能力涉及 Neon 托管服务时,必须使用用户自己的合法账户,并确认中国大陆网络可用性、区域、费用、数据存储与跨境要求。执行前应读取项目现状和官方文档,输出目标、依据、影响、验证结果与回退方式;没有真实证据时要明确说明未知,不编造配置或成功状态。 创建、修改、部署、发布、迁移、删除或产生费用的操作,必须先展示具体目标和差异并获得人工确认。 代码、日志、连接串、令牌、客户信息和业务数据按敏感内容处理,只读取任务所需范围,上传或外发前完成授权、脱敏和最小化。
上游能力依据
上游原始适用说明:One API and one credential for frontier and open-source LLMs, built into your Neon branch and powered by Databricks. Use when a user wants to call an LLM, 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", and "log/rate-limit AI calls".
上游 SKILL.md 主要章节(保留原文标题):
- When to Use
- What It Does
- Availability
- Enabling the gateway: plan and model-catalog gating
- Setup
- Neon Infrastructure as Code (neon.ts)
- Environment Variables
- Build Agents with the Vercel AI SDK (Recommended)
- Build Agents with Mastra (Recommended)
- Use with Plain SDKs (Lower-Level)
使用边界
先读取项目约定、依赖版本和现有测试,再提出最小改动。写文件、运行脚本、提交代码或发布前应检查差异并保留回退路径。
作者、翻译与许可证
- 原作者
- Neon, Inc. 与 neondatabase/agent-skills contributors
- 中文翻译
- CEOFans翻译
- 许可证
- Apache-2.0
- 上游来源
- https://github.com/neondatabase/agent-skills/tree/8370e740b4705a79d104b24dd29b3e33c8688378/skills/neon-ai-gateway
适用范围
平台:linux、macos、windows;标签:AI 工程、Neon AI Gateway
安全提示
基础静态扫描不等于绝对安全。技能可能调用命令、浏览器、云服务或本地文件,请在最小权限环境中使用,高风险操作必须人工确认。
如发现侵权、许可证或安全问题,可在本页前台提交投诉,管理员复核后可立即下架。