Claude Code Research — Development skill for Claude Code
Independent research on Claude Code internals, Claude Agent SDK, and related tooling.
How to install Claude Code Research
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open cablate/claude-code-research and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Claude Code Research does
Independent research on Claude Code internals, Claude Agent SDK, and related tooling.
Alternatives in Development
- How Claude Code Works — Deep dive into Claude Code internals — architecture, agent loop, context engineering, and more 1.9k ★
- Zeroshot — Runs coding agents as a graph: one agent implements, independent agents review, failures go to repair, and not 1.9k ★
- Open ClaudeCode — ClaudeCode related repository 769 ★
README
Claude Code Research
[](./CONTRIBUTING.md)
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/`](./source-code-analysis/). **Looking for specific bug/cost investigations?** Go to [`reports/`](./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](https://x.com/shoucccc), archived by [Kuberwastaken](https://github.com/Kuberwastaken/claude-code) and [sanbuphy](https://github.com/sanbuphy/claude-code-source-code)).
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 →](./source-code-analysis/)**
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 ga |
Related Skills
Crypto Defi Skills
Fourteen independent DeFi agent skill packs for liquidity, Hyperliquid, lending, yield and related workflows.
Research.Relatedwork
Survey prior work into .research/related-work.md AND sharpen the proposal's gap and positioning.
Pi Research
Web research for your agents with smart and safe tooling + knowledge store
Craft Research Verify
Verify existing research findings against independent primary sources. Upgrades confidence from 'sources agree
Perplexity Agent Skill
A agent skill that leverages the Perplexity CLI for web research, deep reasoning, and independent validation.
Boomkin
Your open-source DeFi desk: a local research desk, 31 reviewed workflows and an installer for 17 independent s
Related Agents
Node Tooling Engineer
Builds and fixes skillgate's CLI internals — argument parsing, file discovery, and output formatting. Use for
API Docs Analyst
Use PROACTIVELY for automated API documentation analysis - provides OpenAPI/Swagger spec generation, SDK gener
Claude SDK Navigator
Use this agent when you need to understand, reference, or troubleshoot anything related to the Claude Agent SD