Highlights Creation

One option, if you are using OBS, is to use the replay buffer. You can also access this feature programatically. However, I have no experience using the OBS API personally, so I am no help on that front.