Use when editing worker/src/constants/default-model-prices.json, packages/shared/src/server/llm/types.ts, pricing tiers, tokenizer IDs, or matchPattern regexes for OpenAI, Anthropic, Bedrock, Vertex, Azure, or Gemini model pricing.
Use this skill for model pricing changes in worker/ and shared LLM type
updates in packages/shared/.
worker/src/constants/default-model-prices.jsonpackages/shared/src/server/llm/types.ts| Topic | Read this when |
|---|
| File |
|---|
| Schema and tier rules | You need the entry shape or pricing-tier invariants | references/schema-and-tiers.md |
| Provider sources and price keys | You need official pricing URLs, per-token conversion, or provider-specific usage keys | references/provider-sources-and-price-keys.md |
| Match patterns | You are editing matchPattern regexes or provider coverage | references/match-patterns.md |
| Workflow and validation | You are applying the end-to-end edit process or checking common mistakes | references/workflow-and-validation.md |
node .agents/skills/add-model-price/scripts/validate-pricing-file.mjsnode .agents/skills/add-model-price/scripts/test-match-pattern.mjs --model <modelName> --accept <sample...> --reject <sample...>