← Back to wkappbot-workflow
wkappbot-workflow ★★☆

# claude-proxy: Context Limit Auto-Handoff to Gemini Agent

When Claude hits context limit, claude-proxy intercepts the error and hands off to wkappbot agent gemini --new-session with CLAUDE.md + MEMORY.md + original prompt. Subsequent prompts relay via --interrupt. Claude Code sees no error.

user/developer
claude-proxy handoff context-limit gemini agent proxy session-recovery operator

## Steps

1. Setup: wkappbot claude-proxy --inject-contex...
2. Normal operation: proxy is transparent glass...
3. Context limit hit: proxy intercepts context_...
4. Handoff: proxy spawns wkappbot agent gemini...
5. Relay mode: proxy enters Gemini relay mode....
6. Weekly API limit (all Anthropic models block...
7. Claude Code UX: no error shown. Sees normal...
8. Manual trigger: wkappbot agent gemini --new-...