claude-code-docs  by seilk

Analysis of leaked Claude Code internal architecture

Created 3 days ago

New!

343 stars

Top 80.8% on SourcePulse

GitHubView on GitHub
Project Summary

This repository archives Korean translations of internal structure analysis documents for Claude Code, derived from a source code leak via npm sourcemaps. It provides technical insights into Claude Code's architecture for developers and researchers interested in understanding its internal workings without direct access to proprietary code.

How It Works

Claude Code runs on Bun with React/Ink for terminal UI. Its core is a continuous agentic loop driven by query.ts, executing tool calls, checking permissions, and aggregating results. Context assembly via context.ts integrates git status, CLAUDE.md, and the current date. A tool system offers ~40 built-in utilities (e.g., BashTool, FileEditTool), while multi-agent orchestration occurs in coordinator/. An on-demand skill system uses markdown files in .claude/skills/, and Bun build-time feature flags (PROACTIVE, KAIROS) enable dead code elimination.

Quick Start & Requirements

This repository serves as a documentation archive and does not contain executable code or a setup process. It presents translated analysis of the Claude Code architecture. The original analysis documentation is available at https://vineetagarwal-code-claude-code.mintlify.app.

Highlighted Details

  • Runtime: Bun + React/Ink for terminal UI.
  • Agentic Loop: query.ts drives sequential tool calls, permission checks, and result aggregation.
  • Context Assembly: context.ts (getSystemContext/getUserContext) integrates git status, CLAUDE.md, and current date.
  • Tool System: ~40 built-in tools (e.g., BashTool, FileEditTool, AgentTool).
  • Multi-agent Orchestration: Team-level parallel execution managed in coordinator/.
  • Skill System: On-demand functionality via .claude/skills/ markdown files.
  • Feature Flags: Bun build-time dead code elimination (e.g., PROACTIVE, KAIROS).

Maintenance & Community

This repository is a translated archive and does not list specific maintenance plans or community channels. The original analysis was performed by the community, and the source documentation link is provided.

Licensing & Compatibility

The license for this documentation archive is not specified. The repository explicitly states it does not contain Anthropic's proprietary source code. Compatibility for commercial use or linking is undetermined due to the unspecified license.

Limitations & Caveats

This repo is a translated archive of community-derived analysis documents, not the original source code. It is based on a leak and does not include Anthropic's proprietary intellectual property. The accuracy and completeness rely on the original community analysis.

Health Check
Last Commit

1 day ago

Responsiveness

Inactive

Pull Requests (30d)
1
Issues (30d)
0
Star History
344 stars in the last 3 days

Explore Similar Projects

Starred by Illia Polosukhin Illia Polosukhin(Author of Transformer; Cofounder of NEAR Protocol), Dax Dax(Core Contributor to opencode, SST), and
1 more.

oh-my-openagent by code-yeongyu

6.2%
46k
LLM agent orchestration for enhanced IDE workflows
Created 4 months ago
Updated 1 day ago
Starred by Li Jiang Li Jiang(Coauthor of AutoGen; Engineer at Microsoft), Dan Guido Dan Guido(Cofounder of Trail of Bits), and
7 more.

claw-code by ultraworkers

N/A
129k
Agent harness engineering framework
Created 4 days ago
Updated 2 days ago
Feedback? Help us improve.