
anthropics / claude-agent-sdk-demos
✓ Official★ 2,600A skill package that teaches your agent 6 capabilities — every one documented and browsable below, no GitHub required · by anthropic.
Each skill below is one capability this package teaches your agent. Install the whole package, or open a skill to install just that one.
Creates user-specific one-click action templates that execute email operations when clicked in the chat interface. Use when user wants reusable actions for…
5 files — installable on its own
Comprehensive document creation, editing, and analysis with support for tracked changes, comments, formatting preservation, and text extraction. When Claude…
2 files — installable on its own
Transforms research findings into executive-ready briefings. Automatically activated when user mentions 'executive', 'briefing', 'C-suite', 'board',…
1 file — installable on its own
Creates event-driven email listeners that monitor for specific conditions (like urgent emails from boss, newsletters to archive, package tracking) and execute…
6 files — installable on its own
Comprehensive PDF manipulation toolkit for extracting text and tables, creating new PDFs, merging/splitting documents, and handling forms. When Claude needs to…
13 files — installable on its own
Comprehensive spreadsheet creation, editing, and analysis with support for formulas, formatting, data analysis, and visualization. When Claude needs to work…
3 files — installable on its own
Claude Agent SDK Demos
⚠️ IMPORTANT: These are demo applications by Anthropic. They are intended for local development only and should NOT be deployed to production or used at scale.
This repository contains multiple demonstrations of the Claude Agent SDK, showcasing different ways to build AI-powered applications with Claude.
Available Demos
📧 Email Agent
An in-development IMAP email assistant that can:
- Display your inbox
- Perform agentic search to find emails
- Provide AI-powered email assistance
📊 Excel Demo
Demonstrations of working with spreadsheets and Excel files using Claude.
👋 Hello World
A simple getting-started example to help you understand the basics of the Claude Agent SDK.
🔄 Hello World V2
Examples for the V2 Session API (unstable_v2_*): separate send()/stream() instead of a single query() generator, with multi-turn conversation and session persistence patterns.
🔬 Research Agent
A multi-agent research system that coordinates specialized subagents to research topics and generate comprehensive reports:
- Breaks research requests into subtopics
- Spawns parallel researcher agents to search the web
- Synthesizes findings into detailed reports
- Demonstrates detailed subagent activity tracking
🎨 AskUserQuestion Previews
A branding assistant that renders AskUserQuestion options as visual HTML preview cards instead of plain text labels:
- Opts in to
previewFormat: "html"so each option includes a styled HTML mockup - Round-trips questions from the SDK's
canUseToolcallback to a browser over WebSocket - Demonstrates plan mode steering Claude toward clarifying questions before acting
💬 Simple Chat App
A React + Express chat UI backed by the SDK, showing a full conversation loop over WebSocket with streaming responses.
📄 Resume Generator
Generates a one-page .docx resume by web-searching a person's name (LinkedIn, GitHub, news) and assembling the findings.
Quick Start
Each demo has its own directory with dedicated setup instructions. Navigate to the specific demo folder and follow its README for setup and usage details.
Prerequisites
- Bun runtime (or Node.js 18+)
- An Anthropic API key (get one here)
Getting Started
- Clone the repository
git clone https://github.com/anthropics/claude-agent-sdk-demos.git
cd claude-agent-sdk-demos- Choose a demo and navigate to its directory
cd email-agent # or excel-demo, or hello-world- Follow the demo-specific README for setup and usage instructions
Resources
Support
These are demo applications provided as-is. For issues related to:
- Claude Agent SDK: SDK Documentation
- Demo Issues: GitHub Issues
- API Questions: Anthropic Support
License
MIT - This is sample code for demonstration purposes.
Install the whole package (6 skills):
npx skills add https://github.com/anthropics/claude-agent-sdk-demosOr install a single skill:
npx skills add https://github.com/anthropics/claude-agent-sdk-demos --skill <name>Pick the skill name from the Skills tab — each entry there installs independently.