You can attach small magnets to the back with CA glue. - easy to slide the pencil in and out, sticks well to the front of a metal workbench cabinet for easy access. Some non-slip tape on a couple of the magnets helps it to stick better.
The author remixed this model.
Remixed to make it easier to slide into the holder, as well as to mount to a metal surface with magnets.