Skip to content

Instantly share code, notes, and snippets.

View robertangeles's full-sized avatar

Rob Angeles robertangeles

View GitHub Profile
@robertangeles
robertangeles / Shared Context.md
Created May 3, 2026 04:09
Claude Code Shared Project Context

How I Made Two Claude Code Sessions Talk to Each Other

Running Claude Code across two repos sounds like no big deal. It is, though. Once sessions start drifting apart, you spend your time copy-pasting API shapes between terminals and re-explaining architecture you laid out two sessions ago. Neither session knows what the other did yesterday.

There are open feature requests on the Claude Code repo asking Anthropic to solve this natively. Until they do, here is a solution that works today.

All 9 sample files are at https://github.com/robertangeles/code-shared-context — clone, swap the examples for your own stack, and you're set.

I ran into this while building a mobile app alongside a web backend. Each repo had its own Claude Code session. The backend would add a route, and the mobile session wouldn't hear about it until I manually bridged the gap. Eventually both sessions diverged into describing different versions of the same system.

LLM Wiki Setup Instruction for Claude Code

How to use this file: Open your Claude Code project, paste everything below the horizontal rule into the Claude Code chat, and let it run Step 1 before touching anything.

Reference: This wiki follows the LLM Wiki pattern by Andrej Karpathy: https://gist.github.com/karpathy/442a6bf555914893e9891c11519de94f Published April 4, 2026.