clade-model-inference
Installation
SKILL.md
Anthropic Messages API — Streaming & Advanced Patterns
Overview
The Messages API is the only inference endpoint. Every Claude interaction goes through client.messages.create(). This skill covers streaming, system prompts, vision, and structured output.
Prerequisites
- Completed
clade-install-auth - Familiarity with
clade-hello-world
Instructions
Step 1: Streaming Responses
import Anthropic from '@claude-ai/sdk';
const client = new Anthropic();