logoalt Hacker News

d4rkp4tternlast Saturday at 9:20 PM0 repliesview on HN

Context filling up is sort of the Achilles heel of CLI agents. The main remedy is to have it output some type of handoff document and then run /compact which leaves you with a summary of the latest task. It sort of works but by definition it loses information, and you often find yourself having to re-explain or re-generate details to continue the work.

I made a tool[1] that lets you just start a new session and injects the original session file path, so you can extract any arbitrary details of prior work from there using sub-agents.

[1] aichat tool https://github.com/pchalasani/claude-code-tools?tab=readme-o...