Claude Code

anthropics/claude-code

Anthropic's official CLI for Claude — an agentic coding assistant that operates directly in the terminal.

13,892
Functions
39
Modules
29
Scenarios
9,347
Semantic Nodes

Modules (39)

Foundation Utilities

Cross-cutting core utilities: auth, config, env, file I/O, session management, formatting, data structures, and shared types

2629 fn·11 dirs

Tool Framework

Extensible tool system with file ops, shell execution, code intelligence, web access, MCP tools, agent orchestration, and streaming execution pipeline

841 fn·35 dirs

Permission & Security Framework

Permission evaluation, rule management, sandbox enforcement, shell command security analysis, path validation, and trust dialogs

527 fn·5 dirs

Command System

Slash-command framework with input routing for session management, configuration, plugins, MCP, memory, and developer workflows

496 fn·64 dirs

Agent & Task Orchestration

Multi-agent spawning, task lifecycle management, swarm coordination via tmux/iTerm2/in-process, and background task execution

493 fn·22 dirs

Plugin & Skill Ecosystem

Plugin discovery, installation, marketplace sync, DXT packaging, skill loading, and lifecycle management for extensibility

489 fn·8 dirs

Application Shell and Screens

Top-level app components, screen entry points, fullscreen layout, and primary UI orchestration

482 fn·4 dirs

React Hooks & Input Layer

Application-level React hooks for UI state, user input, vim emulation, keybindings, voice, notifications, and virtual scroll

470 fn·9 dirs

Bridge & Remote Connectivity

WebSocket/SSE bridge, remote sessions, SDK transport, direct-connect for IDEs, and cloud environment management

431 fn·6 dirs

Ink Rendering Engine

Core rendering runtime: DOM, screen buffer, frame diffing, layout engine, and Yoga bindings

425 fn·3 dirs

Application Bootstrap & Entrypoints

CLI entry points, headless mode, SDK session API, MCP server mode, app initialization, global state, and session tracking

346 fn·6 dirs

API Client & Model Resolution

Anthropic API streaming, retries, token counting, rate limiting, model alias resolution, provider routing, and query budget tracking

289 fn·3 dirs

Settings & Configuration

Multi-source settings loading, schema validation, migrations, policy limits, remote managed settings, and hook execution engine

266 fn·8 dirs

MCP Integration

Model Context Protocol client with server connections, OAuth auth, tool routing, resource access, and cross-app capabilities

251 fn·2 dirs

Context & Prompt System

System prompt construction, context injection, environment info, compaction, prompt suggestions, and reactive context providers

204 fn·6 dirs

Analytics & Telemetry

Event logging, GrowthBook feature flags, OpenTelemetry instrumentation, Perfetto tracing, and BigQuery export

204 fn·2 dirs

Computer Use & Chrome Integration

Computer use MCP server, executor, lock management, and Claude-in-Chrome extension with native host messaging

162 fn·2 dirs

Permissions UI

Permission request dialogs, approval flows, permission rules management, and tool-specific permission handlers

144 fn·16 dirs

Memory & Auto-Memory

Persistent file-based memory with auto-extraction, session memory compaction, team sync with secret scanning, and auto-dream consolidation

132 fn·5 dirs

Agents and Tasks

Agent editor/wizard, background task management, teammate status, and team collaboration UI

114 fn·5 dirs

Message Rendering

Message type components for assistant, user, system, and tool messages plus shell output rendering

104 fn·4 dirs

Native Installer & Proxy

Binary download/installation, version management, package manager detection, PID locking, and upstream proxy relay

81 fn·2 dirs

Onboarding and Feedback

Welcome/logo screens, desktop upsell, feedback surveys, grove privacy dialogs, and guest passes

81 fn·5 dirs

Design System and UI Primitives

Reusable design-system components, themed primitives, custom select widgets, spinners, and tree controls

79 fn·5 dirs

Ink Components and Hooks

Base Ink React components (Box, Text, ScrollBox) and hooks (selection, focus, animation)

77 fn·3 dirs

Prompt Input

User prompt input area with suggestions, mode indicators, voice support, and input processing

69 fn·1 dirs

LSP & Code Intelligence

Language Server Protocol client management for diagnostics, navigation, and file indexing for workspace search

67 fn·2 dirs

MCP and Extensions

MCP server management, skills menu, hooks configuration, LSP recommendations, and plugin hints

66 fn·6 dirs

Terminal I/O Protocol

Low-level terminal protocol handling: ANSI/CSI/OSC/DEC sequences, SGR, tokenizer, and parser

65 fn·1 dirs

Settings and Security

Settings panels, sandbox configuration, trust verification dialogs, and managed security settings

60 fn·4 dirs

Authentication & Credential Storage

OAuth flow management, token exchange/refresh, API key creation, and platform-adaptive secure credential storage

59 fn·2 dirs

Diff and Code Display

Structured diff rendering, color-aware syntax diffing, and diff dialog views

53 fn·3 dirs

Git Operations

Git filesystem primitives, config parsing, gitignore handling, and GitHub auth status

42 fn·2 dirs

Input Suggestions

Command suggestions, directory/path completions, shell history, skill usage tracking, and Slack channel suggestions

36 fn·1 dirs

Deep Link Protocol

Deep link parsing, building, protocol registration, and terminal launching for claude:// URLs

35 fn·1 dirs

Companion (Buddy) System

Collectible companion sprites with rarity mechanics, speech bubbles, and notification triggers alongside the UI

27 fn·1 dirs

Voice Input System

Voice recording, streaming speech-to-text, microphone permissions, and feature-flag gating for voice mode

23 fn·2 dirs

Task & Plan Management

Todo item schema, ultraplan keyword detection, and plan-mode session polling

13 fn·1 dirs

Help, Memory, and Wizards

Help documentation views, memory file management UI, and reusable wizard dialog framework

13 fn·3 dirs