Tip: Use rtk as a Transparent Hook to Extend Agent Sessions 3x Before Hitting Context Limits
rtk-ai·medium signal
Install rtk and it hooks into your agent's Bash tool transparently — the agent never sees the rewrite, just compressed output. A pytest -v suite drops from ~750 tokens to ~24 tokens. A git log drops similarly. The practical effect: sessions last 3x longer before 'context full' or requiring a /clear that loses the agent's reasoning thread. Configure via rtk init in your project root; works with Claude Code, Cursor, Codex, and Aider out of the box.