anthropic-laravel
Use when writing Laravel code that calls the Anthropic Claude API through `mozex/anthropic-laravel` or the underlying `mozex/anthropic-php` SDK, including the Claude-only work laravel/ai doesn't cover (Message Batches, token counting, the Files and Skills APIs, rate-limit headers, refusal fallback, Managed Agents, the Admin and usage reports) and named connections or per-tenant keys. Trigger on any mention of the `Anthropic` facade, `anthropic-laravel`, `Anthropic::messages()`, `Anthropic::batches()`, `Anthropic::models()`, `Anthropic::files()`, `Anthropic::request()`, `Anthropic::fake()`, `CreateResponse`, `FileResponse`, `ErrorException`, or any Claude/Anthropic API work in a Laravel project (controllers, queued jobs, Livewire components). Also trigger on requests to wire Claude into a Laravel app for chat, streaming responses, function calling (tool use), computer and browser toolsets, extended thinking, web search, code execution, the MCP connector, document citations, bulk processing with batches, uploading and referencing files by `file_id`, calling an API endpoint the package doesn't wrap yet, token counting before sending, or testing code that calls the API.