Skills Artificial Intelligence Anthropic Core Messages API Workflow

Anthropic Core Messages API Workflow

v20260423
clade-core-workflow-a
This skill provides the comprehensive workflow for interacting with the Anthropic Messages API. It covers advanced features including streaming responses, multimodal vision input, generating structured JSON output using system prompts, and managing multi-turn conversations. It redirects users to the current, primary guide for all Claude API patterns.
Get Skill
158 downloads
Overview

Anthropic Core Workflow A → Model Inference

Overview

This skill redirects to clade-model-inference which covers streaming, vision, structured output, and all Messages API patterns.

Prerequisites

  • Completed clade-install-auth setup
  • ANTHROPIC_API_KEY configured

Instructions

Step 1: Use claude-model-inference instead

This skill has been replaced. The primary Anthropic workflow is the Messages API, covered in full by clade-model-inference.

Step 2: Key topics covered there

  • Streaming responses with client.messages.stream()
  • Vision — sending images to Claude
  • Structured JSON output via system prompts
  • Multi-turn conversations
  • All Messages API parameters

Output

  • Redirected to clade-model-inference
  • All Messages API patterns available there

Error Handling

IssueSolution
Skill not foundRun clade-model-inference directly

Examples

// Use claude-model-inference for the full Messages API guide
import Anthropic from '@claude-ai/sdk';
const client = new Anthropic();
const stream = client.messages.stream({
  model: 'claude-sonnet-4-20250514',
  max_tokens: 1024,
  messages: [{ role: 'user', content: 'Hello!' }],
});

Resources

Next Steps

Run clade-model-inference for the complete guide.

Info
Name clade-core-workflow-a
Version v20260423
Size 1.93KB
Updated At 2026-04-27
Language