{"version":"2.1.310","anchor":"new-gate-constants-tengu-cosmic-sketch-and-tengu-quiet-medla","canonical_anchor":"claude-api-now-scans-the-project-for-retiring-claude-models","heading":"\/claude-api can scan your project for retiring Claude models, behind flags","tier":"soon","area":"Internals","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.310\/e\/new-gate-constants-tengu-cosmic-sketch-and-tengu-quiet-medla","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.310","markdown":"### \/claude-api can scan your project for retiring Claude models, behind flags\n\n\/claude-api can search the project for deprecated or retired Claude model IDs, behind the tengu_cosmic_sketch flag, with a prompt section only for one test group\n\n**Unclear.** It is not clear what any of the three switches controls.\n\n**What**\n\n`\/claude-api` is a built-in skill, a packaged set of instructions, that helps with code using the Claude API. It can now search your project for Claude model IDs that are deprecated or retired:\n\n- Sonnet 4.5, Opus 4 and 4.1, Sonnet 4\n\n- Haiku 3, Haiku 3.5\n\n- Sonnet 3.5 and 3.7, Opus 3, Sonnet 3\n\n- Claude 2\n\nTwo flags control this. A flag is a switch Anthropic's server can turn on remotely.\n\n- The scan runs only when `tengu_cosmic_sketch` is on, and it falls back to false.\n\n- `tengu_typed_trinket` puts you in a test group: \"control\", \"treatment\" or \"not_enrolled\".\n\n- Only the \"treatment\" group gets a new section, \"## Deprecated or Retired Models in This Project\", added to the skill's instructions. The other groups only have the result recorded.\n\n- The section tells Claude to mention the retiring model once. When you are not already running `\/claude-api migrate`, it also tells Claude to mention that subcommand.\n\n- The scan stops after 1000 ms by default, and its results are saved per project.\n\nA third new flag, `tengu_quiet_medlar`, also appears, along with a helper that treats `policySettings`, `userSettings` and `flagSettings` differently. What these control was not traced.\n\nFor `tengu_cosmic_sketch`, the flag server returned off for this site's account and off for an anonymous baseline. No reading has been taken under this release yet. Nothing has been read about `tengu_typed_trinket` or `tengu_quiet_medlar`, so their state is unread, which is not the same as off.\n\n**Why**\n\nFor most people this does nothing yet. If you are in the treatment group, Claude may point out old model IDs in your project and suggest `\/claude-api migrate`.\n\n- Flag `tengu_cosmic_sketch`: Off by default, switched on for this account (read for one account on one subscription tier against v2.1.310; this account: on, anonymous baseline: on, compiled default: off) These values were read against a different version of Claude Code, so treat them as the nearest reading available instead of one taken on this release.\n- Flag `tengu_typed_trinket`: Not enough to say (read for one account on one subscription tier against v2.1.310; this account: no value returned, anonymous baseline: no value returned, compiled default: not a boolean we can read) These values were read against a different version of Claude Code, so treat them as the nearest reading available instead of one taken on this release.\n- Area: Internals\n- Tier: Nothing to try yet\n- Useful: 5\/5\n- Signal: 4\/5\n- Scope: individual\n- Heads-up: no\n- Present in the build but not switched on"}