Skip to content

Instantly share code, notes, and snippets.

@thamam
thamam / dual-claude-setup.md
Created April 5, 2026 16:07
Dual Claude Code setup (work + personal) with direnv

Dual Claude Code Setup: Work + Personal Accounts with direnv


Section 1: The Problem and The Solution

Claude Code stores authentication, settings, conversation history, and project metadata in ~/.claude. If you use two accounts — say, a personal Max subscription and a work team account — both compete for the same config directory. You need a way to keep them separate.

The solution has two parts:

@thamam
thamam / llm-wiki-engineers-physicists.md
Created June 4, 2026 17:48
LLM Wiki for engineers & physicists (adapted from Karpathy's llm-wiki)

LLM Wiki — a second brain for engineers and physicists

A focused adaptation of Andrej Karpathy's llm-wiki pattern, narrowed to one audience: people who work with papers, equations, models, experiments, and code and who lean on AI — Claude Code, mainly — to do it.

This is an idea file. Paste it into your agent and build the wiki together. It describes the pattern; your agent fills in the specifics in collaboration with you. Everything here is the minimum that works — no future-proofing, no extras.


The problem with chat + RAG