Find and fix code that still calls AI models or API endpoints their company is retiring (switched off already or due soon), using the company's own replacement. Use when asked to check for retired, deprecated or sunset models and APIs, or to move off one.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Yakbarber?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/23821-yakbarber)
---
name: yakbarber
description: Find and fix code that still calls AI models or API endpoints their company is retiring (switched off already or due soon), using the company's own replacement. Use when asked to check for retired, deprecated or sunset models and APIs, or to move off one.
---
# YakBarber: move off retiring models and APIs
1. From the project's root, run the free check (read-only: nothing from the code is sent anywhere):
```sh
npx --yes yakbarber@latest check
```
For each retirement it gives the date, the company's own words with a link, **Use instead** (the company's replacement), the price change, and every line in this code as `file:line`.
2. Fix these sections, in this order, and nothing else unless the user asks:
- **Broken now**: these calls fail today.
- **Due in the next 90 days**.
- **Offered in a menu or list**: replace or remove the retired option.
Use the replacement under **Use instead**. If it says "no direct replacement named", pick from the company's options in the report and tell the user which one and why. Open the company's linked page before changing settings: a newer model may not take the same parameters.
3. Change only the retired value and what has to move with it. Where the same value is stated in config, `.env.example`, docs or tests, update those too so they match. Never open or edit `.env` or other secret files: tell the user which setting to change there.
4. Leave **Only in docs and tests** and **Newer options** alone unless the user asks: they don't break anything.
5. A retirement the report calls "migrate by" is a date the company asks integrations to move by, not a switch-off: say so, and don't call it broken.
6. Run the project's own tests and linters. Then run the check again and confirm the lines you fixed are gone.
7. End with a short summary: what changed (`file:line`), the replacement and its price change from the report, and anything left for the user to decide.