I understand but that’s not how I think when I develop something.
I usually try to find a tool, library, program or functionality that is missing. If I find something that does that already, I use it. If it is missing something or is not perfect, I try to contribute to it.
I strongly believe in joining efforts to build better tools and that software quality can soffer from too high fragmentation.
If it’s only for your self I would write a nix module that does everything you need, then import the module in the system configuration. If you want to enable/disable it all you need is to add/remove one line in the imports section.