Skip to content

[skills] Refresh the AI Gateway skill - #162

Open
jerilynzheng wants to merge 1 commit into
mainfrom
jerilyn/update-ai-gateway-skill
Open

[skills] Refresh the AI Gateway skill#162
jerilynzheng wants to merge 1 commit into
mainfrom
jerilyn/update-ai-gateway-skill

Conversation

@jerilynzheng

Copy link
Copy Markdown

Summary

  • Rewrites skills/ai-gateway around current sources: live model discovery, API key and OIDC authentication, compatible clients, routing, budgets, reporting, Logs, and coding-agent setup.
  • Removes stale and unsupported claims: static model defaults, AI SDK v6-era imports, 24h OIDC lifetime, whole-response cacheControl, per-user rate-limit settings, Slack alert channels, and a non-existent logs API.
  • Moves details into focused references for setup, routing, spend/observability, and coding agents, following the same reference split as the OpenRouter skill pattern.
  • Refreshes injection metadata: prompt signals, current docs URLs, narrower model-slug validation, provider-key BYOK handling, and chaining to the ai-sdk skill for SDK implementation.

Validation

  • bun run validate passes.
  • bun run typecheck and bun test pass: 974 tests, 0 failures.
  • All build checks pass: build:skills, build:manifest, and build:from-skills are up to date.
  • Every referenced model slug was checked against https://ai-gateway.vercel.sh/v1/models; both model-list URLs return 200.
  • Coding-agent support and flags were checked against the installed Vercel CLI 59.7.0 rather than the stale skill body.

Notes

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant