Claude Agent SDK

Manage Claude Code AI agent sessions via TypeScript/JavaScript and Python SDKs.

18|2|Updated Dec 12, 2025
One-click install
npx skills add https://github.com/markus41/claude --skill claude-agent-sdk-markus41
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Claude Agent SDK
Source: https://github.com/markus41/claude/tree/main/plugins/claude-code-expert/skills/agent-sdk
Command: npx skills add https://github.com/markus41/claude --skill claude-agent-sdk-markus41

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a comprehensive Software Development Kit (SDK) for developers to programmatically interact with and control Claude Code sessions, enabling the creation of custom AI agents and automated workflows.

Core Features & Use Cases

  • Programmatic Control: Spawn and manage Claude Code sessions directly from TypeScript/JavaScript or Python applications.
  • Tool Integration: Utilize a wide array of built-in tools for code analysis, modification, and execution.
  • Custom Agent Creation: Define and deploy specialized agents tailored to specific domains or tasks.
  • Use Case: Integrate Claude Code's capabilities into your CI/CD pipeline for automated code reviews, or build a custom internal tool that leverages Claude Code to refactor large codebases based on predefined standards.

Quick Start

Use the claude function to ask Claude what files are in the current directory.

Frequently Asked Questions about Claude Agent SDK

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

FAQPage Schema
How do I control Claude Code sessions programmatically with TypeScript or Python?

You can control Claude Code sessions programmatically by using the Claude Agent SDK, which provides TypeScript/JavaScript and Python libraries to spawn, manage, and automate AI agent interactions directly within your custom scripts and applications.

Can I integrate AI agent code automation into my CI/CD pipeline?

Yes, you can integrate AI agent code automation into your CI/CD pipeline by leveraging the SDK to spawn Claude Code sessions for automated code reviews, enabling custom agents to refactor large codebases based on predefined standards.

Does the Claude Agent SDK support building custom agents for specialized tasks?

The Claude Agent SDK supports building custom agents by allowing developers to define and deploy specialized agents tailored to specific domains, utilizing a wide array of built-in tools for code analysis, modification, and execution.

What advanced features are available for managing AI agent workflows?

Advanced features for managing AI agent workflows include agent teams for collaborative tasks, worktree isolation for safe code modifications, and remote session management to maintain robust AI-powered development workflows across different environments.

Do I need any specific dependencies installed to use the Claude Agent SDK?

The Claude Agent SDK has no external dependencies listed, allowing developers to directly implement programmatic control of Claude Code sessions via TypeScript/JavaScript and Python without requiring additional prerequisite packages.