What changed

Anthropic released the ant command-line client for Claude API resources, with typed flags, YAML or JSON inputs, automatic pagination, response transforms and version-controllable resource definitions including beta agents and sessions.

Why it matters

API resources can move into reviewable files and CI workflows, improving repeatability. The same convenience can also expose local files or mutate remote resources if scripts, paths and credentials are not reviewed.

What to do

Pin a CLI release, define one disposable API resource in YAML, run with debug output to inspect the redacted request, review every @path file expansion and diff, then delete the remote resource and rotate the test credential.

Caveat

The CLI is an execution surface, not a safety layer. File references inline local content into requests, beta resources can change, cloud-platform behavior differs and a compromised script or credential can still modify remote state.