Relay CLI tool saves Claude session context when rate limited

Relay is a Rust CLI tool that solves context loss when Claude sessions get interrupted by rate limits. It reads Claude's .jsonl session transcripts from disk and creates complete snapshots of your session state.
What Relay does
The tool was built after a developer lost 45 minutes of context when their Claude session was interrupted at 6:20 PM with a 7 PM deadline. The interruption meant losing track of edited files, debugging errors, and decisions made during the session, leading to wasted time rebuilding context and introducing bugs.
Commands and features
relay status- shows exactly where you left off in your sessionrelay resume- generates a context prompt you can paste into your next Claude session so it picks up right where it stoppedrelay history- shows past sessionsrelay diff- shows what changed between sessions
The tool saves session snapshots that include your conversation, tool calls, todos, git state, errors, and everything else from your Claude session. You can save these snapshots, copy them to clipboard, or load them into a new Claude session when your rate limit resets.
Technical details
Relay has 32 tests passing, GitHub Actions CI, and proper releases. The entire tool was built in a Claude code session. It's free and open source under the MIT license.
This type of tool is useful for developers who work with AI coding assistants and experience context loss between sessions, particularly when dealing with rate limits or session interruptions during critical work periods.
📖 Read the full source: r/ClaudeAI
👀 See Also

Self-Maintaining Documentation System Using Fenced Blocks for Zero Drift
A developer built a bash script that extracts structured data directly from source files and injects it into CLAUDE.md through fenced HTML comment blocks, ensuring documentation stays in sync with code without manual maintenance.

Google Workspace CLI includes OpenClaw setup guide in documentation
Google's new gws (Google Workspace CLI) documentation explicitly mentions OpenClaw setup by name in a dedicated section for AI agent skills. This follows recent discussions about Google reviewing account suspensions for AI agents.

MCP Server Tracks Known Bugs in Dev Tools to Improve LLM Recommendations
nanmesh-mcp is an MCP server that crawls GitHub Issues, Stack Overflow, and Reddit to track real problems in 57 development tools, providing LLMs with current bug data before making library recommendations.

Claudetop: Real-Time Cost Monitoring for Claude Code Sessions
Claudetop is an htop-like tool that shows real-time spending, cache efficiency, and model comparisons for Claude Code sessions. It provides slash commands like /claudetop:stats and smart alerts for cost milestones and efficiency issues.