claude-agent-sdk

Installation
SKILL.md

<essential_principles>

Claude Agent SDK Overview

The Claude Agent SDK gives agents the same tools that power Claude Code: file operations, bash commands, web search, and more. Build autonomous agents that read files, run commands, search the web, edit code, and verify their work.

Two Ways to Query

Function Session Best For
query() New each time One-off tasks, automation
ClaudeSDKClient Continuous Conversations, follow-ups, hooks

Key Difference: query() is simpler but doesn't support hooks, interrupts, or custom tools. Use ClaudeSDKClient for advanced features.

Agent Loop Pattern

Related skills

More from tdimino/claude-code-minoan

Installs
28
GitHub Stars
29
First Seen
Feb 21, 2026