claude-api

Document Claude API usage with code examples across multiple programming languages.

Updated Mar 14, 2026
One-click install
npx skills add https://github.com/marcusfelix/barney --skill claude-api-marcusfelix
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: claude-api
Source: https://github.com/marcusfelix/barney/tree/main/src/prompts/skills/claude-api
Command: npx skills add https://github.com/marcusfelix/barney --skill claude-api-marcusfelix

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) and scripts (resource) components.

What problem does it solve?

This skill provides comprehensive guidance and examples for leveraging the Claude API and its official SDKs across various programming languages to build powerful LLM-powered applications.

Core Features & Use Cases

  • Multi-language Support: Examples and documentation for Python, TypeScript, Java, Go, Ruby, C#, PHP, and cURL.
  • API Features: Covers basic message requests, streaming, tool use (including beta tool runners), vision capabilities, prompt caching, extended thinking, and batch processing.
  • Agent SDK: Guidance on building agents with built-in tools, permissions, and MCP integration.
  • Use Case: Integrate Claude's advanced LLM capabilities into your applications, from simple text generation to complex agentic workflows and data analysis.

Quick Start

Use the claude-api skill to get a basic message response using the Python SDK.

Frequently Asked Questions about claude-api

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I integrate the Claude API using Python or TypeScript SDKs?

You integrate the Claude API by installing the official Python or TypeScript SDK and executing basic message requests. The skill provides documentation and code examples to facilitate sending prompts and receiving text generation responses in your applications.

Can I use the Claude API for streaming responses and batch processing?

Yes, the Claude API supports streaming responses and batch processing. The skill provides specific code examples demonstrating how to implement these features for handling large-scale data analysis and continuous text generation workflows.

Does the Claude API support tool use, vision capabilities, and prompt caching?

Yes, the Claude API supports tool use including beta tool runners, vision capabilities, and prompt caching. The skill provides comprehensive documentation to help developers implement these advanced LLM functionalities within their applications.

What programming languages are supported by the official Claude SDKs?

The official Claude SDKs support Python, TypeScript, Java, Go, Ruby, C#, PHP, and cURL. The skill provides multi-language documentation and examples to ensure developers can integrate Claude across various programming environments.

How do I build agents with the Claude API and MCP integration?

You build agents using the Claude API Agent SDK, which supports built-in tools, permissions, and MCP integration. The skill provides guidance on constructing complex agentic workflows for advanced application development.

What is the best way to handle extended thinking with the Claude API?

The best way to handle extended thinking is by utilizing the specific Claude API parameters designed for it. The skill provides documentation and examples to implement extended thinking alongside standard message requests and tool use.