I tried training a classifier, then found a better solution.
Your Claude session didn't have to die that fast. You just let it!