With the help of Claude, I created a simple grasshopper utility that does two things that keep scripts organized:
When components are placed on the canvas on top of a group, it automatically becomes part of that group.
The second feature is when a component(s) is dragged onto a group, it also get’s group.
Let me know if you are interested in this and I will share it. Perhaps I can also make this a proper plugin.