Sure abstraction is worth it. You get code reusability, better unit testing, and faster understanding of the code.
Maybe a small script doesn't need it, but once something starts growing past a few hundred lines you're better off.
A larger script might indeed need it, but knowing when you need abstraction and when you don't is key. In this case, YAGNI.
Is a good time to refactor.
Sure abstraction is worth it. You get code reusability, better unit testing, and faster understanding of the code.
Maybe a small script doesn't need it, but once something starts growing past a few hundred lines you're better off.