Anthropic Agents SDK Reference Bibliography
Standards Development Reference for Skills, Commands, Hooks, Plugins, Subagents, MCP, and Memory
Version 1.0 - December 2025
Table of Contents
- Agent SDK Overview
- Agent Skills
- Slash Commands
- Hooks
- Plugins & Marketplaces
- Subagents
- Model Context Protocol (MCP)
- Memory & CLAUDE.md
- Settings & Configuration
- SDK Implementation (TypeScript/Python)
- Best Practices & Engineering Guides
- Community Resources
1. Agent SDK Overview
Core documentation for understanding the Claude Agent SDK architecture and capabilities.
| Resource | URL | Description | Priority |
|---|---|---|---|
| Agent SDK Overview (Official) | https://docs.claude.com/en/api/agent-sdk/overview | Primary SDK documentation with features, authentication, and configuration | CRITICAL |
| Building Agents with the Claude Agent SDK | https://www.anthropic.com/engineering/building-agents-with-the-claude-agent-sdk | Engineering blog explaining SDK design principles and agent building | CRITICAL |
| Claude Agent SDK (npm) | https://www.npmjs.com/package/@anthropic-ai/claude-agent-sdk | TypeScript SDK package with installation instructions | HIGH |
| Claude Agent SDK Python (GitHub) | https://github.com/anthropics/claude-agent-sdk-python | Python SDK repository with examples and API reference | HIGH |
| Claude Agent SDK TypeScript (GitHub) | https://github.com/anthropics/claude-agent-sdk-typescript | TypeScript SDK repository with examples | HIGH |
| Claude Code Main Repository | https://github.com/anthropics/claude-code | Main Claude Code repository containing plugins and documentation | HIGH |
| Platform SDK Documentation | https://platform.claude.com/docs/en/agent-sdk/overview | Alternative documentation portal for SDK | MEDIUM |
2. Agent Skills
Documentation for creating, managing, and deploying Agent Skills (SKILL.md).
| Resource | URL | Description | Priority |
|---|---|---|---|
| Agent Skills Overview | https://docs.claude.com/en/docs/agents-and-tools/agent-skills/overview | Official skills overview with structure, invocation, and security | CRITICAL |
| Agent Skills in Claude Code | https://docs.claude.com/en/docs/claude-code/skills | Claude Code-specific skills documentation with examples | CRITICAL |
| Equipping Agents with Agent Skills | https://www.anthropic.com/engineering/equipping-agents-for-the-real-world-with-agent-skills | Engineering deep-dive on skill architecture and progressive disclosure | CRITICAL |
| Introducing Agent Skills (Blog) | https://www.anthropic.com/news/skills | Official announcement with feature overview | HIGH |
| Skills Repository (GitHub) | https://github.com/anthropics/skills | Official skills repository with examples and templates | HIGH |
| Skills API Quickstart | https://docs.claude.com/en/docs/agents-and-tools/agent-skills/quickstart | API integration guide for skills | HIGH |
Skills File Structure Reference
| Component | Location | Description |
|---|---|---|
| SKILL.md | {skill-dir}/SKILL.md | Main skill definition with YAML frontmatter |
| Reference files | {skill-dir}/*.md | Additional documentation loaded on-demand |
| Scripts | {skill-dir}/scripts/ | Executable scripts for tool capabilities |
| Templates | {skill-dir}/templates/ | Template files for skill outputs |
Skills YAML Frontmatter Fields
| Field | Required | Description |
|---|---|---|
name | Yes | Skill identifier |
description | Yes | Trigger description for Claude's context |
allowed-tools | No | Tools available when skill is active |
when_to_use | No | (Undocumented) Activation guidance |
3. Slash Commands
Documentation for custom slash commands in .claude/commands/.
| Resource | URL | Description | Priority |
|---|---|---|---|
| Slash Commands Reference | https://docs.anthropic.com/en/docs/claude-code/slash-commands | Complete slash commands documentation | CRITICAL |
| Built-in Commands | https://docs.claude.com/en/docs/claude-code/cli-reference | CLI reference including built-in slash commands | HIGH |
| Custom Commands Guide | https://aiengineerguide.com/blog/claude-code-custom-command/ | Tutorial on creating custom commands | MEDIUM |
Slash Commands Directory Structure
| Scope | Location | Description |
|---|---|---|
| Project | .claude/commands/*.md | Project-specific commands (shows "(project)") |
| User | ~/.claude/commands/*.md | Personal commands across all projects (shows "(user)") |
| Namespaced | .claude/commands/{namespace}/*.md | Organized commands with /namespace:command syntax |
Command Markdown Features
| Feature | Syntax | Description |
|---|---|---|
| Arguments | $ARGUMENTS | Placeholder for command arguments |
| File Reference | @path/to/file | Include file contents in command |
| Bash Execution | !command | Execute bash and include output |
| Frontmatter | ---\nallowed-tools: [...]\ndescription: ...\n--- | Command metadata |
4. Hooks
Documentation for lifecycle hooks in .claude/settings.json.
| Resource | URL | Description | Priority |
|---|---|---|---|
| Hooks Reference | https://docs.claude.com/en/docs/claude-code/hooks | Complete hooks technical reference | CRITICAL |
| Hooks Quickstart | https://docs.claude.com/en/docs/claude-code/hooks-guide | Getting started with hooks | CRITICAL |
| Hooks Mastery Repository | https://github.com/disler/claude-code-hooks-mastery | Community hook examples and patterns | MEDIUM |
Hook Events Reference
| Event | Trigger | Can Block | Use Cases |
|---|---|---|---|
PreToolUse | Before tool execution | Yes (exit 2) | Validation, security, logging |
PostToolUse | After tool completion | No | Formatting, cleanup, notifications |
UserPromptSubmit | User submits prompt | Yes | Prompt validation, context injection |
Notification | Claude needs attention | No | Custom notifications |
Stop | Claude finishes responding | Yes ("block") | Completion messages, TTS |
SubagentStop | Subagent completes | Yes | Subagent coordination |
PreCompact | Before context compaction | No | Backup, logging |
SessionStart | Session begins/resumes | No | Context loading, setup |
SessionEnd | Session ends | No | Cleanup, persistence |
Hook Configuration Schema
{
"hooks": {
"EventName": [
{
"matcher": "ToolPattern|Regex",
"hooks": [
{
"type": "command|prompt",
"command": "shell-command",
"prompt": "llm-evaluation-prompt"
}
]
}
]
}
}
Hook Exit Codes
| Exit Code | Meaning | Behavior |
|---|---|---|
| 0 | Success | Continue normally, stdout shown in transcript |
| 1 | Error | Continue, stderr logged |
| 2 | Block | Block tool/action, stderr sent to Claude |
5. Plugins & Marketplaces
Documentation for plugin system and marketplace distribution.
| Resource | URL | Description | Priority |
|---|---|---|---|
| Plugins Announcement | https://www.anthropic.com/news/claude-code-plugins | Official plugin feature announcement | HIGH |
| Plugins Reference | https://anthropic.mintlify.app/en/docs/claude-code/plugins-reference | Complete plugin technical reference | CRITICAL |
| Plugin Marketplaces | https://docs.claude.com/en/docs/claude-code/plugin-marketplaces | Marketplace creation and distribution | CRITICAL |
| Plugins in the SDK | https://platform.claude.com/docs/en/agent-sdk/plugins | SDK plugin integration | HIGH |
| Official Plugins (GitHub) | https://github.com/anthropics/claude-code/blob/main/plugins/README.md | Anthropic's example plugins | HIGH |
| Claude Code Plugins Marketplace | https://claudecodemarketplace.com/ | Community plugin directory | MEDIUM |
| Claude Plugins CLI | https://claude-plugins.dev/ | CLI for plugin installation | MEDIUM |
Plugin Directory Structure
my-plugin/
├── .claude-plugin/
│ └── plugin.json # Plugin manifest (required)
├── commands/ # Slash commands
│ └── my-command.md
├── agents/ # Subagent definitions
│ └── my-agent.md
├── skills/ # Agent skills
│ └── my-skill/
│ └── SKILL.md
├── hooks/ # Hook configurations
│ └── hooks.json
└── mcp-servers/ # MCP server configs
└── servers.json
Plugin Manifest (plugin.json) Schema
| Field | Required | Description |
|---|---|---|
name | Yes | Plugin identifier |
version | Yes | Semver version |
description | Yes | Plugin description |
author | No | Author info (name, email, url) |
commands | No | Custom command paths |
agents | No | Agent directory or paths |
skills | No | Skills directory |
hooks | No | Hooks configuration file |
mcpServers | No | MCP configuration file |
Marketplace Commands
| Command | Description |
|---|---|
/plugin marketplace add user/repo | Add a marketplace |
/plugin install plugin@marketplace | Install from marketplace |
/plugin marketplace update name | Refresh marketplace |
/plugin | Browse installed plugins |
6. Subagents
Documentation for subagent orchestration in .claude/agents/.
| Resource | URL | Description | Priority |
|---|---|---|---|
| Subagents Documentation | https://docs.anthropic.com/en/docs/claude-code/sub-agents | Official subagents reference | CRITICAL |
| Subagents in the SDK | https://docs.claude.com/en/docs/claude-code/sdk/subagents | SDK subagent integration | HIGH |
| Community Subagents | https://subagents.cc/ | Community subagent collection | MEDIUM |
| Subagents Repository | https://github.com/wshobson/agents | 85+ specialized agents collection | MEDIUM |
Subagent Directory Structure
| Scope | Location | Description |
|---|---|---|
| Project | .claude/agents/*.md | Project-specific agents |
| User | ~/.claude/agents/*.md | Personal agents across projects |
Subagent Markdown Schema
---
name: agent-name
description: When and why to use this agent
tools: Read, Write, Bash, Grep, Glob # Optional, inherits if omitted
model: sonnet|opus # Optional model override
---
# Agent Name
System prompt and behavioral instructions...
## Capabilities
- Specific capability 1
- Specific capability 2
## Context
Additional context and examples...
Built-in Subagents
| Agent | Purpose | Mode |
|---|---|---|
Plan | Codebase research for planning | Plan mode only |
Explore | Fast read-only codebase exploration | Execution mode |
Subagent Management Commands
| Command | Description |
|---|---|
/agents | Interactive agent management |
/agents create | Create new agent with guided prompts |
/agents list | List available agents |
7. Model Context Protocol (MCP)
Documentation for MCP server integration.
| Resource | URL | Description | Priority |
|---|---|---|---|
| MCP in Claude Code | https://docs.anthropic.com/en/docs/claude-code/mcp | Claude Code MCP integration | CRITICAL |
| MCP in the SDK | https://docs.claude.com/en/docs/claude-code/sdk/sdk-mcp | SDK MCP configuration | HIGH |
| Introducing MCP | https://www.anthropic.com/news/model-context-protocol | Official MCP announcement | HIGH |
| Desktop Extensions | https://www.anthropic.com/engineering/desktop-extensions | One-click MCP installation | HIGH |
| MCP GitHub Organization | https://github.com/modelcontextprotocol | Official MCP repositories | HIGH |
| MCP Course | https://anthropic.skilljar.com/introduction-to-model-context-protocol | Anthropic Academy MCP course | MEDIUM |
MCP Configuration Locations
| Scope | Location | Description |
|---|---|---|
| Project | .mcp.json | Project MCP servers (version controlled) |
| Local | .claude/settings.local.json | Local MCP config (gitignored) |
| User | ~/.claude/settings.json | User-wide MCP servers |
| Enterprise | Managed policy | Organization MCP controls |
MCP Server Configuration Schema
{
"mcpServers": {
"server-name": {
"command": "npx|node|python",
"args": ["server-package-or-script"],
"env": {
"ENV_VAR": "value",
"DYNAMIC": "${SHELL_VAR:-default}"
}
}
}
}
MCP Server Types
| Type | Configuration | Description |
|---|---|---|
stdio | command + args | External process via stdin/stdout |
sse | type: "sse" + url | HTTP/SSE remote server |
sdk | In-process | SDK MCP servers (Python/TS) |
MCP Tool Naming Convention
| Pattern | Example | Description |
|---|---|---|
mcp__server__tool | mcp__github__create_issue | Server-namespaced tool |
mcp__list_resources | - | List available resources |
mcp__read_resource | - | Read a specific resource |
8. Memory & CLAUDE.md
Documentation for persistent context and memory files.
| Resource | URL | Description | Priority |
|---|---|---|---|
| Memory Management | https://docs.claude.com/en/docs/claude-code/memory | Official CLAUDE.md documentation | CRITICAL |
| Bringing Memory to Teams | https://www.anthropic.com/news/memory | Memory feature announcement | HIGH |
| Context Management | https://anthropic.com/news/context-management | Context editing and memory tools | HIGH |
Memory File Locations
| File | Location | Description |
|---|---|---|
| User Memory | ~/.claude/CLAUDE.md | Personal preferences (all projects) |
| Project Memory | ./CLAUDE.md or ./.claude/CLAUDE.md | Project context (committed) |
| Local Memory | ./CLAUDE.local.md | Personal project notes (gitignored) |
Memory File Features
| Feature | Syntax | Description |
|---|---|---|
| File Import | @path/to/file.md | Import external content |
| Absolute Import | @~/path/from/home | Import from home directory |
| Recursive Discovery | Automatic | Finds CLAUDE.md up directory tree |
| Subtree Discovery | Automatic | Loads nested CLAUDE.md on file access |
Memory Best Practices
| Practice | Description |
|---|---|
| Be specific | "Use 2-space indentation" vs "Format code properly" |
| Use structure | Group related items under markdown headings |
| Keep lean | Include only essential session context |
| Use imports | Reference detailed docs instead of inline |
9. Settings & Configuration
Documentation for Claude Code settings files.
| Resource | URL | Description | Priority |
|---|---|---|---|
| Settings Documentation | https://docs.claude.com/en/docs/claude-code/settings | Official settings reference | CRITICAL |
| Configuration Guide | https://claudelog.com/configuration/ | Comprehensive configuration guide | MEDIUM |
| CLI Cheatsheet | https://shipyard.build/blog/claude-code-cheat-sheet/ | Settings and CLI reference | MEDIUM |
Settings File Hierarchy (Precedence Low→High)
| Level | Location | Description |
|---|---|---|
| User | ~/.claude/settings.json | Global user settings |
| Project | .claude/settings.json | Project settings (committed) |
| Local | .claude/settings.local.json | Local overrides (gitignored) |
| Enterprise | Managed policy | Organization policies |
Key Settings Fields
| Field | Description |
|---|---|
model | Default model selection |
maxTokens | Maximum response tokens |
permissions.allowedTools | Pre-approved tools |
permissions.deny | Denied tool patterns |
hooks | Hook configurations |
mcpServers | MCP server configs |
extraKnownMarketplaces | Plugin marketplaces |
enabledPlugins | Auto-installed plugins |
10. SDK Implementation (TypeScript/Python)
Detailed SDK implementation references.
| Resource | URL | Description | Priority |
|---|---|---|---|
| TypeScript SDK (npm) | https://www.npmjs.com/package/@anthropic-ai/claude-agent-sdk | TypeScript package | HIGH |
| Python SDK (PyPI) | https://pypi.org/project/claude-agent-sdk/ | Python package | HIGH |
| SDK Overview | https://docs.anthropic.com/en/docs/claude-code/sdk | SDK feature overview | HIGH |
| SDK Tutorial (DataCamp) | https://www.datacamp.com/tutorial/how-to-use-claude-agent-sdk | Step-by-step SDK tutorial | MEDIUM |
| SDK Guide (Bind AI) | https://blog.getbind.co/2025/10/03/how-to-create-agents-with-claude-agents-sdk/ | Comprehensive SDK guide | MEDIUM |
SDK Query Methods
| Method | Language | Description |
|---|---|---|
query() | Both | Simple async generator for queries |
ClaudeSDKClient | Both | Full client with tools, hooks, sessions |
SDK Configuration Options
| Option | Description |
|---|---|
prompt | User query |
system_prompt | System instructions |
allowedTools | Tools to enable |
disallowedTools | Tools to block |
permissionMode | Permission handling |
mcpConfig | MCP configuration path |
mcpServers | Inline MCP servers |
plugins | Plugin configurations |
maxTurns | Maximum agent turns |
11. Best Practices & Engineering Guides
Curated guides for production implementation.
| Resource | URL | Description | Priority |
|---|---|---|---|
| Claude Code Best Practices | https://www.anthropic.com/engineering/claude-code-best-practices | Official best practices | CRITICAL |
| Complete Guide (Sid Bharath) | https://www.siddharthbharath.com/claude-code-the-complete-guide/ | Comprehensive usage guide | HIGH |
| Agent Skills Deep Dive | https://leehanchung.github.io/blogs/2025/10/26/claude-skills-deep-dive/ | Technical skills analysis | MEDIUM |
| Claude Code Hooks (GitButler) | https://blog.gitbutler.com/automate-your-ai-workflows-with-claude-code-hooks | Hooks automation guide | MEDIUM |
Recommended Workflows
| Workflow | Description |
|---|---|
| TDD with Claude | Tests first, then implementation |
| Plan Mode | Research before execution |
| Subagent Delegation | Isolate specialized tasks |
| Context Management | Regular /clear and /compact |
12. Community Resources
Community-maintained resources and collections.
| Resource | URL | Description | Priority |
|---|---|---|---|
| Awesome Claude Code | https://github.com/hesreallyhim/awesome-claude-code | Curated commands and workflows | MEDIUM |
| Claude Command Suite | https://github.com/qdhenry/Claude-Command-Suite | 148+ slash commands | MEDIUM |
| WShobson Commands | https://github.com/wshobson/commands | 57 production commands | MEDIUM |
| WShobson Agents | https://github.com/wshobson/agents | 85 specialized agents | MEDIUM |
| Claude Code Plugins Plus | https://github.com/jeremylongshore/claude-code-plugins-plus | 243+ plugins marketplace | MEDIUM |
| My Claude Code Setup | https://github.com/centminmod/my-claude-code-setup | Starter template with hooks | MEDIUM |
| ClaudeLog | https://claudelog.com/ | Docs, guides, and best practices | MEDIUM |
Standards Development Checklist
Use this checklist when building standards for each component:
For Each Standard Document, Include:
- Purpose & Scope: What problem does this solve?
- File Locations: Where files must be placed
- Schema Definition: Required and optional fields
- Naming Conventions: How to name files, commands, agents
- Security Considerations: Permissions, sandboxing, trust
- Examples: Minimal and comprehensive examples
- Anti-Patterns: What to avoid
- Testing Guidelines: How to validate
- Version Compatibility: SDK version requirements
- Migration Paths: Upgrading from previous versions
Document Metadata
| Field | Value |
|---|---|
| Created | December 2025 |
| Sources | Official Anthropic Documentation |
| Total References | 90+ URLs |
| Primary Domains | docs.claude.com, anthropic.com, github.com/anthropics |
This bibliography is intended for internal standards development. All URLs were verified at time of creation. For the most current information, always reference the official Anthropic documentation.