You buy a box of grub screws, or ordinary machine screws in whatever size is common wherever you are. They come in handy any time you have a pulley slipping on a shaft, or need to make something lockable but removable from a slot or hole. If you have a piece of equipment that has screws you use a lot, try to get that size.
In the same box as the screws, keep a drill / tap to match. I use a hex bit that has the drill and tap incorporated into a single carbide tool so drill and tap is done in a single operation.
https://www.harborfreight.com/sae-drill ... 95528.html I prefer #6 - 32 which is an SAE screw size roughly 6/32" diameter and 32 threads per inch. I have lots of hardware on hand in that size so I can keep a small portable tool kit for most things I make. M4 is probably a good metric size but I have very few metric drill bits.
I keep some aluminum stock on hand for odd projects. 80/20 extrusion in various sizes, 5mm x 10mm rectangle bar because it fits the T track slots on my chair. 1" x 1/4" rectangle bar because it is available at all hardware stores and I made my chair arms out of it. But any kind of wood works as well. Dense hardwood is better. Soft pine tends to strip easily. If using wood for small items put the screw in the end grain. Usually avoid end grain for larger items. Steel works too if you have some scrap around. It just takes more time to drill and cut, and wears tools out faster.
Pick the piece of stock based on the diameter of the drill to make a stop for. Stock must have a flat face larger than drill diameter. Leave the stock long to begin with so it is easy to hold or clamp onto.
Pick a spot on that face to drill a hole with the bit which you are making a stop for.
Pick a face perpendicular to the one you just drilled. Now use your drill / tap from the fastener box to make a threaded hole in that face which intersects the first hole. Its ok to miss a little. It will still work.
Now use a saw to separate the stop you just made from the remainder of the stock.
Put the stop onto the drill bit at the correct depth, tighten the screw.
It sounds like a lot of work when you write it out, but its much quicker than a trip to the hardware store and lower effort than loading and unloading wheelchair in a vehicle twice.