Claude Agent SDK Template — AI skill for Claude Code
A starter template for building AI agents with the Anthropic Claude Agent SDK.
How to install Claude Agent SDK Template
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open DV0x/claude-agent-sdk-template and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Claude Agent SDK Template does
A starter template for building AI agents with the Anthropic Claude Agent SDK.
Alternatives in AI
- Anthropic SDK TypeScript — Access to Anthropic's safety-first language model APIs in TypeScript 2.1k ★
- Coding Agent Template — Multi-agent AI coding platform powered by Vercel Sandbox and AI Gateway 1.8k ★
- Second Brain Starter — Build your own AI Second Brain with Claude Code - a skill that generates a personalized PRD for a proactive, p 377 ★
README
Claude Agent SDK Template
A starter template for building AI agents with the [Anthropic Claude Agent SDK](https://docs.anthropic.com/en/docs/claude-code/sdk).
Features
- Express REST API server with TypeScript
- Session management with persistence
- Cost tracking and instrumentation
- Ready for MCP (Model Context Protocol) integration
- Hot reload development mode
- Comprehensive SDK documentation included
Project Structure
├── server/
│ ├── sdk-server.ts # Express REST API (main entry point)
│ └── lib/
│ ├── ai-client.ts # Claude SDK wrapper
│ ├── session-manager.ts # Session lifecycle & persistence
│ ├── instrumentor.ts # Cost/metrics tracking
│ └── orchestrator-prompt.ts # System prompt (customize this!)
├── agent/.claude/ # Claude SDK configuration
├── claude_sdk/ # SDK documentation & guides
│ ├── overview.md # SDK overview
│ ├── typescript_sdk.md # TypeScript SDK reference
│ ├── session_management.md # Session handling guide
│ ├── custom_tools.md # Creating custom tools
│ ├── mcp.md # MCP integration guide
│ ├── subagents.md # Working with subagents
│ ├── system_prompts.md # System prompt best practices
│ └── ... # More guides
├── .env.example # Environment variables template
├── package.json
└── tsconfig.json
Quick Start
1. Clone or Fork
git clone https://github.com/anthropics/claude-agent-sdk-template.git
cd claude-agent-sdk-template
2. Install Dependencies
npm install
3. Configure Environment
cp .env.example .env
Edit `.env` and add your API keys:
ANTHROPIC_API_KEY- Required. Get from Anthropic ConsoleFAL_KEY- Optional. For image/video generation via fal.ai
4. Run the Server
**Development mode** (with hot reload): ```bas
Related Skills
Claude Starter Kit
by serpro69 - This is a starter template repository designed to provide a complete development environment for
Kc LLM Wiki Starter
Production-ready starter template for LLM-maintained wikis. Karpathy's 2026-04 three-tier pattern (raw/wiki/sc
Scaffold Agent
Scaffold a new .NET AI agent with Progress Observability already wired up, from the dotnet-agent-starter templ
Next Agent Template
Production-ready Next.js 16 starter template engineered for collaboration with AI coding agents (Claude Code,
My Sveltekit Starter
Production-ready SvelteKit 2 & Svelte 5 starter template engineered for collaboration with AI coding agents (C
LLM Wiki Starter
Template and toolkit for LLM wikis (Karpathy's pattern): a kickoff interview that bakes in your topic, a zero-
Related Agents
LLM Expert
Use this agent for AI SDK integration, LLM provider configuration, prompt template management, error handling
Template Contract Reviewer
Use after any change under aai_cli/init/templates/ (the assembly init starter apps) to verify the scaffold sti
AI ML
AI/ML 통합 전문가 + LLM API 최신 모델/SDK 코딩 가이드. RAG 시스템, 문서 분석, OpenAI/Anthropic/Gemini/Ollama 최신 API 보장. "AI integra