Claude Discovery

← All discoveries

Team of developers working together on computers in a modern tech office.
Photo by cottonbro studio on Pexels
skill

claude-api Skill Adds a Non-Interactive Prompt-Audit Subcommand

2026-08-18 ยท source:

Anthropic's claude-api Claude Agent Skill gained a prompt-audit subcommand that scans a prompt's instructions against dated-pattern tables and outputs a findings report with a proposed diff.

What it is

A new non-interactive subcommand added to Anthropic's claude-api skill, the reference skill Claude Code uses for Anthropic API guidance.

What it does

It inventories a prompt's instruction surface, dates each instruction, checks them against known dated-pattern tables for stale or outdated guidance, and produces a findings report plus a proposed diff, all without requiring interactive back-and-forth. The skill's model-migration guidance now points to this audit from its prompt-behavior section.

Why it matters

Prompts accumulate stale instructions the same way codebases accumulate dead code, and this gives teams a repeatable way to check for drift instead of manually re-reading every system prompt after each model migration.

How to use it

Invoke the claude-api skill's prompt-audit subcommand against a target prompt to get a dated inventory and a suggested diff for stale instructions.

Go to source →
claude-agent-skillsprompt-engineeringclaude-api