Modvigil is a generic brand name of HAB Pharmaceuticals Ltd. A drug called modafinil. Modafinil is very similar to armodafinil, a drug that promotes alertness, alertness, concentration and cognitive function. It is also used to treat excessive sleepiness caused by sleep apnea, narcolepsy, and shift work sleep disorders.