Claude Cloud Session Context Solution
invocation02 · reddit · 2026-07-15
The author shares a DIY setup to make Claude's cloud computer genuinely usable, split into two core parts:
- A "context repo" serving as the starting context for all cloud sessions, containing:
- CLAUDE.md: Explains repository relationships, conventions, and workflows
- .gitmodules: Pins member repositories by reference without copying code
- sessions/: Logs what the agent did in each session for seamless continuity next time
- skills/: Equips every cloud launch with necessary skills
- A self-hosted web page that uses claude.ai/code URL parameters to automatically generate launch links for the context repo and multiple related repos, opening the composer with everything preloaded in one click.
Additional points mentioned:
- Private repositories can also be loaded with full git history
- Access is handled via Anthropic's GitHub integration without exposing tokens/credentials
- Running sessions report back their status, allowing the page to uniformly display working/idle/completed sessions
- Tasks currently need to be broken down into smaller, inspectable chunks, as long tasks consume plan quotas
- Future plans include letting agents submit PRs directly to the context repo after learning, and migrating this approach to Codex cloud
The author expresses willingness to open-source this self-hosted web page.
Related event: Custom Context Repo Enhances Claude Cloud(2 posts)→
More from coding & agent
- HeyGen adds a media-sourcing skill for coding agents with 75k images and 10k tracks — HeyGen · 2026-07-22
- Agent search bottlenecks are now about variance, not raw latency — rohanpaul_ai · 2026-07-22
- LangSmith adds tracing for Pipecat, LiveKit, OpenAI Realtime, and Gemini Live — LangChain · 2026-07-22
- An MCP server signs every AI agent tool call into a verifiable Merkle chain — Funky_Chicken_22 · 2026-07-22
- Annotated transcript of a Claude Code team interview is now available — trq212 · 2026-07-22
- Claude Code skill uses 10 Markdown rules to make outputs ADHD-friendly — alex_verem · 2026-07-22