So I have a Hunter 2009 41DS, and as noted earlier - primarily SAE but definitely need some metric for the Yanmar and the Selden mast stuff.
If starting from scratch, I would just buy one of those automotive sets that includes both.
Just go cheap on the automative base kit and then get better quality for other items.
For the Yanmar, if I recall correctly there are some sockets that are needed in deep well version. You may also want to consider picking up a long 3/8" ratchet handle to go with it as probably what is in the automotive toolkit may not be enough.
For Selden there are a few specialty star-type (I believe that also have a tiny hole in the center) you will need. I ended up buying this, then after I did a full greasing on the jib roller furling identified and bought the two I needed which I keep in the regular tool bag with this little kit safely stored away as spares/emergencies, or if I ever come across something unusual elsewhere.
One tool, along with some assorted extensions (including flexible and the extensions that will take a driver bit not a socket) I have found this extremely handy for cramped spaces attached as a pic - looked on Amazon but they seem to have a picture of a USB-C computer adapter for it right now even with the right info descriptions and reviews. Anyway - this little puppy takes a 1/4" socket/extender on one side, and a typically driver bit on the other. It has been invaluable from time to time in cramped spaces and feels good in the hands even though it is tiny. Even with this, picking up a 'shorty' Phillips and regular screwdriver to complement the auto-style kit is advisable.
Another thing often overlooked is nut drivers. It so much easier to deal hose clamps with a nut driver than a screw driver. Makes the work less frustrating which even after the effort of going and finding the nut driver, speeds it up and you will get hose clamp tensions more uniform.
Then there is the other stuff - for rope cutting, I just have a pretty hefty soldering iron and got some cutter blades for it. A round piece of plywood that I cut and wrap with kitchen tinfoil to cut against. Works fine for the little bit of line cutting/seizing I do and way better than scissors and a knife. Again - for me anyway, having the work being less frustrating is a big part of my justification for tools. If I was a full-time rigger, definitely would want something better.
Then there is 12-volt DC equipment - connectors, crimper tool, shrink wrap, heat gun, multi-meter; all of which and many other things can be picked up later on as needed.
Oh - oil filter straps. Useful for oil filters, fuel filters, seawater intake strainer, etc.