They're really surprisingly robust, and since the meds come in blister packets anyway, even if you just want a couple, just cut off a piece of the plastic/foil and round the corners. Tuck that into one of the wee bags with a clear label if the foil's not showing exactly what the pills are.
I worked away from home. I worked on hard dirty sites, everything from hills to forests, mud to farmlands. I have allergies to insect bites, so the pills were a necessity.
The wee bags work. They keep things as clean as possible without being a burden to carry in a pocket.
Easy to refill, to replace, see exactly what you need, etc.,
Those little bags I mention come in tiny sizes, 3cm square sort of size, as well as larger ones. They are much better quality than the usual mini zip bags.