agent-sdk
Skill28 starsChanged 8 months agoMITView on GitHub
Provides local documentation for the Claude Agent SDK (formerly Claude Code SDK). Use this skill to answer questions about building AI agents with the Agent SDK, including Python and TypeScript API usage, built-in tools, hooks, subagents, MCP, sessions, permissions, structured outputs, hosting, deployment, and more. When the user says "update agent sdk docs" or "更新 agent sdk 文档":
1 other project uses a version of this.
Adopted by
Most recently taken up by
- SZoloth/claude-skillstheir own version, first seen Dec 3, 2025
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- SZoloth/claude-skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository4 other files it gives its agents.
- claudeSkill
- codex-planSkill
- codexSkill
- tikzSkill
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 6 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 4
Use this skill to answer questions about building AI agents with the Agent SDK, including Python and TypeScript API usage, built-in tools, …
- Distinctive: line 10
When the user asks about Claude Agent SDK development, API, or configuration
- Very specific: line 11
When developing code that imports claude_agent_sdk or @anthropic-ai/claude-agent-sdk
- Distinctive: line 12
When the user mentions "agent sdk", "claude agent sdk", or "claude code sdk"
- Distinctive: line 13
When building AI agents using the Agent SDK
- Very specific: line 22
Read the documentation index at skills/agent-sdk/docs/INDEX.md to understand the available docs
- Distinctive: line 25
Always include both Python and TypeScript examples when available in the docs
- Distinctive: line 29
When the user says "update agent sdk docs" or "更新 agent sdk 文档":
- Very specific: line 31
Run the update script: python3 skills/agent-sdk/scripts/update-docs.py
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Claude Agent SDK
Provides local documentation for the Claude Agent SDK (formerly Claude Code SDK). Use this skill to answer questions about building AI agents with the Agent SDK, including Python and TypeScript API usage, built-in tools, hooks, subagents, MCP, sessions, permissions, structured outputs, hosting, deployment, and more.
When to use
- When the user asks about Claude Agent SDK development, API, or configuration
- When developing code that imports
claude_agent_sdkor@anthropic-ai/claude-agent-sdk - When the user mentions "agent sdk", "claude agent sdk", or "claude code sdk"
- When building AI agents using the Agent SDK
When NOT to use
- General Claude API questions that don't involve the Agent SDK
- Claude Code CLI usage questions (use claude-code-guide agent instead)
Instructions
- Read the documentation index at
skills/agent-sdk/docs/INDEX.mdto understand the available docs - Based on the user's question, read the relevant doc file(s) from
skills/agent-sdk/docs/ - Answer the question using the documentation content, providing code examples when appropriate
- Always include both Python and TypeScript examples when available in the docs
Documentation update
When the user says "update agent sdk docs" or "更新 agent sdk 文档":
- Run the update script:
python3 skills/agent-sdk/scripts/update-docs.py - Report how many pages were updated successfully
Key documentation files
| Topic | File |
| Overview & getting started | docs/overview.md |
| Quickstart tutorial | docs/quickstart.md |
| Agent loop internals | docs/agent-loop.md |
| Claude Code features | docs/claude-code-features.md |
| Sessions & context | docs/sessions.md |
| Streaming input | docs/streaming-vs-single-mode.md |
| Streaming output | docs/streaming-output.md |
| MCP servers | docs/mcp.md |
| Custom tools | docs/custom-tools.md |
| Tool search | docs/tool-search.md |
| Permissions | docs/permissions.md |
| User input & approvals | docs/user-input.md |
| Hooks | docs/hooks.md |
| File checkpointing | docs/file-checkpointing.md |
| Structured outputs | docs/structured-outputs.md |
| Hosting | docs/hosting.md |
| Secure deployment | docs/secure-deployment.md |
| System prompts | docs/modifying-system-prompts.md |
| Subagents | docs/subagents.md |
| Slash commands | docs/slash-commands.md |
| Skills | docs/skills.md |
| Cost tracking | docs/cost-tracking.md |
| Todo lists | docs/todo-tracking.md |
| Plugins | docs/plugins.md |
| TypeScript SDK ref | docs/typescript.md |
| TypeScript V2 | docs/typescript-v2-preview.md |
| Python SDK ref | docs/python.md |
| Migration guide | docs/migration-guide.md |
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

