Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion .agents/skills/refresh-model-catalog/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,15 @@ Never add efforts to the generated file by hand. Manual effort policy for reason

### 3. Update display pricing (manual review)

Fetch <https://commandcode.ai/docs/resources/pricing-limits> and compare against `src/pricing.ts`:
Run the read-only checker before touching prices:

```sh
npm run check:commandcode-pricing
```

It compares the live Provider API catalog and the official pricing page against `MODEL_COSTS` and writes nothing. Investigate every reported drift and promotion by hand; never update `MODEL_COSTS` or `PRICING_LAST_VERIFIED` just to make the checker pass.

Then fetch <https://commandcode.ai/docs/resources/pricing-limits> and compare against `src/pricing.ts`:

- Add entries for new models and remove entries for retired models. Missing models silently display zero cost, so `MODEL_COSTS` must cover the full catalog.
- The pricing page's "Cache Read"/"Cache Write" columns map to `cacheRead`/`cacheWrite`; a "—" column means `0`.
Expand Down
Loading
Loading