Files
Jerilyn Zheng 7b0a6f61b2 [skills] Refresh the AI Gateway skill (#162)
* [skills] Refresh the AI Gateway skill

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

* [skills] Add AI Gateway CLI inventory, fixtures, and coding-agent validation

- Add a Vercel CLI inventory table to the ai-gateway skill covering
  api-keys, budgets, budget defaults, models, routing rules,
  coding-agents setup, and leaderboard
- Add a validate rule for the Claude Code footgun: ANTHROPIC_BASE_URL
  pointed at AI Gateway requires ANTHROPIC_API_KEY empty with the
  gateway key in ANTHROPIC_AUTH_TOKEN
- Add pattern fixtures for vercel ai-gateway commands and
  @ai-sdk/gateway installs
- Bump plugin version to 0.48.2

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

* [skills] Cover AI Gateway dashboard and API surfaces added since refresh

- Model discovery documents the live /v1/models fields (type,
  modalities, tags, pricing, zdr/no_training) and the per-endpoint
  response (has_zdr, has_no_training, full and regional pricing,
  live uptime/latency/throughput), with a tested jq filter example
- Add service tiers, fast mode, model filtering (has), safety
  identifiers, and virtual model configs to the routing reference
- Add Usage & Billing endpoints (GET /v1/credits, GET /v1/generation)
  and generation ID capture to the spend reference
- Correct the pricing claim: some models price below provider list
  for every team, and volume discounts exist
- Correct spend alert recipients (owners and Billing role for team
  and project budgets) and document spend attribution plus the
  AI Gateway Budget Manager permission
- Note project-scoped Logs and CSV/JSON export, per-agent setup
  pages for coding agents, and the rules REST endpoints

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

* [skills] Document reasoning across providers and API formats

- Add a reasoning section to the routing reference: discovery through
  the model's reasoning_options field, per-format parameters (AI SDK
  top-level reasoning, Chat Completions/Responses reasoning object,
  Anthropic thinking), cross-format effort and budget mapping, and
  per-provider usage reporting differences
- Call out the precedence footgun: providerOptions reasoning entries
  fully override the top-level reasoning option and are never merged
- Add the invariant to SKILL.md plus retrieval intent and prompt
  signal coverage

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

* [skills] Document tool calling across API formats

- Add a tools section to the routing reference: discovery through the
  tool-use tag and supported_parameters, cross-format translation of
  tool schemas to the serving provider, per-format entry points, and
  web search as a built-in tool
- Add retrieval intent and prompt signal coverage

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

* [skills] Document structured outputs and file attachments

- Structured outputs: json_schema response_format across formats,
  legacy json form, streaming accumulation, per-format pages
- File attachments: content-part arrays, image_url and file parts,
  discovery through modalities.input and vision/file-input tags
- Retrieval intents and prompt signals for both

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

* [skills] Link the AI Gateway rate limits page from the 429 row

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

* [skills] Link the AI Gateway FAQ page

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

* [skills] Drop transcript capture from the observability reference

Content capture is not public yet.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

* [skills] Address R-Taneja's review nits

- Single-quote the chainTo pattern scalar so spec-strict YAML parsers
  accept it
- Make the BYOK skip case-insensitive and let other keys precede
  gateway in providerOptions
- Use exact-match index() instead of array contains() in the jq
  example; verified it returns the same 76 models against the live
  catalog
- Separate CLI-configured agents from first-party-provider agents in
  the coding-agents reference so OpenCode and Pi no longer appear on
  both sides

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

* [hooks] Unpin the telemetry test's plugin version and rebuild

The test asserted the literal 0.48.1 while the built hook inlines the
version from package.json at build time, so any version bump fails CI
with a green local run (the local build goes stale silently). The test
now reads .plugin/plugin.json, and hooks/telemetry.mjs is rebuilt for
0.48.2.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-01 10:58:42 -07:00
..