Hacker News new | ask | show | jobs
by j-conn 68 days ago
What do the session hooks do?
1 comments

- start: invokes `work brief` skill to put the current tasks into context

- pre-compact: does the same so work state survives compaction

- stop: lints the work-tracking yaml files to make sure that updates mid session don't break

Nice. I found myself doing a lot of repetitive stuff handing off between agents, time to fix that. I think I agree with your approach of keeping it lean.

I also sometimes rewind the conversation after going off on a tangent, sometimes not if I want the agent to have the sorts of things I’m thinking about in context. I probably justify keeping too much crud in context than I should