> Fetch clean Markdown by appending `.md` to any page URL under https://signalwire.com/docs or requesting it with the HTTP header `Accept: text/markdown`. The root index at https://signalwire.com/docs/llms.txt lists the available documentation indexes. # AskClaudeSkill > Send prompts to Anthropic's Claude AI for complex reasoning, analysis, or sub-tasks. [add-skill]: /docs/server-sdks/reference/typescript/agents/agent-base/add-skill Send prompts to Anthropic's Claude AI for complex reasoning, analysis, or sub-tasks that benefit from a dedicated AI query. **Class:** `AskClaudeSkill` **Tools:** `ask_claude` **Env vars:** `ANTHROPIC_API_KEY` **`api_key`** `string` — required Anthropic API key. The handler reads the `ANTHROPIC_API_KEY` environment variable at request time; a config value is not used as a fallback. --- **`model`** `string` — default: claude-sonnet-4-5-20250929 The Claude model to use. --- **`max_tokens`** `number` — default: 1024 Maximum tokens in the response. --- ```typescript {6-9} import { AgentBase, AskClaudeSkill } from '@signalwire/sdk'; const agent = new AgentBase({ name: 'assistant', route: '/assistant' }); agent.setPromptText('You are a helpful assistant.'); await agent.addSkill(new AskClaudeSkill({ model: 'claude-sonnet-4-5-20250929', max_tokens: 2048, })); agent.run(); ``` > Send prompts to Anthropic's Claude AI for complex reasoning, analysis, or sub-tasks.