Ruger 10/22 Magazine Wrench
This is a remix of one available on Cults and Printables (same guy). I'll link them below. Anyway, on his design, you had to use your fingernail to try to push the nut into the side plate after you wound the spring. This is kind of awkward. At first I decided I'd make a through-hole to use an object or 3D print a stem. Then I was thinking, why not use a .22 cartridge since you'd probably have one available if you're messing with a .22 magazine. The hole size is 5.8mm, which should accommodate a .22 cartridge, however, I may have a worn nozzle so mine were printing undersize. I would drill it out with a 15/64" drill bit and that made it a good fit. Give it a try and good luck.
Original work:
https://cults3d.com/en/3d-model/tool/ruger-10-22-mag-wrench
https://www.printables.com/model/486909-ruger-10-22-mag-wrench