Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anthropics/claude-cookbooks
/ types & classes
Types & classes
67 in github.com/anthropics/claude-cookbooks
⨍
Functions
640
◇
Types & classes
67
↳
Endpoints
7
↓ 3 callers
Class
CodeReviewAssistant
Code review assistant with memory and context editing capabilities. This assistant: - Checks memory for debugging patterns before review
tool_use/memory_demo/code_review_demo.py:53
↓ 2 callers
Class
BrandGuidelines
Brand guidelines configuration
skills/custom_skills/applying-brand-guidelines/validate_brand.py:13
↓ 2 callers
Class
MemoryToolHandler
Handles execution of Claude's memory tool commands. The memory tool enables Claude to read, write, and manage files in a memory system t
tool_use/memory_tool.py:13
↓ 2 callers
Class
SummaryIndexedVectorDB
capabilities/retrieval_augmented_generation/evaluation/vectordb.py:92
↓ 2 callers
Class
VectorDB
capabilities/retrieval_augmented_generation/evaluation/vectordb.py:9
↓ 1 callers
Class
AsyncAPIClient
Async API client for fetching data from multiple endpoints.
tool_use/memory_demo/sample_code/api_client_v1.py:12
↓ 1 callers
Class
BrandFormatter
Apply corporate brand guidelines to documents.
skills/custom_skills/applying-brand-guidelines/apply_brand.py:9
↓ 1 callers
Class
BrandValidator
Validates content against brand guidelines
skills/custom_skills/applying-brand-guidelines/validate_brand.py:37
↓ 1 callers
Class
CacheManager
Manage cached data with TTL support.
tool_use/memory_demo/sample_code/cache_manager.py:10
↓ 1 callers
Class
CellInfo
Information about a notebook cell.
tests/notebook_tests/utils.py:16
↓ 1 callers
Class
DCFModel
Build and calculate DCF valuation models.
skills/custom_skills/creating-financial-models/dcf_model.py:11
↓ 1 callers
Class
DataProcessor
Process data files concurrently with various thread-safety issues.
tool_use/memory_demo/sample_code/data_processor_v1.py:13
↓ 1 callers
Class
FinancialRatioCalculator
Calculate financial ratios from financial statement data.
skills/custom_skills/analyzing-financial-statements/calculate_ratios.py:10
↓ 1 callers
Class
InferenceAdapter
capabilities/contextual-embeddings/contextual-rag-lambda-function/inference_adapter.py:7
↓ 1 callers
Class
NotebookValidationResult
Result of validating a notebook.
tests/notebook_tests/utils.py:29
↓ 1 callers
Class
NotebookValidator
Validates Jupyter notebooks for common issues.
scripts/validate_all_notebooks.py:22
↓ 1 callers
Class
ParsedContent
Represents a parsed content block from a Claude message.
tool_use/utils/visualize.py:15
↓ 1 callers
Class
ParsedMessage
Represents a parsed Claude message with metadata.
tool_use/utils/visualize.py:23
↓ 1 callers
Class
QueryBuilder
Build SQL queries for user operations.
tool_use/memory_demo/sample_code/sql_query_builder.py:16
↓ 1 callers
Class
RatioInterpreter
Interpret financial ratios with industry context.
skills/custom_skills/analyzing-financial-statements/interpret_ratios.py:9
↓ 1 callers
Class
S3Adapter
capabilities/contextual-embeddings/contextual-rag-lambda-function/s3_adapter.py:7
↓ 1 callers
Class
SensitivityAnalyzer
Perform sensitivity analysis on financial models.
skills/custom_skills/creating-financial-models/sensitivity_analysis.py:13
↓ 1 callers
Class
SimpleModel
skills/custom_skills/creating-financial-models/sensitivity_analysis.py:338
↓ 1 callers
Class
Ticket
Represents a customer support ticket
tool_use/utils/customer_service_api.py:37
↓ 1 callers
Class
TicketCategory
tool_use/utils/customer_service_api.py:13
↓ 1 callers
Class
TicketPriority
tool_use/utils/customer_service_api.py:21
↓ 1 callers
Class
UserDatabase
Simple database interface (mock).
tool_use/memory_demo/sample_code/sql_query_builder.py:7
↓ 1 callers
Class
ValidationResult
Result of brand validation
skills/custom_skills/applying-brand-guidelines/validate_brand.py:27
↓ 1 callers
Class
VectorDB
capabilities/text_to_sql/evaluation/vectordb.py:9
↓ 1 callers
Class
VectorDB
capabilities/classification/evaluation/vectordb.py:9
↓ 1 callers
Class
WebScraper
Web scraper that fetches multiple URLs concurrently.
tool_use/memory_demo/sample_code/web_scraper_v1.py:12
Class
managed_agents/self_hosted_sandboxes/cf/src/container.ts:28
Class
managed_agents/self_hosted_sandboxes/vercel/api/webhook.ts:144
Class
managed_agents/self_hosted_sandboxes/cf-worker/src/runner.ts:36
Interface
AgentSessionEvent
managed_agents/linear/src/agent.ts:10
Class
Analysis
claude_agent_sdk/chief_of_staff_agent/scripts/decision_matrix.py:22
Class
AnthropicSecretsDetector
Scans for common API keys and credentials in notebooks.
scripts/detect-secrets/plugins.py:7
Class
DataProcessor
Another example of the mutable default bug.
tool_use/memory_demo/sample_code/cache_manager.py:73
Class
DecisionMatrix
claude_agent_sdk/chief_of_staff_agent/scripts/decision_matrix.py:30
Interface
DispatchOpts
managed_agents/self_hosted_sandboxes/cf/src/container.ts:20
Class
Entity
capabilities/knowledge_graph/evaluation/eval_extraction.py:25
Interface
Env
managed_agents/self_hosted_sandboxes/cf/src/index.ts:13
Interface
Env
managed_agents/self_hosted_sandboxes/cf-worker/src/index.ts:14
Class
ExtractedGraph
capabilities/knowledge_graph/evaluation/eval_extraction.py:37
Class
MessageIn
claude_agent_sdk/hosting/server.py:100
Class
OptionScore
claude_agent_sdk/chief_of_staff_agent/scripts/decision_matrix.py:12
Interface
ProcessedItem
managed_agents/self_hosted_sandboxes/vercel/api/webhook.ts:81
Class
Relation
capabilities/knowledge_graph/evaluation/eval_extraction.py:31
Class
SandboxContainer
managed_agents/self_hosted_sandboxes/cf/src/container.ts:28
Class
SandboxRunner
managed_agents/self_hosted_sandboxes/cf-worker/src/runner.ts:36
Class
SharedCache
A shared cache with thread-safety issues. BUG: Classic read-modify-write race condition pattern.
tool_use/memory_demo/sample_code/data_processor_v1.py:99
Interface
SlackMention
managed_agents/slack/src/agent.ts:8
Interface
StartOpts
managed_agents/self_hosted_sandboxes/cf-worker/src/runner.ts:24
Class
TestCellExecution
Tests for cell execution status and order.
tests/notebook_tests/test_notebooks.py:81
Class
TestCellOutputs
Tests for cell outputs and errors.
tests/notebook_tests/test_notebooks.py:113
Class
TestDependencies
Tests for dependency declarations.
tests/notebook_tests/test_notebooks.py:172
Class
TestMemoryToolHandler
Test suite for MemoryToolHandler.
tool_use/tests/test_memory_tool.py:15
Class
TestModelUsage
Tests for Claude model usage.
tests/notebook_tests/test_notebooks.py:267
Class
TestNotebookExecution
Tests that actually execute notebooks (optional, slow).
tests/notebook_tests/test_notebooks.py:213
Class
TestNotebookMetadata
Tests for notebook metadata quality.
tests/notebook_tests/test_notebooks.py:244
Class
TestNotebookStructure
Tests for notebook structure and format validity.
tests/notebook_tests/test_notebooks.py:34
Class
TestSecurity
Tests for security best practices.
tests/notebook_tests/test_notebooks.py:134
Class
TicketGenerator
Generate realistic support tickets for testing
tool_use/utils/customer_service_api.py:58
Class
TicketStatus
tool_use/utils/customer_service_api.py:28
Class
WorkError
Diagnostics we author and control — safe to surface in logs and the * webhook response (key names, never values).
managed_agents/self_hosted_sandboxes/vercel/api/webhook.ts:144
Class
_HTML
Fallback HTML wrapper for non-Jupyter environments.
claude_agent_sdk/utils/html_renderer.py:38
Class
visualize
Context manager for auto-visualization of Claude API responses. Usage: viz = visualize(auto_show=True) response = client.mes
tool_use/utils/visualize.py:324