Claude Agent SDK Skill
Production-ready guides for building AI agents with Claude Agent SDK in Python and TypeScript - complete coverage of official docs plus advanced patterns (subagents, hooks, batch processing)
Ask AI about Claude Agent SDK Skill
Powered by Claude Β· Grounded in docs
I know everything about Claude Agent SDK Skill. Ask me about installation, configuration, usage, or troubleshooting.
0/500
Reviews
Documentation
Claude Agent SDK Skills
Expert guidance for building production AI agents with the Claude Agent SDK β split into Python and TypeScript skills so you only load what you need.
Skills Included
| Skill | Language | Covers |
|---|---|---|
claude-agent-sdk-python | Python | query(), ClaudeSDKClient, ClaudeAgentOptions, @tool, subagents, hooks, MCP, sessions |
claude-agent-sdk-typescript | TypeScript | query(), ClaudeSDKClient, allowedTools, createSdkMcpServer, subagents, hooks, MCP, sessions |
Installation
Option 1 β npx skills add (works with Claude Code, Cursor, OpenCode, Kiro)
# Install both skills
npx skills add waltersumbon/claude-agent-sdk-skill
# Install only the Python skill
npx skills add waltersumbon/claude-agent-sdk-skill --skill claude-agent-sdk-python
# Install only the TypeScript skill
npx skills add waltersumbon/claude-agent-sdk-skill --skill claude-agent-sdk-typescript
Option 2 β Claude Code Plugin Marketplace
# Install both
/plugin marketplace add waltersumbon/claude-agent-sdk-skill
# List available skills
/plugin marketplace add waltersumbon/claude-agent-sdk-skill --list
Option 3 β Manual (any Claude tool)
Copy the desired skill folder into your skills directory:
# Python skill β project-level
cp -r skills/claude-agent-sdk-python .claude/skills/
# TypeScript skill β user-level (available in all projects)
cp -r skills/claude-agent-sdk-typescript ~/.claude/skills/
Option 4 β Upload to claude.ai
Download the individual skill ZIP from the Releases page and upload it via Settings β Skills in claude.ai.
Repository Structure
claude-agent-sdk-skill/
βββ .claude-plugin/
β βββ marketplace.json # Registers both skills for marketplace
βββ skills/
β βββ claude-agent-sdk-python/ # Python SDK skill
β β βββ SKILL.md
β β βββ references/
β β βββ troubleshooting.md
β βββ claude-agent-sdk-typescript/ # TypeScript SDK skill
β βββ SKILL.md
β βββ references/
β βββ troubleshooting.md
βββ LICENSE
βββ README.md
What's Covered
Each skill provides complete, production-ready guidance for its language:
- Two interaction modes:
query()(stateless) vsClaudeSDKClient(stateful) - Full options reference: Every
ClaudeAgentOptionsfield with types and descriptions - Custom tools: SDK MCP server (
@tool/createSdkMcpServer) for in-process tools - Subagents:
AgentDefinitionwith factory patterns - Hooks:
PreToolUse/PostToolUselifecycle callbacks for safety and auditing - MCP integration: External stdio servers + mixing with SDK servers
- Skills in SDK:
setting_sources/settingSourcesconfiguration - Sessions: Capturing and resuming
session_id - Authentication: API key, Bedrock, Vertex AI, Azure
- Common patterns: Batch processing, structured output, error handling
- Migration guide: v0.0.x β v0.1.0 breaking changes
- Troubleshooting: Top pitfalls with WRONG/CORRECT code pairs
