{"repo":"cablate/claude-code-research","free":true,"listed":false,"github":"https://github.com/cablate/claude-code-research","clone":"git clone https://github.com/cablate/claude-code-research.git","description":"Independent research on Claude Code internals, Claude Agent SDK, and related tooling.","language":"HTML","stars":166,"topics":["claude-agent-sdk","claude-code","mcp","prompt-caching","research","reverse-engineering","system-prompt","token-optimization"],"license":null,"category":"mcp-servers","readme_excerpt":"Claude Code Research Independent research on Claude Code internals. What's in this repo Directory What Source Count ----------- ------ -------- ------- source-code-analysis/ Full architecture reverse-engineering Leaked TypeScript source (v2.1.88) 75 reports reports/ Problem-oriented investigations (cache, cost, injection) Minified npm bundle ( cli.js ) 8 reports Looking for the source code analysis? Go to source-code-analysis/ . Looking for specific bug/cost investigations? Go to reports/ . --- Source Code Analysis ( source-code-analysis/ ) On 2026-03-31, the full source code of Claude Code was exposed via a sourcemap file in the npm registry (discovered by Chaofan Shou, archived by Kuberwastaken and sanbuphy). We performed a 10-domain, 75-report analysis — the most thorough publicly available breakdown of how a production AI coding agent works. Browse all reports → Interactive viewer — open source-code-analysis/index.html in your browser (all 75 reports are embedded, no server needed). Key Findings Domain Reports Highlights -------- --------- ------------ Harness Engineering ⭐ 7 Agent Loop reverse-engineering, 12 transferable harness design principles System Prompt ⭐ 6 Complete 13-section prompt with dynamic assembly logic, 17 prompt engineering patterns Cost & Quota ⭐ 8 Cost envelope, prompt cache break detection (12 causes), Haiku→Opus 37.5x cost gap Tool Definitions 8 All 36 tool prompts, read/write concurrency separation, ant vs public prompt variants Agent Architecture ","default_branch":null,"files":null,"tree":[],"storefront":"/r/cablate","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/cablate/claude-code-research/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}