agentleFS
mkusakamkusaka/ccskills/skills/claude-api-deprecated-or-retired-models-notice/SKILL.md

claude-api-deprecated-or-retired-models-notice

Skill9 starsChanged 6 days agoMITView on GitHub

Section appended to the Claude API skill listing deprecated or retired Claude models found in the project with their status, dates and current replacements, and telling Claude to mention it once briefly without changing existing model IDs unprompted

The file

Files
SKILL.md

Deprecated or Retired Models in This Project

Files in this project name these Claude API models, which are deprecated or retired:

${RETIRING_MODELS.filter((RETIRING_MODEL_ENTRY)=>DETECTED_MODEL_FAMILIES.includes(RETIRING_MODEL_ENTRY.family)).map((RETIRING_MODEL_ENTRY)=>{let FORMATTED_RETIREMENT_DATE=RETIREMENT_DATE_FORMATTER.format(new DATE_CLASS(${RETIRING_MODEL_ENTRY.date}T00:00:00Z));return- ${RETIRING_MODEL_ENTRY.name} (${RETIRING_MODEL_ENTRY.ids.map((MODEL_ID)=>``${MODEL_ID}``).join(", ")}): ${RETIRING_MODEL_ENTRY.status==="deprecated"&&TODAY_ISO_DATE<=RETIRING_MODEL_ENTRY.date?deprecated; it retires on ${FORMATTED_RETIREMENT_DATE}:retired on ${FORMATTED_RETIREMENT_DATE}, so Claude API requests to it fail}. Current ${CURRENT_MODEL_FAMILY_LABELS[RETIRING_MODEL_ENTRY.current]} model: ${SKILL_MODEL_VARS[RETIRING_MODEL_ENTRY.current]}.}).join( )}

The first time you read, write, or run code that calls one of these models, tell the user once, briefly, in one short note that covers all of them: each model's status and date${SHOULD_SUGGEST_MIGRATE_COMMAND?", the current model, and that /claude-api migrate can make the switch":" and the current model"}. Mentions only in docs, changelogs, tests, or third-party code are not worth raising. Leave model IDs already in the user's code as they are unless the user asks you to change them or to fix errors they cause; new code you write uses current models. These dates are the Claude API's; Amazon Bedrock and Vertex AI set their own schedules.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.