.agent/skills/anthropic-claude-integration/SKILL.md
Integrate Anthropic's Claude API including Messages API, vision/multimodal inputs, tool use, and streaming. Use when building or debugging cowork-mcp or any Claude-powered component.
npx skillsauth add abzhaw/juliaz_agents anthropic-claude-integrationInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
import Anthropic from '@anthropic-ai/sdk';
const client = new Anthropic({ apiKey: process.env.ANTHROPIC_API_KEY });
const response = await client.messages.create({
model: 'claude-opus-4-5',
max_tokens: 4096,
system: 'You are Julia, a helpful agent.',
messages: [{ role: 'user', content: 'What is 2+2?' }]
});
const text = response.content.filter(b => b.type === 'text').map(b => b.text).join('');
messages: [{
role: 'user',
content: [
{ type: 'image', source: { type: 'base64', media_type: 'image/png', data: base64str } },
{ type: 'text', text: 'What is in this screenshot?' }
]
}]
const tools = [{
name: 'get_weather',
description: 'Get weather for a city',
input_schema: { type: 'object', properties: { city: { type: 'string' } }, required: ['city'] }
}];
const response = await client.messages.create({ model, max_tokens, messages, tools });
// Check response.stop_reason === 'tool_use'
const toolUse = response.content.find(b => b.type === 'tool_use');
const stream = client.messages.stream({ model, max_tokens, messages });
for await (const event of stream) {
if (event.type === 'content_block_delta' && event.delta.type === 'text_delta') {
process.stdout.write(event.delta.text);
}
}
401 → Invalid API key429 → Rate limit — exponential backoff529 → Overloaded — retry after delaye.status and e.messageclaude-opus-4-5 (default, override via env CLAUDE_MODEL)/mcp requestdevelopment
Fortschrittsverfolgung der Masterarbeit. Wortanzahl pro Kapitel, Fertigstellungsgrad, fehlende Elemente, Deadlines. Haelt den Ueberblick.
development
Kapitelarchitektur und Gliederung der Masterarbeit. Verwaltet die Struktur, schlaegt vor wo Inhalte hingehoeren, validiert den logischen Fluss zwischen Kapiteln.
tools
Konvertiert Protokolleinträge und Session-Logs in thesis-fähiges deutsches Narrativ. Transformiert Entwicklungsdokumentation in akademische Prosa.
research
Sucht und analysiert akademische Literatur. Findet relevante Papers, erstellt strukturierte Zusammenfassungen. Zitiert NIEMALS — schlaegt nur vor.