Relay CLI tool saves Claude session context when rate limited

✍️ OpenClawRadar📅 Published: April 15, 2026🔗 Source
Relay CLI tool saves Claude session context when rate limited
Ad

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 session
  • relay resume - generates a context prompt you can paste into your next Claude session so it picks up right where it stopped
  • relay history - shows past sessions
  • relay 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.

Ad

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

Ad

👀 See Also