How cnidocytes work?
A cnidocyte is a poison-loaded harpoon connected to a pressure plate, implemented at the microscale level in a cell. Something triggers the plate, the harpoon jets out. Simple enough.