My take: It's a powerful brain med, and it's too new and too dangerous for someone with epilepsy to take without specific recommendation and supervision of a specialist. Since Provigil is meant to keep people awake (for treating narcolepsy), I think it doesn't make a whole lot of sense for someone with epilepsy to try it. Its use as a "cognitive-enhancing agent" is "off-label", which means it's not officially tested or endorsed by the drug manufacturer for that purpose. PLUS, in the U.S. it's classified as a controlled substance and its availability is restricted, due to concerns about possible addiction potential.
And below are the Side Effects (from wikipedia):
"One-third of participants in clinical trials reported experiencing headaches; 11% reported nausea; other negative side-effects such as nervousness, diarrhea, insomnia, anxiety, dizziness, and gastrointestinal problems were reported by less than 10% of participants.
Rare occurrences have been reported of more serious adverse effects, including severe skin rashes and other symptoms that are probably allergy-related. From the date of initial marketing, December 1998, to January 30, 2007, the US Food and Drug Administration received six cases of severe cutaneous adverse reactions associated with modafinil (provogil), including erythema multiforme (EM), Stevens–Johnson syndrome (SJS), toxic epidermal necrolysis (TEN), and DRESS syndrome, involving adult and pediatric patients. The FDA issued a relevant alert. In the same alert, the FDA also noted that angioedema and multi-organ hypersensitivity reactions have also been reported in postmarketing experiences.[30] In 2007, the FDA ordered Cephalon to modify the Provigil leaflet in bold-face print of several serious and potentially fatal conditions attributed to its use, including TEN, DRESS syndrome, and SJS. European Medicines Agency has recommended that new patient prescriptions should only be to treat sleepiness associated with narcolepsy.
The long term safety and effectiveness of modafinil (provogil) have not been determined.
Modafinil (Provigil) may have an adverse effect on hormonal contraceptives for up to a month after discontinuation."