anthropics / claude-cookbooks
Static Component Dependencies

An overview of static code dependencies among source code logical components.

Intro

Static code dependencies refer to the relationships between different modules, libraries, or components in a software system that are established at compile-time rather than at runtime. These dependencies are determined by the code itself, meaning that one module directly references another through imports, includes, or explicit references in the code. Examples include:

  • Library and Module Imports
  • Class Dependencies (Inheritance & Composition)
  • Function and Method Calls
  • Dependency Injection Without Runtime Resolution
Learn more...
  • To learn more about good practices on componentization and dependencies, Sokrates recommends the following resources:
Logical Decompositions Overview

Analyzed system has 1 logical decomposition:

  • primary (18 components)

Logical Decomposition #1: PRIMARY

The decompositions is based on the folder structure at level 1 (relative to the source code root).

Bubble Chart | Tree Map
Component Sizes (Lines of Code)
The "primary" logical decomposition has 18 components.
  • 177 files, 43,691 LOC (100.0% vs. main code).
  • "claude_agent_sdk" is biggest, containing 20.05% of LOC.
  • "anthropic_cookbook" is smallest, containing 0% of LOC.


claude_agent_sdk8761 LOC (20%) 30 files
tool_use8490 LOC (19%) 23 files
misc6706 LOC (15%) 12 files
managed_agents6620 LOC (15%) 54 files
capabilities3364 LOC (7%) 27 files
patterns2270 LOC (5%) 5 files
skills1780 LOC (4%) 8 files
coding1175 LOC (2%) 1 file
ROOT1015 LOC (2%) 5 files
extended_thinking862 LOC (1%) 1 file
scripts742 LOC (1%) 4 files
fable_5_fallback_billing560 LOC (1%) 1 file
multimodal508 LOC (1%) 1 file
.claude339 LOC (<1%) 1 file
finetuning258 LOC (<1%) 1 file
.github206 LOC (<1%) 1 file
tool_evaluation34 LOC (<1%) 1 file
anthropic_cookbook1 LOC (<1%) 1 file
Static Dependencies
Dependencies among components are static code dependencies among files in different components.

No component dependencies found.



2026-06-24 10:44