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:

@xorrior
xorrior / wmic_cmds.txt
Last active April 20, 2026 09:37
Useful Wmic queries for host and domain enumeration
Host Enumeration:
--- OS Specifics ---
wmic os LIST Full (* To obtain the OS Name, use the "caption" property)
wmic computersystem LIST full
--- Anti-Virus ---
wmic /namespace:\\root\securitycenter2 path antivirusproduct

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@retlehs
retlehs / backlinks.sh
Created April 17, 2026 15:54
Backlinks for any domain via Common Crawl
@wiz0u
wiz0u / MessageEffectIds.txt
Created September 25, 2025 00:56
Telegram Bot API - All message_effect_id values
πŸ‘ 5107584321108051014 animated effect
πŸ‘Ž 5104858069142078462 animated effect
❀ 5159385139981059251 animated effect
πŸ”₯ 5104841245755180586 animated effect
πŸŽ‰ 5046509860389126442 animated effect
πŸ’© 5046589136895476101 animated effect
πŸ₯° 5170169077011841524 animated effect
πŸ‘ 5170166362592510656 animated effect
😁 5048771083361059460 animated effect
πŸ€” 5170257231215591956 animated effect
@alexedwards
alexedwards / Makefile
Last active April 20, 2026 09:28
Boilerplate Makefile for Go projects
# Change these variables as necessary.
main_package_path = ./cmd/example
binary_name = example
# ==================================================================================== #
# HELPERS
# ==================================================================================== #
## help: print this help message
.PHONY: help