Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.221 ·

claude-api skill gains a prompt-audit subcommand

You can run /claude-api prompt-audit to scan prompts and tool descriptions for outdated patterns and get a diff.

Use it now Notable No documentation found New Features
JSON All of v2.1.221
Use it nowTier: how much it should matter to you
4Useful: my rating, 1 to 5
0Signal: worth watching, 1 to 5
SkillsArea: what it touches
New FeaturesKind: in v2.1.221,
What probably matters to youSection of the release
What

The bundled Claude API skill can now audit existing prompts, skills, and tool descriptions for dated patterns written for older models, driven by a new shared/prompt-audit.md guide registered in the skill's file map.

Details
  • prompt-audit is added as a second top-level subcommand row alongside migrate, and is a recognized subcommand so /claude-api prompt-audit routes straight to a seven-step procedure covering pressure language, prefill and stop-sequence scaffolds, over-specification, and fossils.
  • It is specified as non-interactive: Step 0 establishes scope and target model from the request and the repository and states assumptions rather than asking.
  • Output is both an audit report (findings with file:line, pattern, why it's obsolete, confidence) and a proposed diff, emitted without pausing for confirmation; edits are applied only if explicitly asked.
  • The skill-assembly function special-cases the subcommand: when no project language is detected it appends the "ask the user which language" instruction only if the subcommand is not prompt-audit. The prompt text carries matching carve-outs, so the "Before You Start" non-Anthropic-provider stop is skipped (markers go into the report's stated assumptions instead) and the Language Detection section says to skip its ask steps because the inventory is language-agnostic.
  • The migration guide and the reference-documentation index both route "audit / clean up prompts, skills, or tool descriptions for outdated patterns" to the new file.
Usage
/claude-api prompt-audit
Evidence

Audit existing prompts, skills, and tool descriptions for dated patterns ("cruft") written for older models., No project language was auto-detected. Ask the user which language they are using, then refer to the matching docs below., Audit / clean up prompts, skills, or tool descriptions for outdated patterns ("cruft"):, shared/prompt-audit.md

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

Read from
Names in the bundle/claude-api prompt-audit
How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's release notes agreeAdded a prompt-audit subcommand to the claude-api skill for auditing prompts and tool descriptions for patterns written for older models

See this entry in the whole of v2.1.221 →

Feedback