Agent skill · Backend & API

claude-agent-sdk

Build custom AI agents using Anthropic Claude API and agent SDK patterns. Create tool-using agents, multi-turn conversations, agent loops, streaming responses, and production-ready agent architectures. Use when building Claude-powered applications, implementing agentic AI features, or developing autonomous task completion systems.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill claude-agent-sdk-housegarofalo-claude-code-base-2 --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 14 KB
Bundled scripts: none
Version: 1.0.0
Path: skills/agent/claude-agent-sdk-housegarofalo-claude-code-base-2/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Claude Agent SDK: Building AI Agents with Claude Build production-ready AI agents using Claude API patterns for tool use, multi-turn conversations, and autonomous task completion. ## Triggers Use this skill when: - Building Claude-powered AI applications - Implementing tool-using agents - Creating multi-turn conversation systems - Developing autonomous task completion - Building agentic features with Claude - Keywords: claude api, anthropic, agent sdk, tool use, function calling, claude agent, ai agent, autonomous ## Core Concepts ### Claude API Fundamentals ```python import anthropic client = anthropic.Anthropic(api_key="your-api-key") # Basic message response = client.messages.create( model="claude-opus-4-5-20251101", max_tokens=4096, messages=[ {"role": "user", "content": "Hello, Claude!"} ] ) ``` ### Model Selection | Model | Use Case | Context | Speed | |-------|----------|---------|-------| | claude-opus-4-5-20251101 | Complex reasoning, coding | 200K | Slower | | claude-sonnet-4-20250514 | Balanced performance | 200K | Medium | | claude-haiku-3-5-20241022 | Fast responses, simple tasks | 200K | Fast | --- ## Pattern 1: Tool-Using Agent ### Define Tools ```python tools = [

What's inside
Steps it walks through
  1. Triggers
  2. Core Concepts
  3. Claude API Fundamentals
  4. Model Selection
  5. Pattern 1: Tool-Using Agent
  6. Define Tools
  7. Agent Loop
  8. Tool Execution
  9. Pattern 2: Streaming Agent
  10. Stream Responses
  11. Event Types
  12. Pattern 3: Multi-Turn Conversation
  13. Conversation Manager
  14. With Memory Summarization
Ships with 1 file
  • metadata.json
More from claude-skill-registry
All skills →
About this skill
What does the claude-agent-sdk skill do?

Build custom AI agents using Anthropic Claude API and agent SDK patterns. Create tool-using agents, multi-turn conversations, agent loops, streaming responses, and production-ready agent architectures. Use when building Claude-powered applications, implementing agentic AI features, or developing autonomous task completion systems.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill claude-agent-sdk-housegarofalo-claude-code-base-2 --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going