Skip to content

Instantly share code, notes, and snippets.

@Haseeb-Qureshi
Haseeb-Qureshi / claude-code-harness-deep-dive.md
Created March 31, 2026 21:26
Inside the Claude Code source

Inside the Claude Code source

Anthropic's Claude Code CLI source code leaked onto GitHub recently. All of it. About 1,900 files and a lot of TypeScript.

I read through the key modules. What follows is a breakdown of the surprising parts: how the system actually works, where Anthropic made clever engineering choices, and where their approach diverges from OpenAI's Codex in ways you wouldn't guess from using either tool.

Lifecycle of a request

Here's what happens when you type a message into Claude Code:

@sakydev
sakydev / proxy_rotation_for_scrapy.py
Last active March 1, 2023 12:34
py+scrapy: simple proxy rotation with python
import random, logging
from datetime import datetime, timedelta, date
class ProxiesRotation(object):
"""docstring for ProxiesRotation"""
def __init__(self, directory):
super(ProxiesRotation, self).__init__()
self.proxies = []
self.forbidden_proxies = []
self.directory = directory
self.usedProxies = {}
@michenriksen
michenriksen / subdomains.lst
Last active July 2, 2026 11:02
Subdomain list for bruteforcing
0
01
02
03
0_
1
10
100
101
102