copied from various sites...
Feeds on sea stars; detects prey by scent. The large, flattened claws are used to dislodge and turn over the sea star, which is eaten from the tips of the arms inward. It can take up to a week for a pair of these shrimp to eat a sea star.
-----------------------------------------------------
Moderate lighting and temperatures between 72 and 78 degrees Fahrenheit (23 to 26 degrees Celsius) are acceptable for Harlequin Shrimp. A pH value of 8.3 or 8.4 and a specific gravity between 1.023 and 1.025 are also ideal. Levels of iodine should be maintained to avoid problems with molting. Copper based medications should not be used in tanks where Harlequin Shrimp are housed. Extreme nitrate levels are also unacceptable. Harlequin Shrimp are best kept in pairs, and should not be kept with sea stars or urchins that are not intended to be food. Plenty of hiding places should be provided, and substrates should be made of rocks or coral rubble. Harlequin Shrimp should be fed a diet of sea stars, as this is their natural nourishment. Some will accept other food items in captivity. It is widely agreed that Linckia species are ideal for juvenile Harlequin Shrimp, while adults are usually offered the species Asterias rubens.
-----------------------------------
The Harlequin Shrimp's diet consists solely of the tube feet of Echinoderms in the Starfish Family. In Hawaiian waters we know that when you find a Harlequin Shrimp, the small Linkia species of Comet or Blood Spotted Starfish will usually be close by. This is its primary food source, but in some rare cases the Harlequin may accept other aquarium foods. Unless you have a good supply of starfishes for this shrimp to live on, and they are not particular of what kind, it does not do well in captivity. Don't keep any prized starfishes in the same tank with it.