{"adoption": {"forks": 572, "observed_at": "2026-08-28T04:05:21.713867+00:00", "stars": 1682}, "canonical_url": "https://ross.abutalabs.com/products/claude-code-source-study", "card": {"archived": false, "artifact_type": "learning-resource", "description": "Deep dive into Claude Code's source code— learn from the best agent implementation out there.", "domain": ["developer-tools", "tutorials", "large-language-models"], "enriched": true, "function": ["developer-tools", "agent-framework", "mcp", "cli", "prompt-engineering"], "health_score": 71, "homepage": null, "language": "TypeScript", "license": "MIT", "license_family": "permissive", "maturity": "active", "member_repos": ["luyao618/Claude-Code-Source-Study"], "name": "luyao618/Claude-Code-Source-Study", "platform": ["cli", "cross-platform"], "pushed_at": "2026-06-03T08:06:23+00:00", "repo": "luyao618/Claude-Code-Source-Study", "stars": 1682, "tags": ["source-code-analysis", "claude-code", "ai-coding-agents", "reverse-engineering", "architecture-deep-dive", "chinese-language", "ai-agents", "command-line", "nodejs"], "topics": [], "urls": [], "use_cases": ["learn how to build AI agent applications from a production codebase", "understand how Claude Code implements its agent loop and tool system", "study system prompt engineering and prompt caching techniques", "learn multi-agent orchestration and sub-agent design patterns", "understand MCP protocol implementation in a real product", "study terminal UI and CLI cold-start optimization techniques"], "what_it_is": "A 34-chapter deep-dive study guide analyzing the source code of Anthropic's Claude Code CLI agent, written primarily in Chinese. It dissects the production TypeScript codebase file-by-file, covering system prompt engineering, multi-agent orchestration, tool systems, security, IPC, and terminal UI, extracting reusable design patterns.", "when_to_avoid": ["you need runnable software rather than documentation", "you want an official Anthropic reference or English-only material", "you are looking for a beginner-friendly introduction to AI agents"], "when_to_choose": ["you want to learn agent architecture from a real production AI coding product", "you are building your own AI coding assistant or CLI agent", "you prefer detailed line-by-line source analysis over high-level overviews", "you read Chinese and want a comprehensive guide to Claude Code internals"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/claude-code-source-study", "repo": "luyao618/Claude-Code-Source-Study", "role": "main", "score": 52}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:05:21.713867+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T03:41:22.910092+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6c89e4272701d9aa9dfa4889db7c93c044cf8309850d66dffabdb101b4e56998", "fetched_at": "2026-08-28T04:05:21.713867+00:00", "kind": "readme", "missing": false, "url": "https://github.com/luyao618/Claude-Code-Source-Study"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:05:21.713867+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T03:41:22.910092+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6c89e4272701d9aa9dfa4889db7c93c044cf8309850d66dffabdb101b4e56998", "fetched_at": "2026-08-28T04:05:21.713867+00:00", "kind": "readme", "missing": false, "url": "https://github.com/luyao618/Claude-Code-Source-Study"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T03:41:22.910092+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6c89e4272701d9aa9dfa4889db7c93c044cf8309850d66dffabdb101b4e56998", "fetched_at": "2026-08-28T04:05:21.713867+00:00", "kind": "readme", "missing": false, "url": "https://github.com/luyao618/Claude-Code-Source-Study"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:05:21.713867+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:05:21.713867+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:05:21.713867+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T03:41:22.910092+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6c89e4272701d9aa9dfa4889db7c93c044cf8309850d66dffabdb101b4e56998", "fetched_at": "2026-08-28T04:05:21.713867+00:00", "kind": "readme", "missing": false, "url": "https://github.com/luyao618/Claude-Code-Source-Study"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:05:21.713867+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:05:21.713867+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T03:41:22.910092+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6c89e4272701d9aa9dfa4889db7c93c044cf8309850d66dffabdb101b4e56998", "fetched_at": "2026-08-28T04:05:21.713867+00:00", "kind": "readme", "missing": false, "url": "https://github.com/luyao618/Claude-Code-Source-Study"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:05:21.713867+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:05:21.713867+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:05:21.713867+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T03:41:22.910092+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6c89e4272701d9aa9dfa4889db7c93c044cf8309850d66dffabdb101b4e56998", "fetched_at": "2026-08-28T04:05:21.713867+00:00", "kind": "readme", "missing": false, "url": "https://github.com/luyao618/Claude-Code-Source-Study"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:05:21.713867+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:05:21.713867+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T03:41:22.910092+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6c89e4272701d9aa9dfa4889db7c93c044cf8309850d66dffabdb101b4e56998", "fetched_at": "2026-08-28T04:05:21.713867+00:00", "kind": "readme", "missing": false, "url": "https://github.com/luyao618/Claude-Code-Source-Study"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T03:41:22.910092+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6c89e4272701d9aa9dfa4889db7c93c044cf8309850d66dffabdb101b4e56998", "fetched_at": "2026-08-28T04:05:21.713867+00:00", "kind": "readme", "missing": false, "url": "https://github.com/luyao618/Claude-Code-Source-Study"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T03:41:22.910092+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6c89e4272701d9aa9dfa4889db7c93c044cf8309850d66dffabdb101b4e56998", "fetched_at": "2026-08-28T04:05:21.713867+00:00", "kind": "readme", "missing": false, "url": "https://github.com/luyao618/Claude-Code-Source-Study"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T03:41:22.910092+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6c89e4272701d9aa9dfa4889db7c93c044cf8309850d66dffabdb101b4e56998", "fetched_at": "2026-08-28T04:05:21.713867+00:00", "kind": "readme", "missing": false, "url": "https://github.com/luyao618/Claude-Code-Source-Study"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 85, "longevity": 10, "rhythm": 35}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": ["no_releases", "young"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 153, "days_push": 91, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 52, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}