Use Netlify AI Gateway to call OpenAI, Anthropic Claude, Google Gemini, TypeSafe (Jev), or OpenRouter-hosted models (xAI/DeepSeek/Meta/Mistral/Qwen) from Netlify Functions or Edge Functions without managing provider accounts or API keys.
安装
npx skills add netlify/context-and-tools --skill netlify-ai-gatewaynpx skills add netlify/context-and-tools --skill netlify-ai-gateway -a claude-code -gnpx skills add netlify/context-and-tools --skill netlify-ai-gateway -a codex -ggemini skills install https://github.com/netlify/context-and-tools.git --path skills/netlify-ai-gatewaygh skill install netlify/context-and-tools netlify-ai-gatewaygit clone --depth 1 https://github.com/netlify/context-and-tools /tmp/netlify__context-and-tools
mkdir -p ~/.claude/skills ~/.agents/skills
cp -R /tmp/netlify__context-and-tools/skills/netlify-ai-gateway ~/.claude/skills/netlify-ai-gateway # Claude Code
cp -R /tmp/netlify__context-and-tools/skills/netlify-ai-gateway ~/.agents/skills/netlify-ai-gateway # Codex, Cursor, Gemini CLI, Copilot, OpenCode