logoalt Hacker News

superasnyesterday at 9:32 PM4 repliesview on HN

Recently I came across the /handoff skill, which I've been using a lot. I find it much better than /compact.

Basically:

- /handoff file creates a short document with the important context from your current session and maybe next steps as checklist.

- You can then start a fresh session with /continue file

- You can also hand the work from Claude to ChatGPT, or the other way around. Very useful at time of session limits.

- Plus your handoff files becomes a useful piece of project memory that you can reference later.

I find this much more useful than /compact or /clear because the context is saved in something portable instead of being tied to one session and i've seen better results doing this every 20 messages or so than running long sessions.


Replies

3371today at 4:17 AM

> Plus your handoff files becomes a useful piece of project memory that you can reference later.

I've been doing this since I started agentic development, and have a whole framework based on this; Simply put I define workflow s that output templated files for everytype of tasks that happens in development.

It's a powerful pattern I'd recommend everyone.

show 2 replies
devoidfurytoday at 6:01 AM

I like the handoff flow so much I built it into my agent as a native tool; and going to add it as a auto compaction strategy as well.

sjanesyesterday at 11:07 PM

/handoff is the skill I use when I plainly are about to run out of token budget to give to a different harness system. Using this to avoid long sessions is something I will need to try, plus maybe "caveman" mode to cull the verbosity.

ls612yesterday at 9:56 PM

I have been doing this a lot even without a skill, having Fable write a planning document, then spawning an Opus subagent with instructions to strictly follow the plan and report any deviance at the end. It also helps that then the plan is always saved in an md file so any future agent can look at it and see what happened.

show 1 reply