Claude product ecosystem — Library index

Canonical reference for everything Anthropic ships under the Claude brand: the underlying models, the Messages API + SDKs, Claude Code (CLI + IDE + web + desktop), the Claude Agent SDK, the Model Context Protocol (MCP), and the auxiliary APIs (Batches, Files, Citations, Vision, Tool Use, Memory, Web Search, Code Execution, Computer Use). House style and source URLs match the rest of the Compute library; cite specific notes from any agentic coding session that touches Claude as the runtime.

This sub-library lives inside Math-and-Compute/Compute/ as a sibling of Tier3/ and the operating-systems / databases / ML notes. It is intentionally fact-dense and version-pinned: every non-obvious claim cites either docs.claude.com, platform.claude.com, code.claude.com, modelcontextprotocol.io, or an anthropics/* GitHub repo. Where the official docs are silent but the behavior is observable (CLI flags surfaced by claude --help, undocumented env vars referenced in source, etc.), the entry is labelled “Undocumented as of 2026-05-25 — observed behavior” so a future reader knows to verify.

The contents are organized as a single flat folder of notes — no deeper nesting — because most lookups are “what does the X API parameter do” or “what does this CLI flag do”, and a flat folder collapses to a single Obsidian search.

See also

Library contents

Foundations

FileWhat it covers
claude-models-and-capabilitiesOpus 4.7 / Sonnet 4.6 / Haiku 4.5 + legacy generations, pricing, context windows, knowledge cutoffs, benchmarks, model-selection heuristics
claude-api-and-sdksThe Messages API surface (parameters, response shapes, streaming, errors, rate limits) + Python / TypeScript / Go / Java / C# / PHP / Ruby SDKs
prompt-engineering-for-claudeClaude-specific prompting (XML tags, prefill, role priming, model-version idiosyncrasies, agentic prompting)
prompt-caching5-minute and 1-hour ephemeral caches, breakpoint placement, cost math, multi-turn caching strategy

Tool use & multimodal

FileWhat it covers
tool-use-and-function-callingClient-defined tools (tool_use / tool_result), parallel tool use, strict mode, fine-grained tool streaming, server tools overview
vision-and-multimodalImage input (base64, URL, Files API), PDF input, document blocks, token costs, sizing rules, format support
computer-use-and-code-executionThe four Anthropic-managed tools that make Claude agentic: computer_*, code_execution_*, bash_20250124, text_editor_*, plus memory_20250818 and web_search_* and web_fetch_*
batch-api-and-files-apiMessage Batches (asynchronous, ≤24 h, 50 % discount) + Files API (upload, download, reference by file_id)
citations-and-groundingNative citation blocks, document chunking, char_location / page_location / content_block_location, RAG integration

Claude Code

FileWhat it covers
claude-code-cliThe claude binary — install paths, flags, subcommands, settings.json, environment variables, permission modes, statusline, login
claude-code-hooks-deepEvery hook event, matcher syntax, command vs HTTP vs MCP-tool vs prompt vs agent handlers, exit-code semantics, JSON output schema, safety floor
claude-code-subagents-and-skillsSubagents (.claude/agents/*.md), the Task / Agent tool, Skills (SKILL.md), bundled vs user-created skills, hierarchy, disable-model-invocation, dynamic !backtick`

Beyond the CLI

FileWhat it covers
mcp-protocolThe Model Context Protocol spec: JSON-RPC base, lifecycle, capabilities, tools / resources / prompts primitives, transports (stdio, HTTP, SSE, streamable HTTP), auth, SDK survey
claude-agent-sdkclaude-agent-sdk (Python + TS) — query, ClaudeSDKClient, ClaudeAgentOptions, setting_sources, mcp_servers, agents map, hooks, message types
agents-and-orchestration-patternsMulti-agent orchestration (supervisor-worker, swarm, ReAct, Plan-and-Solve), handoff protocols, Anthropic’s own published guidance
hidden-tricks-and-gotchasUndocumented flags, environment-variable escape hatches, prompt-caching breakpoint tricks, tool-use parallelism quirks, vision token accounting, MCP buffering, model-specific quirks

How to use this library

  1. Picking a model for a new project — start at claude-models-and-capabilities for the matrix, then prompt-caching for the cost model, then tool-use-and-function-calling if you need tools.
  2. Debugging a Claude Code sessionclaude-code-cli for flags, claude-code-hooks-deep for hook lifecycle, hidden-tricks-and-gotchas for env-var overrides.
  3. Building an MCP servermcp-protocol first, then claude-code-cli for how Claude Code consumes it, then claude-agent-sdk if you want to embed an agent.
  4. Designing a multi-agent systemagents-and-orchestration-patterns is the playbook; claude-code-subagents-and-skills for the in-process building blocks, claude-agent-sdk for cross-process.
  5. Cost optimizationprompt-caching + batch-api-and-files-api + the pricing tables in claude-models-and-capabilities.
  6. RAG / grounded responsescitations-and-grounding + vision-and-multimodal for PDF document blocks.

Conventions used in this library

  • Model IDs are quoted verbatim (e.g. claude-opus-4-7, claude-haiku-4-5-20251001). Anthropic switched to dateless pinned IDs starting with the 4.6 generation per models overview; for 4.5-and-earlier the alias is a convenience pointer that resolves to a dated ID.
  • Beta header names are quoted verbatim from the anthropic-beta enum (e.g. extended-cache-ttl-2025-04-11, computer-use-2025-11-24, skills-2025-10-02). The authoritative list is in the Files API beta header enum.
  • Pricing is in USD per million tokens (MTok). Where multiple \$ symbols appear on the same line they are backslash-escaped to avoid Obsidian MathJax interpretation.
  • Code examples are minimal and runnable, in Python + TypeScript where the SDKs differ in shape.
  • “Per docs.claude.com 2026-05” tags a claim sourced from official documentation as of the file’s created date; “per anthropic/X v…” tags a claim sourced from a specific repo release.

Sources read while building this library (2026-05-25 pass)

  • platform.claude.com/docs/en/about-claude/models/overview (full model matrix + legacy table)
  • platform.claude.com/docs/en/api/messages (Messages API ref)
  • platform.claude.com/docs/en/build-with-claude/prompt-caching (cache mechanics)
  • platform.claude.com/docs/en/build-with-claude/tool-use/overview (tool use base)
  • platform.claude.com/docs/en/build-with-claude/vision (vision + image limits)
  • platform.claude.com/docs/en/build-with-claude/extended-thinking (extended + adaptive thinking)
  • platform.claude.com/docs/en/build-with-claude/batch-processing (batches API)
  • platform.claude.com/docs/en/build-with-claude/citations (citations + document blocks)
  • platform.claude.com/docs/en/api/files-content (Files API + full beta header enum)
  • platform.claude.com/docs/en/agents-and-tools/tool-use/computer-use-tool
  • platform.claude.com/docs/en/agents-and-tools/tool-use/code-execution-tool
  • platform.claude.com/docs/en/agents-and-tools/tool-use/memory-tool
  • platform.claude.com/docs/en/agents-and-tools/tool-use/web-search-tool
  • platform.claude.com/docs/en/build-with-claude/prompt-engineering/claude-prompting-best-practices
  • code.claude.com/docs/en/overview (Claude Code root)
  • code.claude.com/docs/en/cli-reference
  • code.claude.com/docs/en/settings
  • code.claude.com/docs/en/slash-commands
  • code.claude.com/docs/en/hooks
  • code.claude.com/docs/en/subagents
  • code.claude.com/docs/en/skills
  • code.claude.com/docs/en/mcp
  • code.claude.com/docs/en/agent-sdk/overview
  • modelcontextprotocol.io/specification/2025-06-18/basic
  • modelcontextprotocol.io/specification/2025-06-18/server/tools
  • modelcontextprotocol.io/specification/2025-06-18/server/resources
  • modelcontextprotocol.io/specification/2025-06-18/server/prompts
  • github.com/anthropics/claude-agent-sdk-python + …-typescript
  • github.com/anthropics/anthropic-sdk-python + …-typescript
  • github.com/anthropics/claude-code (releases, source structure)

Sections that required inference (rather than direct doc lookup) are flagged in each file under “Undocumented as of 2026-05-25 — observed behavior” so they can be re-verified later.

16 items under this folder.